שליחת חדשות וצי NakBus נמצאים כעת בלוח השותפים
השתמשו באותם פרטי התחברות (אימייל וסיסמה) של חשבון המפתחים שלכם כדי להיכנס ללוח הבקרה של Nakordoni Partners ולנהל שם חדשות ואת צי האוטובוסים שלכם (NakDriver / NakManager) עם תפקידי צוות. מפתחות ה-API, נקודות הקצה והאפליקציות שלכם נשארים ללא שינוי, והדפים כאן ממשיכים לעבוד. פתח את Nakordoni Partners

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

API לריבוי מעברי גבול Online

קבל את מצב התור ואת טריות הנתונים עבור עד 5 מעברי גבול בבקשה אחת. המכסה נספרת כ-⌈(N PPID × תת-מוצרים) / 2⌉ — זול ב-50% מקריאות בודדות שוות ערך. השתמש ב-include=queue,update-info כדי לקבל את שתי מערכות הנתונים יחד. החל מ-2026-08-30 בקשה המונה יותר מ-5 מזהי PPID נענית רק עבור 5 הראשונים: השאר מתעלמים מהם (מוחזרים ב-meta.ppid_cap.ignored) ואינם נספרים במכסה.

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

פרמטרתיאור
ppidsComma-separated list of checkpoint IDs (required, max 5 from 2026-08-30) — e.g. id_2,id_13,id_15. Extra IDs beyond the fifth are ignored, not rejected.
includeComma-separated sub-products to include: queue, update-info (default: queue,update-info)
langLanguage code for checkpoint names in queue responses (default: en)

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

שדהתיאור
data.<ppid>One object per requested checkpoint, keyed by ppid — not an array. A ppid you asked for that we do not monitor is absent.
data.<ppid>.queuePresent when include contains queue: found, queue_now, wait_min, wait_status, trend_percent, trend_direction, age_min, freshness, name, updated_at, data_quality.
data.<ppid>.update_infoPresent when include contains update-info: found, timestamp, datetime, timezone, age_seconds, age_minutes, freshness, queue_now, data_quality.
data.<ppid>.*.data_qualityOn both sub-products: high = counted from a real observation source at the crossing, low = a modelled estimate where no counting source exists. Same high|low vocabulary as the checkpoints directory, Border Queue and Best Time to Cross. Both are real answers; a low value is an estimate and should be labelled as one if you show it to drivers.
meta.ppids_requestedHow many ppids the call asked for (envelope level, beside data).
meta.units_consumedQuota units this call actually cost — ⌈(ppids × sub-products) / 2⌉, counted on the checkpoints actually answered.
meta.ppid_capPresent ONLY when the call listed more than 5 PPIDs: cap, enforced_from, enforced, ppids_asked, ppids_answered, ignored[] and a plain-language notice. The same event also sets the X-Devapi-Warning response header.
curl "https://nakordoni.eu/api/v1/data/multi?ppids=id_2,id_13,id_15&include=queue,update-info&lang=en" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 התחבר כמפתח כדי לנסות נקודת קצה זו בשידור חי ב-sandbox — 10 קריאות בדיקה חינם לכל מוצר ליום. התחברות

עודכן