Kamionforgalmi tilalmak API Online
European truck driving restrictions for one or more countries, including seasonal and holiday bans. Each ban carries its restriction type (General / Local / Sunday / Holiday / Seasonal), the exact scope or roads affected and the minimum weight, and each country a live status computed in its own timezone (active_window / next_window), plus a covered_countries list. ?country= accepts a comma-separated list of up to 3 codes; it is optional in v1 and required in v2. The response also reports `returned`, `total_available` and `truncated` so a capped answer is never mistaken for a complete one, plus `window` {from,to,days} naming the exact date range it covers. v1 always covers the next 7 days; v2 additionally accepts ?date= / ?date_from= + ?date_to= for any window up to 92 days, beginning at most 7 days in the past (this is a forward-looking calendar — older history is refused with 400 date_too_old) and running forward to 2028-12-31.
GET https://nakordoni.eu/api/v2/data/truck-bans
— kvótaosztály: cheap
| Paraméter | Leírás |
|---|---|
country | ISO-2 országkód vagy legfeljebb 3 elemű, vesszővel elválasztott lista, pl. RO vagy DE,RO. A v2-ben kötelező; háromnál több esetén a kérést 400 too_many_countries hibával utasítjuk el — bontsa szét a kérést. |
date | Egyetlen nap YYYY-MM-DD formátumban. Nem kombinálható a date_from/date_to paraméterrel. |
date_from | Az időablak kezdete (YYYY-MM-DD, beleértve). Ha csak a date_to van megadva, alapértelmezés a mai nap. |
date_to | Az ablak vége (YYYY-MM-DD, bezárólag). Alapértelmezés: date_from + 7 nap. Az ablak legfeljebb 92 napot fedhet le — a hosszabb tartományt 400 date_range_too_long hibával utasítjuk el, nem vágjuk le csendben. Ez előretekintő naptár: az ablak legfeljebb 7 nappal a múltban kezdődhet (ezen túl 400 date_too_old, megnevezve a legkorábbi lekérdezhető dátumot), és előre 2028-12-31-ig tart. Előzményeket nem szolgáltatunk — a termék azt mondja meg, mi érvényes mostantól, nem azt, mi volt érvényes tavaly tavasszal. |
lang | Nyelvkód az országnevekhez és az összefoglalóhoz (alapértelmezett: en) |
include_ua_heat | 1 = adja vissza Ukrajna számított nyári hőségtilalmát is (a >24 t-s tehergépjárművek számára 10:00-22:00 között tilalom, ha az előre jelzett hőmérséklet >+28 °C), megyénkénti bontásban. Automatikusan bekerül, ha Ukrajna a lekérdezés hatókörébe esik (country=UA) — ez a jelző csak a más országra szűkített kéréshez adja hozzá. Időjárás-előrejelzésből számítjuk, nem a tilalmi naptárból olvassuk, ezért csak a dátumablak azon részére válaszol, ameddig az előrejelzés elér: soha a múltra, és soha az ua_heat_ban.forecast_horizon (nagyjából egy hét) határán túlra. A teljesen ezen a horizonton túli ablak nem ad vissza hőségsorokat, és ezt a summary mezőben jelzi — ez nem jelenti azt, hogy nem lesz tilalom |
Válaszmezők — a válaszboríték data objektumán belül. A [] listát jelöl, tehát a data.items[].name az egyes elemek name mezője. Egy mező null, hiányzik vagy üres lista, ha nincs rá értékünk — helykitöltőt soha nem teszünk oda.
| Mező | Leírás |
|---|---|
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[].date | Ban day, with time_from and time_until in local time. |
data.upcoming_bans[].country_code | Country the ban applies in, with country_name. |
data.upcoming_bans[].restriction_type | What kind of ban it is (weekend, holiday, heat…), with restriction_details in the requested language. |
data.upcoming_bans[].min_weight_tons | Weight from which the ban bites — a lighter truck is unaffected. |
data.upcoming_bans[].details_url | Official source page for that ban. |
data.bans_by_country | The same bans grouped by ISO-2 country, for rendering per country. |
data.window | The period covered: from, to, days and whether you requested it. |
data.total_bans | Bans in the window, with returned, total_available and truncated — true means narrow the window or page. |
data.covered_countries | Countries we track bans for; countries_not_covered names the ones you asked about that we do not. |
data.summary | One-sentence plain-language summary, ready to show a driver. as_of is when it was assembled. |
data.ua_heat_ban | Ukraine'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/v2/data/truck-bans?country=DE,RO&date_from=2026-12-20&date_to=2027-01-06" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
Frissítve