Сите гранични премини на дадена граница за еден тип возило во еден повик. Поддржува единечна дестинација, список со запирки или "all". Резултатите се сортирани по должина на редицата.
GEThttps://nakordoni.eu/api/v1/data/border/1/2/4
— класа на квота: heavy
Параметар
Опис
origin
Код на земјата на потекло (URL сегмент): 1=Украина, 2=Полска, 3=Словачка, 4=Унгарија, 5=Романија…
destination
Дестинација: еден код, список одделен со запирка или "all" за сите соседи — списокот и "all" се застарени; v4 прима една држава по барање
crossing_type
Тип возило: 4=автомобил, 5=автомобил (безмитна), 6=автобус, 7=пешаци, 8=товар <7.5т, 9=товар
lang
Јазик за имиња на премини во одговорот (стандардно en)
Полиња на одговорот— внатре во објектот data во пликот на одговорот. [] означува листа, па data.items[].name е полето name на секој елемент. Полето може да е null, да недостасува или да е празна листа кога немаме вредност — никогаш не ставаме замена.
Поле
Опис
data.origin
Numeric country code the path asked for, plus origin_name in the requested language.
data.destinations
Numeric country codes the call expanded to, plus destination_names.
data.crossing_type
Vehicle type of every row, plus crossing_type_label.
data.checkpoints[].ppid
Checkpoint ID.
data.checkpoints[].name
Checkpoint name in the requested language.
data.checkpoints[].border
Numeric country code of the neighbour this crossing leads to, plus border_name.
data.checkpoints[].queue
Vehicles counted in the queue right now.
data.checkpoints[].wait_min
Estimated wait in minutes; null where the crossing has no wait signal.
data.checkpoints[].wait_status
Plain-language band for the wait (e.g. free_flow, moderate, heavy).
data.checkpoints[].trend_percent
Change against the recent baseline, with trend_direction (up | down | flat).
data.checkpoints[].updated_at
When this reading was taken, plus age_min — how old it is now.
data.checkpoints[].source_url
Public page for the checkpoint, for the attribution link.
data.count
Number of checkpoints returned; generated_at is when the set was assembled.
Што е различно во оваа верзија:
Directional: path order is the travel direction (/1/2/6 = UA→PL, /2/1/6 = PL→UA). Adds a per-checkpoint direction{from,to} + stale flag, and a ?max_age_min= freshness filter. v1 returns both sides of the border regardless of order.
Directional border queues. The path order is the travel direction, matched against each checkpoint's own orientation: /1/2/6 = buses UA→PL (Ukrainian-side crossings), /2/1/6 = buses PL→UA (Polish-side crossings) — swap origin/destination for the opposite direction. Each checkpoint also carries a "stale" flag, and ?max_age_min=N returns only recently-updated crossings. Everything else matches v1.
GEThttps://nakordoni.eu/api/v2/data/border/1/2/6
— класа на квота: heavy
Параметар
Опис
origin
Код на земјата на поаѓање (сегмент од патеката во URL): 1=Украина, 2=Полска, 3=Словачка, 4=Унгарија, 5=Романија, 6=Молдавија, 7=Белорусија, 8=Литванија, 9=Латвија, 11=Словенија, 12=Бугарија, 13=Србија, 14=Турција, 15=Северна Македонија, 16=Хрватска, 17=Босна и Херцеговина, 18=Германија, 19=Грција, 20=Италија, 21=Албанија, 22=Црна Гора, 23=Косово.
destination
Дестинација (сегмент од патеката во URL): единечен код на земја, листа одделена со запирки (на пр. 2,3,5) или „all“. Редоследот е насочен — заменете ги поаѓањето и дестинацијата за спротивната насока на патување. И листата и „all“ се застарени и престануваат да работат на 2026-10-06 — /api/v4/ прифаќа точно една дестинација по повик.
crossing_type
Тип на возило (сегмент од патеката во URL): 4=Патничко возило, 5=Патничко возило. Tax Free, 6=Автобус, 7=Пешак, 8=Товарен превоз, 9=Товарен превоз до 7,5 тони. Во именикот на гранични премини постојат и други идентификатори (траект 10-13, товарен до 3,5 т 14, железница 15); овој производ за нив одговара со 400.
lang
Јазик на имињата на граничните премини во одговорот (стандардно en)
max_age_min
Опционален филтер за свежина (query string): враќа само премини чие живо мерење е поново од N минути (ги отфрла и оние без мерење). Секој премин носи булово поле „stale“ (постаро од 240 мин или од max_age_min, ако е поставено).
Полиња на одговорот— внатре во објектот data во пликот на одговорот. [] означува листа, па data.items[].name е полето name на секој елемент. Полето може да е null, да недостасува или да е празна листа кога немаме вредност — никогаш не ставаме замена.
Поле
Опис
data.origin
Numeric country code the path asked for, plus origin_name in the requested language.
data.destinations
Numeric country codes the call expanded to, plus destination_names.
data.crossing_type
Vehicle type of every row, plus crossing_type_label.
data.checkpoints[].ppid
Checkpoint ID.
data.checkpoints[].name
Checkpoint name in the requested language.
data.checkpoints[].border
Numeric country code of the neighbour this crossing leads to, plus border_name.
data.checkpoints[].queue
Vehicles counted in the queue right now.
data.checkpoints[].wait_min
Estimated wait in minutes; null where the crossing has no wait signal.
data.checkpoints[].wait_status
Plain-language band for the wait (e.g. free_flow, moderate, heavy).
data.checkpoints[].trend_percent
Change against the recent baseline, with trend_direction (up | down | flat).
data.checkpoints[].updated_at
When this reading was taken, plus age_min — how old it is now.
data.checkpoints[].source_url
Public page for the checkpoint, for the attribution link.
data.count
Number of checkpoints returned; generated_at is when the set was assembled.
Што е различно во оваа верзија:
One destination per call — destination=all removed (400 lists the expansion) and the comma-separated destination list is not accepted either (400 too_many_destinations); freight merged into one truck code (9, with 8 as an alias) so a truck query returns every truck lane; per-row crossing_type added. Everything else is v2: directional path order, direction{from,to}, stale, ?max_age_min=. v3 carried these same changes for one day and was retired into v4 on 2026-09-07.
Directional border queues, as v2, with two removals. ONE DESTINATION PER CALL: v4 takes a single destination country — neither "all" nor a comma-separated list is accepted, and both answer 400. Markets are licensed per country (Developer API Terms, section 7), and any request covering several countries at once returns data an account may not hold, which is the one request shape the market gate cannot police. Query several countries by sending several calls — there is no batching product for borders (`multi` is per-checkpoint, up to 5 PPIDs, and has no concept of a border). Freight is one code: 9 returns every truck lane on the border (v1/v2 split it into 8 and 9, so asking for 9 on UA-PL returned 21 crossings out of 70), and 8 is accepted as an alias of 9. Each row carries its own crossing_type so a merged answer stays inspectable.
GEThttps://nakordoni.eu/api/v4/data/border/1/2/9
— класа на квота: heavy
Параметар
Опис
origin
Код на земјата на поаѓање (сегмент од патеката во URL): 1=Украина, 2=Полска, 3=Словачка, 4=Унгарија, 5=Романија, 6=Молдавија, 7=Белорусија, 8=Литванија, 9=Латвија, 11=Словенија, 12=Бугарија, 13=Србија, 14=Турција, 15=Северна Македонија, 16=Хрватска, 17=Босна и Херцеговина, 18=Германија, 19=Грција, 20=Италија, 21=Албанија, 22=Црна Гора, 23=Косово.
destination
Дестинација: ТОЧНО ЕДЕН код на држава. Список одделен со запирка не се прифаќа (400), "all" не се прифаќа (400). За повеќе дестинации испратете по едно барање по држава — нема групен производ за граници.
crossing_type
Тип на возило (сегмент од патеката во URL): 4=Патничко возило, 5=Патничко возило. Tax Free, 6=Автобус, 7=Пешак, 9=Товарен превоз. 8 се прифаќа како алијас на 9. Траектните (10-13) и железничките (15) премини постојат во именикот, но овој производ за нив одговара со 400.
lang
Јазик на имињата на граничните премини во одговорот (стандардно en)
max_age_min
Опционален филтер за свежина (query string): враќа само премини чие живо мерење е поново од N минути (ги отфрла и оние без мерење). Секој премин носи булово поле „stale“.
Полиња на одговорот— внатре во објектот data во пликот на одговорот. [] означува листа, па data.items[].name е полето name на секој елемент. Полето може да е null, да недостасува или да е празна листа кога немаме вредност — никогаш не ставаме замена.
Поле
Опис
data.checkpoints[].crossing_type
The crossing's own type — 8 or 9 inside a merged truck answer.
data.crossing_type_requested
Set only when the request used 8 and it was folded into 9; null otherwise.