Слање вести и флота NakBus сада су на партнерској табли
Повежите свој developer налог са Nakordoni Partners налогом са истом имејл адресом и тамо управљајте вестима и својом флотом аутобуса (NakDriver / NakManager), са тимским улогама. Ваши API кључеви, endpoint-и и апликације остају непромењени, а странице овде и даље раде. Отвори Nakordoni Partners

← Све крајње тачке

API граничног реда уживо Online

Редови у реалном времену, процена времена чекања и статус за сваки граничниот прелаз. Укључује блок snapshot: тренутни ред (queue_now), прогнозирано чекање wait_min, старост података и извор.

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_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"
🔑 Пријавите се као програмер да бисте ову крајњу тачку испробали уживо у Sandbox-у — 50 бесплатних тест позива дневно. Пријава

Ažurirano