Skip to main content
Menu

← Όλα τα endpoints

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

ΠαράμετροςΠεριγραφή
countryΚωδικός χώρας ISO-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"
Δωρεάν ενσωματώσιμο widget: δείξτε τις απαγορεύσεις κυκλοφορίας φορτηγών στην ΕΕ στον ιστότοπό σας — 3 σχέδια, 25 γλώσσες, χωρίς κλειδί API. Λάβετε τον κώδικα ενσωμάτωσης
🔑 Συνδεθείτε ως προγραμματιστής για να δοκιμάσετε ζωντανά αυτό το endpoint στο Sandbox — 50 δωρεάν δοκιμαστικές κλήσεις την ημέρα. Σύνδεση