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

← All endpoints

Fleet History API Online

Recorded GPS track of your own vehicles: every stored position point in a time window, in chronological order, with speed, bearing and accuracy. Filter to one vehicle or take the whole fleet. Window is limited to 31 days per call and 5000 points per response — page through longer periods by moving ?from= to the last returned timestamp.

GET https://nakordoni.eu/api/v2/data/fleet/history — quota class: heavy

ParameterDescription
vehicle_idRestrict to one of your vehicles (optional; ids come from fleet/vehicles). Omit for the whole fleet.
fromWindow start — unix timestamp or ISO-8601 datetime (default: 24 h before `to`). A datetime without an explicit offset is read as UTC.
toWindow end — unix timestamp or ISO-8601 datetime (default: now). The window may not exceed 31 days.
limitMax points returned, 1-5000 (default 1000, values above 5000 are clamped). `truncated: true` means more points exist in the window.

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.

FieldDescription
data.points[].vehicle_idVehicle the fix belongs to, with plate.
data.points[].latPosition, with lon, ts, datetime (UTC) and accuracy_m.
data.points[].speed_msSpeed in m/s at the fix, with bearing_deg.
data.fromWindow actually queried, with to and limit.
data.countPoints returned; truncated is true when count reached limit — continue from the last ts rather than widening the window.
data.vehicle_idThe vehicle filtered to, null when the window covers the whole fleet.
curl "https://nakordoni.eu/api/v2/data/fleet/history?vehicle_id=1&from=2026-08-01T00:00:00Z&to=2026-08-02T00:00:00Z&limit=1000" \
  -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