Tankerkoenig
German realtime gas/diesel prices
- Authentication
- API Key
- HTTPS
- Yes
- CORS
- Yes
- Category
- Transportation
- Documentation / URL
- https://creativecommons.tankerkoenig.de/swagger/
Overview
Tankerkoenig provides German fuel prices — key-based (a missing key returns HTTP 200 with an error body, verified).
Quick Start
Stations (replace YOUR_KEY):
curl "https://creativecommons.tankerkoenig.de/json/list.php?lat=52.5&lng=13.4&rad=5&sort=price&type=e5&apikey=YOUR_KEY"
{ "status": "error", "ok": false, "message": "apikey nicht angegeben, falsch, oder im falschen Format" }
Authentication
- Register at tankerkoenig.de → API key.
- Send it as the
apikeyquery parameter.
⚠️ Gotcha (verified): a missing key returns HTTP 200 with an error body — check
ok.
Rate Limits & Notes
- Free tier with limits (check the docs).
- German gas/diesel prices.
FAQ
Is Tankerkoenig free? Free tier with limits; more is paid.
Why 200 with an error?
Missing keys return 200 + error body (verified) — check ok.
What’s the auth style?
apikey query parameter.
More in Transportation
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| ADS-B Exchange Access real-time and historical data of any and all airborne aircraft | No auth | Yes | Unknown | ↗ |
| airportsapi Get name and website-URL for airports by ICAO code | No auth | Yes | Unknown | ↗ |
| AIS Hub Real-time data of any marine and inland vessel equipped with AIS tracking system | API Key | No | Unknown | ↗ |
| Amadeus for Developers Travel Search - Limited usage | OAuth | Yes | Unknown | ↗ |
| apilayer aviationstack Real-time Flight Status & Global Aviation Data API | OAuth | Yes | Unknown | ↗ |