Skip to main content
Menu

← Όλα τα endpoints

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"
🔑 Συνδεθείτε ως προγραμματιστής για να δοκιμάσετε ζωντανά αυτό το endpoint στο Sandbox — 50 δωρεάν δοκιμαστικές κλήσεις την ημέρα. Σύνδεση