El envío de noticias y la flota NakBus ahora están en el panel de socio
Conecta tu cuenta de desarrollador a una cuenta de Nakordoni Partners con el mismo correo electrónico y gestiona allí las noticias y tu flota de autobuses (NakDriver / NakManager), con roles de equipo. Tus claves API, endpoints y aplicaciones permanecen sin cambios, y las páginas aquí siguen funcionando. Abrir Nakordoni Partners

← Todos los endpoints

API Cola Fronteriza en Vivo Online

Colas en tiempo real, estimación del tiempo de espera y estado para cualquier paso fronterizo monitoreado. Incluye un bloque snapshot: cola actual (queue_now), tiempo de espera pronosticado wait_min, antigüedad y fuente de datos.

GET https://nakordoni.eu/api/v1/data/queue — clase de cuota: heavy

ParámetroDescripción
ppidID del puesto, p. ej. id_13 (ver /api/v1/data/checkpoints)
sectionSección de datos (opcional)
originCódigo del país de origen (opcional)
destinationCódigo del país de destino (opcional)

Campos de la respuesta — dentro del objeto data del sobre de respuesta. [] indica una lista, así que data.items[].name es el campo name de cada elemento. Un campo es null, no aparece o es una lista vacía cuando no tenemos valor: nunca un marcador de posición.

CampoDescripción
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"
🔑 Inicia sesión como desarrollador para probar este endpoint en vivo en el sandbox — 50 llamadas de prueba gratuitas al día. Iniciar sesión

Actualizado