Оваа верзија престана да работи на 2026-09-08.
Наместо неа користете V2. v2 requires ?country=, which accepts a comma-separated list of up to 3 ISO-2 codes (e.g. ?country=DE,RO).
Европски ограничувања за возење на камиони по country и датум, вклучувајќи сезонски и празнични забрани. Секоја забрана го носи својот тип на ограничување (General / Local / Sunday / Holiday / Seasonal), точниот опфат или засегнатите патишта и минималната тежина, а секоја country има статус во живо пресметан во сопствената временска зона (active_window / next_window), плус листа covered_countries.
GEThttps://nakordoni.eu/api/v1/data/truck-bans
— класа на квота: cheap
Параметар
Опис
country
ISO-2 код на државата или список од до 3 кодови одделени со запирка, н.п. RO или DE,RO. Повеќе од 3 се одбива. Опционално во v1; задолжително во v2.
lang
Код на јазикот за имињата на земјите и резимето (стандардно en)
include_ua_heat
1 = да се врати и пресметаната украинска летна забрана поради горештини (камиони над 24 t се забранети од 10:00 до 22:00 кога прогнозираната температура е >+28 °C), по области. Се вклучува автоматски кога Украина е во опфатот на барањето (country=UA) — ова знаменце само ја додава на барање ограничено на друга земја
Полиња на одговорот— внатре во објектот 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[].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'.
Во споредба со V1: сега задолжителни country · нови параметри date, date_from, date_to
Што е различно во оваа верзија:
country is now required. v2 is scoped per country and refuses an unscoped request with 400 scope_required; it accepts a comma-separated list of up to 3 codes, so one request still covers the countries on a route. v2 also honours a DATE WINDOW — ?date= for one day, or ?date_from=/?date_to= for a range of up to 92 days, starting at most 7 days in the past and running forward to 2028-12-31 — where v1 always answers a fixed 7-day window and ignores any date sent to it. Every response now echoes `window` {from,to,days,requested} so the served range is never in doubt. v1 continues to accept an unscoped call, which returns a capped slice — check truncated and total_available in the response.
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.
GEThttps://nakordoni.eu/api/v2/data/truck-bans
— класа на квота: cheap
Параметар
Опис
country
Код на земја по ISO-2 или список одделен со запирки, најмногу 3, на пр. RO или DE,RO. Задолжителен во v2; повеќе од 3 се одбива со 400 too_many_countries — поделете го барањето.
date
Еден ден во формат YYYY-MM-DD. Не може да се комбинира со date_from/date_to.
date_from
Почеток на прозорецот (YYYY-MM-DD, вклучително). Ако е зададено само date_to, стандардно е денес.
date_to
Крај на опсегот (YYYY-MM-DD, вклучително). Стандардно date_from + 7 дена. Опсегот може да опфати најмногу 92 дена — подолг опсег се одбива со 400 date_range_too_long, а не се скратува тивко. Ова е календар насочен нанапред: опсегот може да започне најмногу 7 дена во минатото (подалеку од тоа 400 date_too_old, со наведување на најраниот датум што смеете да го побарате) и оди нанапред до 2028-12-31. Историја не се служи — производот кажува што важи отсега, а не што важело минатата пролет.
lang
Код на јазикот за имињата на земјите и резимето (стандардно en)
include_ua_heat
1 = да се врати и пресметаната украинска летна забрана поради горештини (камиони над 24 t се забранети од 10:00 до 22:00 кога прогнозираната температура е >+28 °C), по области. Се вклучува автоматски кога Украина е во опфатот на барањето (country=UA) — ова знаменце само ја додава на барање ограничено на друга земја. Таа се пресметува од временска прогноза, а не се чита од календарот на забрани, па затоа одговара само за оној дел од вашиот временски опсег до кој допира прогнозата: никогаш за минатото и никогаш подалеку од ua_heat_ban.forecast_horizon (околу една недела однапред). Опсег што целосно е зад тој хоризонт не враќа редови за горештини и го наведува тоа во summary — тоа не значи дека нема да има забрана
Полиња на одговорот— внатре во објектот 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[].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'.
Бесплатен виџет за вградување: прикажувајте ги актуелните забрани за камиони во ЕУ на вашиот сајт — 3 дизајни, 25 јазици, без API клуч.Земете го кодот за вградување
🔑 Најавете се како развивач за да ја пробате оваа крајна точка во живо во песочникот — 50 бесплатни тест повици дневно. Најава