Skip to main content
Menu

← Tutti gli endpoint

API Coda di Frontiera in Tempo Reale Online

Code in tempo reale, stima del tempo di attesa e stato per qualsiasi valico monitorato. Include un blocco snapshot: coda attuale (queue_now), tempo di attesa stimato wait_min = tmin + coda × tpercar, anzianità dei dati e fonte.

GET https://nakordoni.eu/api/v1/data/queue — classe di quota: heavy

ParametroDescrizione
ppidID del valico, ad es. id_13 (vedi /api/v1/data/checkpoints)
sectionSezione dati (opzionale)
originCodice paese di origine (opzionale)
destinationCodice paese di destinazione (opzionale)

Campi della risposta — all’interno dell’oggetto data della busta. [] indica una lista, quindi data.items[].name è il campo name di ogni elemento. Un campo è null, assente o una lista vuota quando non abbiamo un valore — mai un segnaposto.

CampoDescrizione
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"
🔑 Accedi come sviluppatore per provare questo endpoint dal vivo nella sandbox — 50 chiamate di prova gratuite al giorno. Accedi