API File d'Attente Frontalière en Direct Online
Files d'attente en temps réel, estimation du temps d'attente et statut pour tout poste-frontière surveillé. Comprend un bloc snapshot : file actuelle (queue_now), temps d'attente prévu wait_min = tmin + file × tpercar, âge des données et source.
GET https://nakordoni.eu/api/v1/data/queue
— classe de quota: heavy
| Paramètre | Description |
|---|---|
ppid | Identifiant du point de passage, par ex. id_13 (voir /api/v1/data/checkpoints) |
section | Section de données (optionnel) |
origin | Code du pays d'origine (optionnel) |
destination | Code du pays de destination (optionnel) |
Champs de la réponse — à l’intérieur de l’objet data de l’enveloppe. [] indique une liste : data.items[].name est donc le champ name de chaque élément. Un champ vaut null, est absent ou est une liste vide quand nous n’avons pas de valeur — jamais un espace réservé.
| Champ | Description |
|---|---|
data[] | Hourly series for the checkpoint, oldest first — one element per reading. |
data[].time | Unix timestamp of the reading, in the checkpoint's own timezone. |
data[].avg_cars | Vehicles in the queue at that hour. |
data[].wait_time | Wait in minutes at that hour. |
data[].wait_time_estimated | true = the wait is our estimate from the queue length, not an official figure. |
data[].type_of_data | Provenance marker of the reading (official feed, camera count, driver report…). |
snapshot | Envelope-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"
🔑 Connectez-vous en tant que développeur pour essayer cet endpoint en direct dans la sandbox — 50 appels de test gratuits par jour. Connexion