Zum Inhalt
Menu

← Alle Endpunkte

API für Kraftstoffsortennamen Online

Die Namenstabelle hinter allen Kraftstoffprodukten: unsere kanonischen Sortencodes und wie jede Sorte an der Zapfsäule in 41 europäischen Ländern heißt — ON in Polen, Nafta in Tschechien, Gázolaj in Ungarn, Motorină in Rumänien, ДП in der Ukraine, Motorin in der Türkei. Jeden Namen aus dieser Tabelle akzeptiert der Parameter fuel_type der übrigen Kraftstoffprodukte; aufgelöst wird zuerst nach Land: „95“ ist E10 an einer dänischen und E5 an einer polnischen Zapfsäule.

GET https://nakordoni.eu/api/v2/data/fuel-grades — Kontingentklasse: cheap

ParameterBeschreibung
countryOptional ISO-2 filter — return just that country's local names instead of all 41 (PL, DE, UA, TR, MD, …). 404 when the country is not in the table.
fuel_typeOptional probe: resolve one name in the context of `country` and report the canonical grade under `resolved` (e.g. country=PL&fuel_type=ON → diesel; country=DK&fuel_type=95 → e10; country=PL&fuel_type=95 → e5). null means we could not place it.

Antwortfelder — innerhalb des data-Objekts im Antwortumschlag. [] steht für eine Liste, data.items[].name ist also das Feld name jedes Elements. Ein Feld ist null, fehlt oder ist eine leere Liste, wenn wir keinen Wert dafür haben — nie ein Platzhalter.

FeldBeschreibung
data.grades[].codeCanonical grade code — the value fuel_type takes in every fuel product.
data.grades[].labelPlain-English description of the grade.
data.grades[].familydiesel | petrol | gas | other.
data.grades[].station_leveltrue when station feeds report this grade anywhere; false means it only ever appears in national averages.
data.countriesKeyed by ISO-2 country, then by grade code, valued with that country's names for it. The first name in each list is the one to show a driver.
data.countHow many countries the answer covers (41 unfiltered, 1 with ?country=).
data.resolvedOnly with ?fuel_type=: requested, country, grade (null when we cannot place the name), label and local_name.
data.noteHow resolution works, in one paragraph — safe to show to your users.
curl "https://nakordoni.eu/api/v2/data/fuel-grades?country=PL&fuel_type=ON" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Melden Sie sich als Entwickler an, um diesen Endpunkt live in der Sandbox auszuprobieren — 50 kostenlose Testaufrufe pro Tag. Anmelden