Skip to main content
Menu

← Tüm uç noktalar

Yakıt türü adları API Online

Tüm yakıt ürünlerimizin dayandığı ad tablosu: kanonik yakıt kodlarımız ve her yakıtın Avrupa’nın 41 ülkesinde pompada taşıdığı ad — Polonya’da ON, Çekya’da Nafta, Macaristan’da Gázolaj, Romanya’da Motorină, Ukrayna’da ДП, Türkiye’de Motorin. Tablodaki her adı diğer yakıt ürünlerinin fuel_type parametresi kabul eder ve ad önce ülkeye göre çözümlenir: “95” bir Danimarka pompasında E10, bir Polonya pompasında E5 demektir.

GET https://nakordoni.eu/api/v2/data/fuel-grades — kota sınıfı: cheap

ParametreAçıklama
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.

Yanıt alanları — yanıt zarfındaki data nesnesinin içinde. [] bir listeyi gösterir; yani data.items[].name her öğenin name alanıdır. Değerimiz olmayan bir alan null olur, hiç bulunmaz ya da boş liste döner — asla yer tutucu koymayız.

AlanAçıklama
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"
🔑 Bu uç noktayı sanal alanda canlı denemek için geliştirici olarak giriş yapın — günde 50 ücretsiz test çağrısı. Giriş yap