Skip to main content
Menu

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

ट्रक ड्राइविंग प्रतिबंध API Online

country और तारीख के अनुसार यूरोपीय ट्रक ड्राइविंग प्रतिबंध, जिनमें मौसमी और छुट्टी के प्रतिबंध शामिल हैं। प्रत्येक प्रतिबंध में उसका प्रतिबंध प्रकार (General / Local / Sunday / Holiday / Seasonal), प्रभावित सटीक क्षेत्र या सड़कें और न्यूनतम वजन होता है, और प्रत्येक country की अपनी टाइमज़ोन में गणना की गई लाइव स्थिति होती है (active_window / next_window), साथ ही एक covered_countries सूची भी।

GET https://nakordoni.eu/api/v1/data/truck-bans — कोटा श्रेणी: cheap

पैरामीटरविवरण
countryISO-2 देश कोड, या अल्पविराम से अलग किए गए 3 तक कोडों की सूची, जैसे RO या DE,RO. 3 से अधिक अस्वीकार कर दिया जाता है। v1 में वैकल्पिक; v2 में अनिवार्य।
langLanguage code for country names and summary (default en)
include_ua_heat1 = also return Ukraine's computed summer heat ban (trucks >24 t banned 10:00-22:00 when forecast temp >+28 °C), per oblast. Included automatically when Ukraine is in scope (country=UA) — this flag only adds it to a request scoped to some other country

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

फ़ील्डविवरण
data.current_bans[]Bans in force right now, same fields as upcoming_bans. is_ban_active is the quick boolean for 'may a truck drive at this moment'.
data.upcoming_bans[].dateBan day, with time_from and time_until in local time.
data.upcoming_bans[].country_codeCountry the ban applies in, with country_name.
data.upcoming_bans[].restriction_typeWhat kind of ban it is (weekend, holiday, heat…), with restriction_details in the requested language.
data.upcoming_bans[].min_weight_tonsWeight from which the ban bites — a lighter truck is unaffected.
data.upcoming_bans[].details_urlOfficial source page for that ban.
data.bans_by_countryThe same bans grouped by ISO-2 country, for rendering per country.
data.windowThe period covered: from, to, days and whether you requested it.
data.total_bansBans in the window, with returned, total_available and truncated — true means narrow the window or page.
data.covered_countriesCountries we track bans for; countries_not_covered names the ones you asked about that we do not.
data.summaryOne-sentence plain-language summary, ready to show a driver. as_of is when it was assembled.
data.ua_heat_banUkraine's computed heat ban (see include_ua_heat): per-oblast status plus forecast_horizon, the last date the underlying weather forecast reaches. Heat rows are never returned past that date, so compare it with data.window before reading an empty answer as 'no ban'.
curl "https://nakordoni.eu/api/v1/data/truck-bans?country=PL" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
मुफ़्त एम्बेड करने योग्य विजेट: EU में ट्रक प्रतिबंधों को अपनी वेबसाइट पर दिखाएँ — 3 डिज़ाइन, 25 भाषाएँ, API कुंजी की ज़रूरत नहीं। एम्बेड कोड प्राप्त करें
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रतिदिन 50 निःशुल्क टेस्ट कॉल। लॉग इन