Skip to content

Tankerkoenig API

API keyHTTPSCORSTransportation
Open documentation ↗

Overview

German realtime gas/diesel prices

Tankerkoenig is a transportation API. Requests are authenticated with an API key. It is served over HTTPS and allows browser requests (CORS).

At a glance

Authentication
API key
HTTPS
Yes
CORS
Yes

Questions

Does the Tankerkoenig API need an API key?

Yes. The Tankerkoenig API uses API key authentication; the documentation explains how to get credentials.

Can I call the Tankerkoenig API from the browser?

Yes. The Tankerkoenig API sends CORS headers, so a web page can call it directly with fetch().

Does the Tankerkoenig API support HTTPS?

Yes, the Tankerkoenig API is served over HTTPS.

What are alternatives to the Tankerkoenig API?

Other Transportation APIs include airportsapi, Transport for London, England, Uber, Transport for Spain, Amadeus for Developers.

Compare alternatives →

Listed from public-apis (MIT), public-apis database (MIT).