Skip to main content
Menu

← כל נקודות הקצה

API של תורים בגבול Online

כל מעברי הגבול על גבול נתון + סוג רכב בקריאה אחת — תור בזמן אמת, הערכת זמן המתנה ורעננות נתונים לכל מעבר. תומך ביעד יחיד, ברשימה מופרדת בפסיקים או ב־"all". התוצאות ממוינות לפי אורך התור בסדר עולה.

GET https://nakordoni.eu/api/v1/data/border/1/all/4 — מחלקת מכסה: heavy

פרמטרתיאור
originקוד מדינת המוצא (נתיב ה־URL): 1=אוקראינה, 2=פולין, 3=סלובקיה, 4=הונגריה, 5=רומניה, 6=מולדובה, 7=בלארוס, 8=ליטא, 9=לטביה…
destinationיעד: קוד יחיד, רשימה מופרדת בפסיקים, או "all" לכל המדינות השכנות עם נתונים מנוטרים
crossing_typeסוג רכב: 4=רכב פרטי, 5=רכב פטור ממכס, 6=אוטובוס, 7=הולכי רגל, 8=משאית עד 7.5 טון, 9=משאית
langשפת שמות מעברי הגבול בתגובה (ברירת מחדל en)

שדות התשובה — בתוך אובייקט data שבמעטפת התשובה. [] מסמן רשימה, ולכן data.items[].name הוא שדה name של כל פריט. שדה יהיה null, ייעדר או יחזור כרשימה ריקה כשאין לנו ערך עבורו — לעולם לא ערך ממלא מקום.

שדהתיאור
data.originNumeric country code the path asked for, plus origin_name in the requested language.
data.destinationsNumeric country codes the call expanded to, plus destination_names.
data.crossing_typeVehicle type of every row, plus crossing_type_label.
data.checkpoints[].ppidCheckpoint ID.
data.checkpoints[].nameCheckpoint name in the requested language.
data.checkpoints[].borderNumeric country code of the neighbour this crossing leads to, plus border_name.
data.checkpoints[].queueVehicles counted in the queue right now.
data.checkpoints[].wait_minEstimated wait in minutes; null where the crossing has no wait signal.
data.checkpoints[].wait_statusPlain-language band for the wait (e.g. free_flow, moderate, heavy).
data.checkpoints[].trend_percentChange against the recent baseline, with trend_direction (up | down | flat).
data.checkpoints[].updated_atWhen this reading was taken, plus age_min — how old it is now.
data.checkpoints[].source_urlPublic page for the checkpoint, for the attribution link.
data.countNumber of checkpoints returned; generated_at is when the set was assembled.
curl "https://nakordoni.eu/api/v1/data/border/1/all/4" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 התחברו כמפתחים כדי לנסות את נקודת הקצה הזו בשידור חי ב־Sandbox — 50 קריאות בדיקה חינם ביום. התחברות