News submission and NakBus fleet are now in the partner dashboard
Connect your developer account to a Nakordoni Partners account with the same email and manage news and your bus fleet (NakDriver / NakManager) there, with team roles. Your API keys, endpoints and apps are unchanged, and the pages here keep working. Open Nakordoni Partners
Checkpoint Hourly Statistics API Online
Hourly historical queue stats per checkpoint and date: 24 hourly values, daily avg/min/max, peak and quietest hours, day-over-day comparison.
GET https://nakordoni.eu/api/v1/data/stats
— quota class: heavy
| Parameter | Description |
|---|---|
ppid | Checkpoint ID, e.g. id_13 (see /api/v1/data/checkpoints) |
date | YYYY-MM-DD (default: yesterday) |
compare | 1 = include previous day + delta |
lang | Language code (default uk) |
Response fields — inside the data object of the envelope. [] marks a list, so data.items[].name is the name field of each element. A field is null, absent or an empty list when we hold no value for it — never a placeholder.
| Field | Description |
|---|---|
data.ppid | Checkpoint the statistics belong to, with checkpoint.name and checkpoint.source_url. |
data.date | The day covered, in the checkpoint's timezone (data.timezone); unit says what the numbers count. |
data.hourly[] | 24 elements: hour, value, data_points (observations behind that hour). value is null for an hour with no data. |
data.labels | Hour labels for the 24 buckets; values is the bare value series, aligned with them. |
data.daily | Whole-day rollup: avg, min, max, total, hours_with_data. |
data.peak | Busiest hour of the day, and quietest the calmest — both null when the day has too little data. |
data.data_available | false = we hold nothing for that date; every number above is then empty rather than zero. |
data.compare | Present only with compare=1: the same shape for the previous day plus delta_avg. |
curl "https://nakordoni.eu/api/v1/data/stats?ppid=id_15&date=2026-06-01&compare=1" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Log in as a developer to try this endpoint live in the sandbox — 50 free test calls a day. Log in
Updated