Մոտակա վառելիքի կայանների API Online
Կետին կամ city-ին ամենամոտ բենզալցակայանները՝ վառելիքի յուրաքանչյուր տեսակի ընթացիկ գներով, դասավորված հեռավորությամբ։ Կայանի մակարդակի ընդգրկում՝ DE, IT, FR, AT, ES, SI, HR, LU, PT, DK (նույն տվյալները, ինչ nakordoni.eu-ի վառելիքի էջերում. այլուր ազգային միջինների համար օգտագործեք fuel API-ի country ռեժիմը)։ Եթե ոչ մի կայան չի համապատասխանում, պատասխանը ներառում է coverage օբյեկտ՝ ընդգրկված երկրների ցանկով, դատարկ ցուցակի փոխարեն։
GET https://nakordoni.eu/api/v2/data/fuel-stations
— քվոտայի դաս: cheap
| Պարամետր | Նկարագրություն |
|---|---|
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 | Optional filter: diesel | e5 | e10 | superplus | super100 | premdiesel | truckdiesel | hvo | lpg | cng | adblue | e85 | lng (availability varies by station/region; Polish stations report Pb95 as e5, Pb98 as superplus and ON as diesel) |
limit | Max stations (default 5, max 20) |
lang | Language for labels (default en) |
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"
🔑 Մուտք գործեք որպես ծրագրավորող՝ այս endpoint-ը ուղիղ Sandbox-ում փորձելու համար — օրական 50 անվճար թեստային կանչ։ Մուտք