La soumission d'actualités et la flotte NakBus sont désormais dans le tableau de bord partenaire
Connectez votre compte développeur à un compte Nakordoni Partners avec la même adresse e-mail et gérez-y les actualités et votre flotte de bus (NakDriver / NakManager), avec des rôles d'équipe. Vos clés API, points de terminaison et applications restent inchangés, et les pages ici continuent de fonctionner. Ouvrir Nakordoni Partners

← Tous les endpoints

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, âge des données et source.

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

ParamètreDescription
ppidIdentifiant du point de passage, par ex. id_13 (voir /api/v1/data/checkpoints)
sectionSection de données (optionnel)
originCode du pays d'origine (optionnel)
destinationCode 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é.

ChampDescription
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_data1 = a real observation; 2 = a forecast point (future hours). It says whether the row was measured or predicted — it carries no information about where the reading came from.
data[].data_qualityHow that row was arrived at: high = counted from a real observation source at the crossing, low = a modelled estimate where no counting source exists. Present on observation rows only (type_of_data 1) — a forecast point is predicted by definition. Same high|low vocabulary as the checkpoints directory, Border Queue and Best Time to Cross. Both are real answers; low is not an error, but it is an estimate and should be labelled as one if you show it to drivers.
snapshot.timezoneIANA zone that snapshot.updated_at is expressed in — it is the checkpoint's own local time, not one fixed zone (e.g. Europe/Istanbul for id_385, Europe/Sofia for id_390, Europe/Budapest for id_407). Use it to resolve updated_at to an absolute instant.
snapshotEnvelope-level, beside data: the current state — queue_now, wait_min, updated_at, timezone, age_min, data_quality. 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

Mis à jour