Cheapest Fuel Nearby API Online
The cheapest petrol stations around a point or city, ranked by price for the chosen fuel type (closest wins a tie). Station-level coverage spans 39 European countries and is MEASURED, not fixed: every empty answer returns the current country list with per-country station counts in its coverage object, scoped to the grade you asked for, so read that rather than a list in this description. Ranking is per fuel type within one search area, and prices carry each station's own currency (PLN in Poland, EUR elsewhere). When no stations match, the response includes a coverage object instead of a silent empty list: station_countries and station_counts measured from the live index (scoped to `grade` when you named a fuel_type), sparse_coverage for the countries holding 25 priced stations or fewer, measured_at, and a fuel_type_note that separates the two reasons an answer can be empty — a grade name we could not place, versus a grade we recognise but do not price in that country.
GET https://nakordoni.eu/api/v2/data/fuel-cheapest
— quota class: fuel
| Parameter | Description |
|---|---|
lat | Latitude |
lon | Longitude |
city | City name — alternative to lat/lon, resolved to coordinates |
country | ISO-2 country code, disambiguates city |
radius_km | Search radius km (default 25, max 25; alias: radius) |
fuel_type | diesel (default) | e5 | e10 | superplus | super100 | premdiesel | truckdiesel | hvo | lpg | cng | adblue | e85 | lng — price ranking is per fuel type. Local pump names are accepted as well — ON, Olej napędowy, Pb95, Nafta, Dizel, Gázolaj, Motorină, Benzină 95, ДП, А-95, Motorin, Gasóleo, Sans plomb 95, Bleifrei … — resolved against `country` (or, for coordinate products, the country the point falls in), because the same wording is not the same grade everywhere: “95” is E10 at a Danish, Finnish, French, British, Belgian or Dutch pump and E5 at a Polish or German one. The response echoes `fuel_type` (canonical), `fuel_type_requested` (as you typed it) and `fuel_type_local`. A name we cannot place is never swapped for a default grade — the answer comes back empty and says so. Full table of names per country: /api/v2/data/fuel-grades. |
limit | Max stations (default 5, max 20) |
truck_friendly | Optional filter: 1 = only stations flagged as usable by trucks (truck_friendly true). Any other value is ignored. |
lang | Language for labels (default en) |
Response fields — inside the data object of the envelope. [] marks a list, so data.items[].name is the name field of each element. A field is null, absent or an empty list when we hold no value for it — never a placeholder.
| Field | Description |
|---|---|
data.stations[] | The same station objects as fuel-stations (grades nested under prices, one entry per physical station), ranked cheapest first for the chosen grade — closest wins a tie, and a station without a quote for that grade ranks last. Each carries truck_friendly (true, false or null); truck_friendly=1 keeps only truck-usable stations. Matched stations also carry details (amenities tokens, opening_hours, services), exactly as in fuel-stations. |
data.anchor | The point searched and the resolved grade: lat, lng, radius_km, fuel_type, fuel_type_requested, fuel_type_local, fuel_type_country. |
data.count | Stations returned; data.total_found is how many matched inside the radius before limit was applied. |
data.coverage | Only when nothing matched — grade, station_countries + station_counts measured from the live index (scoped to that grade), sparse_coverage, measured_at, and fuel_type_note for both an unplaceable grade name and a recognised grade we do not price in this country. |
data.empty_reason | Only when nothing matched — machine-readable why: no_station_in_radius (try a wider radius_km; see nearest_station_km) | no_price_for_fuel_type (stations in the radius, none quoting this grade) | fuel_type_not_priced_in_country (no feed prices this grade in `country`) | unknown_fuel_type | no_fresh_price_in_radius. The radius is never widened for you. |
data.suggestion | Only when nothing matched — one short sentence in your `lang` that turns empty_reason into advice, e.g. "No station within 5 km — the nearest is 6.4 km away; try radius_km=10." (the advised radius is rounded up to a 5 km step and never above the 25 km maximum), "We have no hvo prices in DE; try diesel, truckdiesel.", or the list of valid fuel_type values. Advice for people, not a contract: branch on empty_reason / nearest_station_km, show suggestion to users. |
data.nearest_station_km | Only when nothing matched — distance to the nearest station quoting the requested grade (any grade when none was named), searched up to data.nearest_search_km (50); null = none that close. |
data.country | Only when nothing matched — ISO-2 country of the point (your ?country= wins). |
Price age
Station prices have two age limits, both counted from when we last confirmed the quote (age_hours). After 7 days a price is still returned, with stale = true. After 90 days it is not returned at all (since 2026-10-24). A grade that has only such a price is then missing from prices, a station with no price left is not listed (or has an empty prices object where unpriced stations are shown), and the answer can be empty — empty_reason then says why. fuel-local can then answer from the region or country tier. Price history is kept; national and city averages are not affected.
Empty answers
When no station matches, the answer is still HTTP 200 with an empty stations list — and it says why. Four fields are added to data, only on an empty answer: empty_reason (machine-readable cause), nearest_station_km (distance to the nearest station quoting your grade, searched up to nearest_search_km = 50 km; null if none), country (ISO-2 of the point) and suggestion (one short sentence in your lang). We never widen the radius for you.
| empty_reason | Description |
|---|---|
no_station_in_radius | No station with a current price inside radius_km. nearest_station_km tells you how far the nearest one is (null when there is none within 50 km). |
no_price_for_fuel_type | There are stations inside the radius, but none quotes the fuel_type you asked for. nearest_station_km is the nearest station that does. |
fuel_type_not_priced_in_country | We recognise the grade, but no station feed prices it in this country (for example HVO in Germany). A wider radius will not help — ask for another grade. |
unknown_fuel_type | The fuel_type could not be matched to any grade we know. suggestion lists the valid values; local pump names per country are in /api/v2/data/fuel-grades. |
no_fresh_price_in_radius | Stations inside the radius have only prices too old to serve. Try a slightly wider radius or call again later. |
suggestion is advice for people, not a contract: its wording can change. Branch your code on empty_reason and nearest_station_km; show suggestion to your users or log it. An advised radius is rounded up to a 5 km step and never above the 25 km maximum.
Grid sweeps: If you sample an area or a route on a grid, use radius_km 10–15. At 5 km most rural grid points fall between stations and come back empty (no_station_in_radius) even where a station is only a few kilometres away.
Example: empty answer ?lat=47.73&lon=18.225&radius_km=5&fuel_type=diesel
{
"ok": true,
"data": {
"count": 0,
"stations": [],
"empty_reason": "no_station_in_radius",
"suggestion": "No station within 5 km — the nearest is 6.4 km away; try radius_km=10.",
"nearest_station_km": 6.4,
"nearest_search_km": 50,
"country": "HU",
"coverage": { "grade": "diesel", "station_countries": ["AT", "BE", "…"], "…": "…" }
}
}
curl "https://nakordoni.eu/api/v2/data/fuel-cheapest?city=Munich&country=DE&radius_km=25" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
Updated