Skip to main content
Menu

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

ईंधन ग्रेड नाम API Online

हर ईंधन प्रोडक्ट के पीछे की नाम-तालिका: हमारे कैनोनिकल ईंधन कोड और यह कि यूरोप के 41 देशों में पंप पर हर ईंधन को क्या कहा जाता है — पोलैंड में ON, चेकिया में Nafta, हंगरी में Gázolaj, रोमानिया में Motorină, यूक्रेन में ДП, तुर्की में Motorin। तालिका का कोई भी नाम बाकी ईंधन प्रोडक्ट्स का fuel_type पैरामीटर स्वीकार करता है और उसे पहले देश के हिसाब से पढ़ा जाता है: “95” डेनमार्क के पंप पर E10 है और पोलैंड के पंप पर E5।

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

पैरामीटरविवरण
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.

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

फ़ील्डविवरण
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"
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रतिदिन 50 निःशुल्क टेस्ट कॉल। लॉग इन