Тази версия спря да работи на 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'.