Skip to main content
Menu

← Tutti gli endpoint

API dei nomi dei carburanti Online

La tabella dei nomi su cui si reggono tutti i prodotti carburante: i nostri codici canonici e il nome che ogni carburante porta alla pompa in 41 paesi europei — ON in Polonia, Nafta in Cechia, Gázolaj in Ungheria, Motorină in Romania, ДП in Ucraina, Motorin in Turchia. Qualsiasi nome della tabella è accettato dal parametro fuel_type degli altri prodotti carburante ed è interpretato prima di tutto in base al paese: «95» è E10 a una pompa danese e E5 a una polacca.

GET https://nakordoni.eu/api/v2/data/fuel-grades — classe di quota: cheap

ParametroDescrizione
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.

Campi della risposta — all’interno dell’oggetto data della busta. [] indica una lista, quindi data.items[].name è il campo name di ogni elemento. Un campo è null, assente o una lista vuota quando non abbiamo un valore — mai un segnaposto.

CampoDescrizione
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"
🔑 Accedi come sviluppatore per provare questo endpoint dal vivo nella sandbox — 50 chiamate di prova gratuite al giorno. Accedi