Documentation
For engineers integrating after signup. Plan pricing and trials are on the product overview.
HTTPS JSON API with three access levels — Live, Intelligence, and Transparency. All plans can call any endpoint; each request consumes credits from your monthly pool based on the access level used. Included credits reset on billing date.
Send the secret key in the X-Api-Key header on every request. Create keys in the account dashboard after subscribing. The full key is shown once at creation.
curl -s \
-H "X-Api-Key: tkm_live_..." \
"https://api.tanktrasa.com/v1/prices/current?country=PL&fuelType=unleaded&limit=10"Revoke a key immediately if it leaks. Usage is limited by your credit pool and optional overage settings.
Live, Intelligence, and Transparency are the three access levels. Any subscribed account may call any level; deeper levels consume more credits per request.
Standard
LiveCurrent prices and station search.
100 credits per request
Professional
IntelligenceFused prices, regional stats, and quality scores.
300 credits per request
Enterprise
TransparencySource-level observations and explain traces.
2,500 credits per request
Machine-readable specs for codegen, contract tests, and API clients. The OpenAPI file describes all public Data API paths; the Postman collection includes ready-made requests grouped by access level.
Postman setup
JavaScript (fetch)
const response = await fetch(
"https://api.tanktrasa.com/v1/prices/current?country=PL&fuelType=unleaded&limit=10",
{ headers: { "X-Api-Key": process.env.TANKOMAT_API_KEY! } },
);
const data = await response.json();Interactive reference
Browse endpoints, inspect response schemas, and try requests (Authorize → X-Api-Key). Try it out calls are proxied via this site to avoid browser CORS limits.
Paths are relative to the API host. Query parameters vary — the examples use common filters only.
| Access | Method | Path | Summary |
|---|---|---|---|
| LiveStandard | GET | /v1/prices/current | Latest price per station |
| LiveStandard | GET | /v1/stations | Stations in a bounding box |
| IntelligenceProfessional | GET | /v2/prices/fused | Fused price + confidence |
| IntelligenceProfessional | GET | /v2/prices/compare | Side-by-side price views |
| IntelligenceProfessional | GET | /v2/market/region | Regional price stats |
| IntelligenceProfessional | GET | /v2/meta/station-quality | Station quality score |
| TransparencyEnterprise | GET | /v3/observations | Observations by source |
| TransparencyEnterprise | GET | /v3/prices/fused | Fused price with sources |
| TransparencyEnterprise | GET | /v3/trust/sources | Source trust profile |
| TransparencyEnterprise | GET | /v3/explain/price | Why this price won |
Each HTTP request consumes credits based on the access level you call. Included credits reset monthly. When the pool is empty, requests fail unless overage is enabled.
Example: 1,000 Intelligence calls use 300,000 credits (300 credits per call). One Transparency call uses 2,500 credits.
Enable overage in the dashboard to keep calling after included credits are used. Overage appears on your monthly invoice. You can set a EUR spend cap and optional email alerts.
When showing prices to end users, credit TankTrasa and comply with upstream source licences. Contact sales before redistributing raw API responses or offering white-label data.
Billing and contracts: sales@tankomat.app. Integration help: include the endpoint, approximate time, and any error body from the response.