Skip to main content
Menu

← सभी एंडपॉइंट

लाइव सीमा कतार API Online

किसी भी निगरानी चौकी के लिए वास्तविक समय की कतारें, प्रतीक्षा समय का अनुमान और स्थिति। snapshot ब्लॉक शामिल: वर्तमान कतार (queue_now), अनुमानित प्रतीक्षा wait_min = tmin + कतार × tpercar, डेटा आयु।

GET https://nakordoni.eu/api/v1/data/queue — कोटा श्रेणी: heavy

पैरामीटरविवरण
ppidचेकपॉइंट आईडी, उदा. id_13 (देखें /api/v1/data/checkpoints)
sectionडेटा अनुभाग (वैकल्पिक)
originमूल देश कोड (वैकल्पिक)
destinationगंतव्य देश कोड (वैकल्पिक)

रिस्पॉन्स फ़ील्ड — रिस्पॉन्स एनवेलप के data ऑब्जेक्ट के भीतर। [] सूची दर्शाता है, यानी data.items[].name हर एलिमेंट का name फ़ील्ड है। जिस फ़ील्ड का मान हमारे पास नहीं है वह null होता है, आता ही नहीं या खाली सूची होती है — प्लेसहोल्डर कभी नहीं।

फ़ील्डविवरण
data[]Hourly series for the checkpoint, oldest first — one element per reading.
data[].timeUnix timestamp of the reading, in the checkpoint's own timezone.
data[].avg_carsVehicles in the queue at that hour.
data[].wait_timeWait in minutes at that hour.
data[].wait_time_estimatedtrue = the wait is our estimate from the queue length, not an official figure.
data[].type_of_dataProvenance marker of the reading (official feed, camera count, driver report…).
snapshotEnvelope-level, beside data: the current state — queue_now, wait_min, updated_at, age_min. Read this for 'now'; data is the history behind it.
curl "https://nakordoni.eu/api/v1/data/queue?ppid=id_13" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 इस एंडपॉइंट को सैंडबॉक्स में लाइव आज़माने के लिए डेवलपर के रूप में लॉग इन करें — प्रतिदिन 50 निःशुल्क टेस्ट कॉल। लॉग इन