ყველა გადასასვლელი მოცემულ საზღვარზე + ტრანსპორტის ტიპი ერთ გამოძახებაში. მხარს უჭერს ერთ დანიშნულებას, მძიმით გამოყოფილ სიას ან "all". შედეგები დალაგებულია რიგის მიხედვით.
GEThttps://nakordoni.eu/api/v1/data/border/1/all/4
— კვოტის კლასი: heavy
პარამეტრი
აღწერა
origin
გამომგზავნი ქვეყნის კოდი (URL სეგმენტი): 1=უკრაინა, 2=პოლონეთი, 3=სლოვაკეთი, 4=უნგრეთი…
destination
დანიშნულება: ერთი კოდი, მძიმით გამოყოფილი სია ან "all" ყველა მეზობლისთვის
crossing_type
ტრანსპორტის ტიპი: 4=მანქანა, 5=მანქანა (tax-free), 6=ავტობუსი, 7=ფეხმავალი, 8=სატვირთო <7.5ტ, 9=სატვირთო
lang
გადასასვლელების სახელების ენა პასუხში (ნაგულისხმევი en)
What's different in this version:
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
Destination (URL path segment): single country code, comma-separated list (e.g. 2,3,5), or "all". Order is directional — swap origin/destination for the opposite travel direction.
Language for checkpoint names in the response (default en)
max_age_min
Optional freshness filter (query string): return only checkpoints whose live reading is newer than N minutes (also drops those with no reading). Each checkpoint carries a "stale" boolean (older than 240 min, or than max_age_min if set).