A hírbeküldés és a NakBus flotta most már a partneri irányítópulton található
Kösse össze fejlesztői fiókját egy azonos e-mail címmel rendelkező Nakordoni Partners fiókkal, és ott kezelje a híreket és buszflottáját (NakDriver / NakManager) csapatszerepekkel. Az API-kulcsai, végpontjai és alkalmazásai változatlanok maradnak, az itteni oldalak pedig továbbra is működnek. Nakordoni Partners megnyitása

← Összes végpont

Közeli töltőállomások API Online

A ponthoz vagy városhoz legközelebbi töltőállomások, aktuális áron üzemanyagfajtánként, távolság szerint rendezve. Az állomásszintű lefedettség 39 európai országra terjed ki, és MÉRT érték, nem rögzített: minden üres válasz visszaadja az aktuális országlistát a coverage objektumban szereplő országonkénti állomásszámmal, a kért fajtára szűkítve — ezt olvassa, ne a leírásban szereplő listát — ugyanazok az adatok, mint a nakordoni.eu üzemanyag-oldalain; más esetekben az országos átlagokhoz a fuel API country módját használja. Az árak minden állomás saját pénznemében jelennek meg (PLN a lengyel állomásoknál, EUR máshol) — olvassa az adott állomás currency mezőjét, soha ne hasonlítsa össze a nyers számokat. Ha egyetlen állomás sem felel meg, a válasz egy coverage objektumot tartalmaz néma üres lista helyett: station_countries és station_counts az élő indexből mérve (a `grade`-re szűkítve, ha fuel_type-ot adott meg), sparse_coverage azokra az országokra, ahol 25 vagy annál kevesebb árazott állomás van, measured_at, valamint egy fuel_type_note, amely elválasztja az üres válasz két lehetséges okát — egy olyan fajtanevet, amelyet nem sikerült beazonosítani, egy olyan fajtától, amelyet felismerünk, de az adott országban nem árazunk.

GET https://nakordoni.eu/api/v2/data/fuel-stations — kvótaosztály: cheap

ParaméterLeírás
latSzélesség
lonHosszúság
cityVáros neve — a lat/lon alternatívája, koordinátákká alakítva
countryISO-2 országkód, egyértelműsíti a várost
radius_kmKeresési sugár km-ben (alapértelmezett 25, max. 25; alias: radius)
fuel_typeOpcionális szűrő: diesel | e5 | e10 | superplus | super100 | premdiesel | truckdiesel | hvo | lpg | cng | adblue | e85 | lng (az elérhetőség töltőállomásonként/régiónként változik; a lengyel töltőállomások a Pb95-öt e5-ként, a Pb98-at superplus-ként, az ON-t pedig diesel-ként jelentik). A helyi kúti megnevezéseket is elfogadjuk — ON, Olej napędowy, Pb95, Nafta, Dizel, Gázolaj, Motorină, Benzină 95, ДП, А-95, Motorin, Gasóleo, Sans plomb 95, Bleifrei … —, ezeket a `country` alapján oldjuk fel (koordinátás termékeknél pedig azon ország alapján, amelybe a pont esik), mert ugyanaz a megnevezés nem mindenhol ugyanazt a fajtát jelenti: a „95” dán, finn, francia, brit, belga vagy holland kúton E10, lengyel vagy német kúton viszont E5. A válasz visszaadja a `fuel_type` (kanonikus), a `fuel_type_requested` (ahogy Ön beírta) és a `fuel_type_local` mezőket. Az általunk nem azonosítható megnevezést soha nem cseréljük alapértelmezett fajtára — a válasz üresen tér vissza, és ezt jelzi is. A megnevezések teljes, országonkénti táblázata: /api/v2/data/fuel-grades.
limitKutak maximuma (alapértelmezett 5, max. 20)
langA címkék nyelve (alapértelmezett: en)

Válaszmezők — a válaszboríték data objektumán belül. A [] listát jelöl, tehát a data.items[].name az egyes elemek name mezője. Egy mező null, hiányzik vagy üres lista, ha nincs rá értékünk — helykitöltőt soha nem teszünk oda.

MezőLeírás
data.anchor.latThe point actually searched (after city geocoding), with lng, ppid and radius_km.
data.anchor.fuel_typeThe canonical grade the list was filtered to; fuel_type_requested is what you sent, fuel_type_local the local pump name and fuel_type_country the country the name was read in.
data.stations[].nameStation, with brand and address. Each physical station appears ONCE: its grades are nested under prices, not spread over repeated rows. `brand` is the chain when we know it and null when we do not — never a placeholder token, so treat null as "independent or unknown" and fall back to `name`. Address detail varies by national feed: some report a full street address, others only the town.
data.stations[].station_refStable key for the station (name + position). Key your records on it whenever id is null — id is set only for rows that come from our station directory.
data.stations[].pricesObject keyed by grade (diesel, e5, e10, lpg …): price, currency and currency_symbol, local_name (the pump name used in that country), label, updated_at, confirmed_at, age_hours and stale. Each station carries its own currency, so never compare the raw numbers. A station with no quote at all carries an empty object here. TWO CLOCKS, and they answer different questions — do not derive one from the other: `updated_at` is when this price last MOVED, so a forecourt that has held the same price for ten days keeps a ten-day-old stamp and that is correct, not stale data; `confirmed_at` is when we last CONFIRMED the quote against its feed, and it is the clock `age_hours` and `stale` are measured on (age_hours = now − confirmed_at). Read `confirmed_at`/`stale` for freshness and `updated_at` for price history. Both are floored to the hour, so `now − confirmed_at` can sit up to an hour above `age_hours`, which is measured before the floor; `confirmed_at` is never earlier than `updated_at`, because a price change is itself a confirmation.
data.stations[].gradesThe grade keys present in prices, alongside freshest_age_hours and a station-level stale flag (true only when NO quote of that station is current).
data.stations[].distance_kmDistance from the anchor, with lat and lng of the station itself.
data.countStations returned; data.total_found is how many matched inside the radius before limit was applied.
data.noticesPresent whenever we adjusted a parameter you sent: each entry names the param, the requested and the applied value, and the reason.
data.coverageOnly when nothing matched. grade (the fuel_type your wording resolved to, or null), station_countries and station_counts measured from the live station index and scoped to that grade, sparse_coverage for countries with 25 priced stations or fewer, measured_at, a note explaining all of it, and fuel_type_note when the grade name could not be placed OR when we recognise the grade but price it nowhere in this country.
curl "https://nakordoni.eu/api/v2/data/fuel-stations?city=Munich&country=DE&radius_km=20&fuel_type=diesel" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Jelentkezz be fejlesztőként, hogy élőben kipróbáld ezt a végpontot a sandboxban — napi 50 ingyenes tesztkérés. Bejelentkezés

Frissítve