Skip to main content
Menu

← सभी एंडपॉइंट

स्थानीय ईंधन मूल्य API Online

यूरोप में किसी भी बिंदु के लिए उपलब्ध सर्वोत्तम ईंधन मूल्य, तीन स्तरों की सीढ़ी से तय किया गया। जहाँ हमारे पास प्रति-स्टेशन डेटा है (DE, IT, FR, AT, ES, SI, HR, LU, PT, DK और पोलैंड का ट्राइसिटी क्षेत्र), वहाँ यह निकटतम पंपों के दाम लौटाता है; यूक्रेन के किसी बिंदु के लिए, जहाँ प्रति-स्टेशन दाम कहीं उपलब्ध नहीं हैं, उस ओब्लास्त का औसत जिसमें वह बिंदु आता है (ISO 3166-2 कोड, उदाहरण के लिए UA-46); अन्यथा उस देश का राष्ट्रीय औसत जिसमें वह बिंदु आता है। हर उत्तर के resolution फ़ील्ड में उत्तर देने वाला स्तर बताया जाता है: station, region या country।

GET https://nakordoni.eu/api/v2/data/fuel-local — कोटा श्रेणी: cheap

पैरामीटरविवरण
latLatitude
lonLongitude
cityCity name — alternative to lat/lon, resolved to coordinates
countryISO-2 country code, disambiguates city
radius_kmStation-tier search radius km (default 25, max 25; alias: radius). No station inside it means the answer falls through to the country tier — it never widens the search on its own.
fuel_typeOptional station-tier filter: diesel | e5 | e10 | superplus | super100 | premdiesel | truckdiesel | hvo | lpg | cng | adblue | e85 | lng. Ignored at country tier, which always returns every grade the country reports. 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.
limitMax stations at station tier (default 5, max 20)
langLanguage for labels and the country name (default en)

रिस्पॉन्स फ़ील्ड — रिस्पॉन्स एनवेलप के data ऑब्जेक्ट के भीतर। [] सूची दर्शाता है, यानी data.items[].name हर एलिमेंट का name फ़ील्ड है। जिस फ़ील्ड का मान हमारे पास नहीं है वह null होता है, आता ही नहीं या खाली सूची होती है — प्लेसहोल्डर कभी नहीं।

फ़ील्डविवरण
data.resolutionWhich tier answered: station | region | country. Branch on this, never on the shape.
data.anchorThe point the answer was resolved for: lat, lng, ppid, radius_km and the fuel_type fields.
data.countryISO-2 country the point fell in; region is its ISO 3166-2 code at the region tier.
data.dataAt station tier a list of stations (see fuel-stations). At region and country tier one averages object: petrol, petrol95plus, petrol92, petrol98, diesel, lpg, lpg_eur, currency, updated, trend_petrol, trend_diesel, country_name.
data.data.region_nameRegion tier only: the region's name, with region_center_dist_km — how far its centre sits from your point.
data.gradesRegion and country tier only: each price key mapped to its canonical grade and the local pump name.
data.labelsLocalised UI strings — for rendering, not data.
curl "https://nakordoni.eu/api/v2/data/fuel-local?lat=50.45&lon=30.52&lang=uk" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रतिदिन 50 निःशुल्क टेस्ट कॉल। लॉग इन