Telemetry
Positions, tracks, trips, stops, daily statistics, timelines and camera media.
Base URLhttps://api.ping.nml.sa/v111 operations
Jump to an operation
Common errors
Operations on this page answer these errors in one shape; each operation lists the ones it returns.
400The request is invalid (code: invalid_request), with field errors.401The API key is missing, unknown, expired or revoked (code: unauthorized).403The API key lacks the scope this operation needs (code: forbidden).404No such resource in this account, or outside the key's data scope (code: not_found).429The key's rate limit is reached (code: rate_limited). Retry after the Retry-After header's seconds.
Get each vehicle's or driver's driving score over a period
GET/v1/driving-scores
Distance, driving and idle time, harsh driving and overspeeding events, and a 0 to 100 score per vehicle (or per driver with `by=driver`), over the Riyadh calendar days from `from` to `to` inclusive, at most 92 days, or per Riyadh week (Sunday first) with `per=week`. Without dates, the last 7 days. Trips count by their start; events count with the trip they happened in. A trip's driver is the driver whose iButton key or card the device read, else the driver assigned to the vehicle when it started.
Scopetelemetry:read
Parameters
fromstring (date)queryFirst day (Riyadh), YYYY-MM-DD.
e.g.
2026-11-01tostring (date)queryLast day (Riyadh), YYYY-MM-DD, inclusive.
e.g.
2026-11-07bystringqueryScore each vehicle (default) or each driver.
e.g.
driverperstringqueryOne score over the whole period (default) or one per week.
e.g.
week
Response 200
fromstring (date)e.g.
2026-11-10tostring (date)e.g.
2026-11-16bystringone of
vehicledriverperstringone of
periodweekdataobject[]One entry per vehicle (or driver) with trips in the period (per week, per week with trips), by week then id.
Fields of data
vehicle_idstring | nullThe vehicle; null when scoring by driver.
driver_idstring | nullThe driver when scoring by driver; null there for trips no driver was known for, and always null by vehicle.
e.g.
nullweekstring | null (date)The Sunday the Riyadh week starts with, per week; null over the period.
e.g.
nulldistance_mnumbere.g.
412300driving_sintegere.g.
41200idle_sintegere.g.
3600harsh_accelerationintegerHarsh acceleration events the device reported.
e.g.
1harsh_brakingintegere.g.
2harsh_corneringintegere.g.
0overspeedintegerOverspeeding events (the device's own speed limit).
e.g.
1scoreinteger | null0 to 100, higher is safer: harsh and overspeeding events per 100 km and the share of idling. Null under the minimum distance.
e.g.
86
Errors
curl "https://api.ping.nml.sa/v1/driving-scores" \
-H "Authorization: Bearer $PING_API_KEY"{
"from": "2026-11-10",
"to": "2026-11-16",
"by": "vehicle",
"per": "period",
"data": [
{
"vehicle_id": "string",
"driver_id": null,
"week": null,
"distance_m": 412300,
"driving_s": 41200,
"idle_s": 3600,
"harsh_acceleration": 1,
"harsh_braking": 2,
"harsh_cornering": 0,
"overspeed": 1,
"score": 86
}
]
}Download a photo or clip
GET/v1/media/{mediaId}/file
The photo (JPEG) or clip (MP4) itself, for an account that owned the vehicle when it was taken. A file not yet received answers 404.
Scopetelemetry:read
Parameters
mediaIdstringpath requirede.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d
Response 200
The file. image/jpeg
Errors
curl "https://api.ping.nml.sa/v1/media/019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d/file" \
-H "Authorization: Bearer $PING_API_KEY"Get the last known position of each vehicle
GET/v1/positions/last
The latest position and state of every vehicle the account owns now, from the device installed in it. Vehicles with no position since their device was installed are left out. Ordered by vehicle id.
Scopetelemetry:read
Parameters
limitintegerqueryItems per page, 1 to 200 (default 50).
cursorstringqueryThe next_cursor of the previous page.
Response 200
dataobject[]Fields of data
vehicle_idstringe.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dfix_timestring (date-time)When the device took the position (GNSS time).
e.g.
2026-11-17T08:42:10ZlatnumberLatitude, WGS 84.
e.g.
24.7136lonnumberLongitude, WGS 84.
e.g.
46.6753speed_kmhinteger | nulle.g.
62course_deginteger | nullHeading, degrees clockwise from north.
e.g.
274ignitionboolean | nullIgnition on; null when the device does not report it.
e.g.
truemovingboolean | nulle.g.
trueconnectedbooleanThe device holds an open connection now.
e.g.
truelast_seen_atstring (date-time)When the device last sent data.
e.g.
2026-11-17T08:42:12Zodometer_minteger | nullOdometer in metres, as the device reports it.
e.g.
128450300engine_sinteger | nullTotal engine hours in seconds, as the device reports them.
e.g.
4518000state_sincestring | null (date-time)When the current state began: moving, idling (ignition on, not moving) or parked (ignition off).
e.g.
2026-11-17T08:31:40ZdeviceobjectThe device installed in the vehicle.
Fields of device
idstringe.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dimeistringInternational Mobile Equipment Identity
e.g.
490154203237518modelstringe.g.
FMC130
signalsobject[]The latest value of each measurement signal the device reports (fuel_level_pct, fuel_used_l, engine_hours_h, external_voltage_v, battery_voltage_v, gsm_signal, eco_score, cargo_temp_c ...), by key.
Fields of signals
keystringA measurement signal (infra/devices/io/signals.toml; eventual IO such as harsh driving is a driving event instead). Flags read 0 or 1.
one of
fuel_used_lfuel_level_pctengine_hours_hengine_rpmfault_codesseatbelt_driverdoor_opencargo_temp_ccargo_temp_2_cexternal_voltage_vbattery_voltage_vgsm_signaleco_scorevaluenumbere.g.
64atstring (date-time)Fix time of the record that carried it.
e.g.
2026-11-17T08:40:00Z
next_cursorstring | nulle.g.
eyJpZCI6InZlaF83S3EyIn0
Errors
curl "https://api.ping.nml.sa/v1/positions/last" \
-H "Authorization: Bearer $PING_API_KEY"{
"data": [
{
"vehicle_id": "019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d",
"fix_time": "2026-11-17T08:42:10Z",
"lat": 24.7136,
"lon": 46.6753,
"speed_kmh": 62,
"course_deg": 274,
"ignition": true,
"moving": true,
"connected": true,
"last_seen_at": "2026-11-17T08:42:12Z",
"odometer_m": 128450300,
"engine_s": 4518000,
"state_since": "2026-11-17T08:31:40Z",
"device": {
"id": "019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d",
"imei": "490154203237518",
"model": "FMC130"
},
"signals": [
{
"key": "fuel_level_pct",
"value": 64,
"at": "2026-11-17T08:40:00Z"
}
]
}
],
"next_cursor": "eyJpZCI6InZlaF83S3EyIn0"
}Get a vehicle's daily distance, driving, idle and engine time, events and fuel
GET/v1/vehicles/{vehicleId}/daily-stats
One entry per day with data, by the Riyadh calendar day (UTC+3), from `from` to `to` inclusive, at most 92 days. Without them, the last 7 days.
Scopetelemetry:read
Parameters
vehicleIdstringpath requiredThe vehicle id.
e.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dfromstring (date)queryFirst day (Riyadh), YYYY-MM-DD.
e.g.
2026-11-01tostring (date)queryLast day (Riyadh), YYYY-MM-DD, inclusive.
e.g.
2026-11-07
Response 200
vehicle_idstringe.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dfromstring (date)e.g.
2026-11-10tostring (date)e.g.
2026-11-16dataobject[]Days with data, oldest first.
Fields of data
datestring (date)The Riyadh calendar day.
e.g.
2026-11-16distance_mnumberDistance over valid positions, metres.
e.g.
84210driving_sintegerDriving time of the trips that started that day, seconds.
e.g.
9120idle_sintegerIdle time of the trips that started that day, seconds.
e.g.
1410engine_sinteger | nullEngine time from the device's engine hours counter, seconds; null when the device does not report it.
e.g.
11200max_speed_kmhinteger | nulle.g.
118tripsintegere.g.
7harsh_eventsintegerHarsh acceleration, braking and cornering events that day.
e.g.
3overspeedintegerOverspeeding events that day.
e.g.
1fuel_used_lnumber | nullFuel used that day, from the engine's fuel counter; null when the device does not report it.
e.g.
31.8
Errors
curl "https://api.ping.nml.sa/v1/vehicles/019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d/daily-stats" \
-H "Authorization: Bearer $PING_API_KEY"{
"vehicle_id": "019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d",
"from": "2026-11-10",
"to": "2026-11-16",
"data": [
{
"date": "2026-11-16",
"distance_m": 84210,
"driving_s": 9120,
"idle_s": 1410,
"engine_s": 11200,
"max_speed_kmh": 118,
"trips": 7,
"harsh_events": 3,
"overspeed": 1,
"fuel_used_l": 31.8
}
]
}Get a vehicle's refuels and fuel drops
GET/v1/vehicles/{vehicleId}/fuel-events
Refuels and drops found in the tank level: a rise or a fall past the thresholds (services/telemetry/unit.toml [service.fuel]) while the vehicle stands, newest first. Without from and to, the last 7 days; at most 31 days.
Scopetelemetry:read
Parameters
vehicleIdstringpath requiredThe vehicle id.
e.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dfromstring (date-time)queryStart of the period, RFC 3339 (inclusive). Default: 7 days before to.
e.g.
2026-11-10T00:00:00Ztostring (date-time)queryEnd of the period, RFC 3339 (exclusive). Default: now.
e.g.
2026-11-17T00:00:00Z
Response 200
vehicle_idstringe.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dfromstring (date-time)e.g.
2026-11-10T00:00:00Ztostring (date-time)e.g.
2026-11-17T00:00:00Zdataobject[]Newest first.
Fields of data
atstring (date-time)When the level began to change.
e.g.
2026-11-17T06:05:00Zkindstringone of
refueldropfrom_pctnumbere.g.
22to_pctnumbere.g.
96latnumber | nulle.g.
24.7136lonnumber | nulle.g.
46.6753ignitionboolean | nullThe ignition was on at some point while the level changed; null when the device does not report it. A drop with the engine off is one the theft check keeps.
e.g.
false
Errors
curl "https://api.ping.nml.sa/v1/vehicles/019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d/fuel-events" \
-H "Authorization: Bearer $PING_API_KEY"{
"vehicle_id": "019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d",
"from": "2026-11-10T00:00:00Z",
"to": "2026-11-17T00:00:00Z",
"data": [
{
"at": "2026-11-17T06:05:00Z",
"kind": "refuel",
"from_pct": 22,
"to_pct": 96,
"lat": 24.7136,
"lon": 46.6753,
"ignition": false
}
]
}List photos and clips from a vehicle's cameras
GET/v1/vehicles/{vehicleId}/media
Photos and clips from the vehicle's cameras (FMC650 with DualCam or DashCam), newest first, with what triggered them and their status. Download a stored file with getMediaFile.
Scopetelemetry:read
Parameters
vehicleIdstringpath requiredThe vehicle id.
e.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dfromstring (date-time)queryStart of the period, RFC 3339 (inclusive). Default: 7 days before to.
e.g.
2026-11-10T00:00:00Ztostring (date-time)queryEnd of the period, RFC 3339 (exclusive). Default: now.
e.g.
2026-11-17T00:00:00ZlimitintegerqueryItems per page, 1 to 200 (default 50).
cursorstringqueryThe next_cursor of the previous page.
Response 200
dataobject[]Fields of data
idstringe.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dvehicle_idstringe.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dkindstringone of
photoclipcamerastringone of
frontreartriggerstringThe alert rule template that asked for it (crash, panic, towing), or manual for a request from the console.
e.g.
crashstatusstringstored files can be downloaded.
one of
requestedreceivingstoredfailedcontent_typestringone of
image/jpegvideo/mp4requested_atstring (date-time)e.g.
2026-11-17T06:48:31Ztaken_atstring | null (date-time)When the camera took it; null until the device reports it.
e.g.
2026-11-17T06:48:30Zbytesinteger | nulle.g.
184320
next_cursorstring | nulle.g.
eyJpZCI6InZlaF83S3EyIn0
Errors
curl "https://api.ping.nml.sa/v1/vehicles/019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d/media" \
-H "Authorization: Bearer $PING_API_KEY"{
"data": [
{
"id": "019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d",
"vehicle_id": "019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d",
"kind": "photo",
"camera": "front",
"trigger": "crash",
"status": "stored",
"content_type": "image/jpeg",
"requested_at": "2026-11-17T06:48:31Z",
"taken_at": "2026-11-17T06:48:30Z",
"bytes": 184320
}
],
"next_cursor": "eyJpZCI6InZlaF83S3EyIn0"
}Get the history of one vehicle signal
GET/v1/vehicles/{vehicleId}/signals/{key}
One measurement signal (fuel_level_pct, external_voltage_v, cargo_temp_c ...) between two times, averaged per step (default 300 s), oldest first, at most 7 days per request.
Scopetelemetry:read
Parameters
vehicleIdstringpath requiredThe vehicle id.
e.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dkeystringpath requiredThe measurement signal (infra/devices/io/signals.toml).
e.g.
fuel_level_pctfromstring (date-time)query requiredStart of the window, RFC 3339 (inclusive).
e.g.
2026-11-17T00:00:00Ztostring (date-time)query requiredEnd of the window, RFC 3339 (exclusive).
e.g.
2026-11-17T12:00:00ZstepintegerquerySeconds per point, 60 to 3600.
Response 200
vehicle_idstringe.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dkeystringA measurement signal (infra/devices/io/signals.toml; eventual IO such as harsh driving is a driving event instead). Flags read 0 or 1.
one of
fuel_used_lfuel_level_pctengine_hours_hengine_rpmfault_codesseatbelt_driverdoor_opencargo_temp_ccargo_temp_2_cexternal_voltage_vbattery_voltage_vgsm_signaleco_scorestep_sintegere.g.
300dataobject[]Oldest first; steps without a reading are left out.
Fields of data
atstring (date-time)e.g.
2026-11-17T06:05:00Zvaluenumbere.g.
64.5
Errors
curl "https://api.ping.nml.sa/v1/vehicles/019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d/signals/fuel_level_pct?from=2026-11-17T00:00:00Z&to=2026-11-17T12:00:00Z" \
-H "Authorization: Bearer $PING_API_KEY"{
"vehicle_id": "019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d",
"key": "fuel_level_pct",
"step_s": 300,
"data": [
{
"at": "2026-11-17T06:05:00Z",
"value": 64.5
}
]
}List a vehicle's stops in a period
GET/v1/vehicles/{vehicleId}/stops
Stops that start in the period, newest first, with their duration, location and idling time. Without `from` and `to`, the last 7 days.
Scopetelemetry:read
Parameters
vehicleIdstringpath requiredThe vehicle id.
e.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dfromstring (date-time)queryStart of the period, RFC 3339 (inclusive). Default: 7 days before to.
e.g.
2026-11-10T00:00:00Ztostring (date-time)queryEnd of the period, RFC 3339 (exclusive). Default: now.
e.g.
2026-11-17T00:00:00ZlimitintegerqueryItems per page, 1 to 200 (default 50).
cursorstringqueryThe next_cursor of the previous page.
Response 200
dataobject[]Fields of data
vehicle_idstringe.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dstarted_atstring (date-time)e.g.
2026-11-17T06:48:30Zended_atstring (date-time)e.g.
2026-11-17T07:20:00Zduration_sintegere.g.
1890latnumbere.g.
24.6877lonnumbere.g.
46.7219ignition_on_sintegerIdling inside the stop: ignition on, seconds.
e.g.
240
next_cursorstring | nulle.g.
eyJpZCI6InZlaF83S3EyIn0
Errors
curl "https://api.ping.nml.sa/v1/vehicles/019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d/stops" \
-H "Authorization: Bearer $PING_API_KEY"{
"data": [
{
"vehicle_id": "019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d",
"started_at": "2026-11-17T06:48:30Z",
"ended_at": "2026-11-17T07:20:00Z",
"duration_s": 1890,
"lat": 24.6877,
"lon": 46.7219,
"ignition_on_s": 240
}
],
"next_cursor": "eyJpZCI6InZlaF83S3EyIn0"
}Get a vehicle's timeline of ignition, motion, trips, stops, driving events and connectivity
GET/v1/vehicles/{vehicleId}/timeline
Ignition and motion changes, trip and stop boundaries, harsh driving, overspeeding, crash, towing, jamming and power-cut events, and device connections in one time-ordered list, at most 24 hours per request. Alarms are read with the rules API.
Scopetelemetry:read
Parameters
vehicleIdstringpath requiredThe vehicle id.
e.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dfromstring (date-time)query requiredStart of the window, RFC 3339 (inclusive).
e.g.
2026-11-17T00:00:00Ztostring (date-time)query requiredEnd of the window, RFC 3339 (exclusive).
e.g.
2026-11-17T12:00:00Z
Response 200
vehicle_idstringe.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dfromstring (date-time)e.g.
2026-11-17T00:00:00Ztostring (date-time)e.g.
2026-11-17T12:00:00Zeventsobject[]Oldest first.
Fields of events
atstring (date-time)e.g.
2026-11-17T06:48:30Zkindstringone of
ignition_onignition_offmotion_startmotion_stoptrip_starttrip_endstop_startstop_enddevice_connecteddevice_disconnectedharsh_accelerationharsh_brakingharsh_corneringoverspeedcrashtowingjammingunpluglatnumber | nulle.g.
24.6877lonnumber | nulle.g.
46.7219valuenumber | nullHarsh driving force in g, overspeeding speed in km/h, crash trace type; null for other kinds.
e.g.
null
Errors
curl "https://api.ping.nml.sa/v1/vehicles/019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d/timeline?from=2026-11-17T00:00:00Z&to=2026-11-17T12:00:00Z" \
-H "Authorization: Bearer $PING_API_KEY"{
"vehicle_id": "019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d",
"from": "2026-11-17T00:00:00Z",
"to": "2026-11-17T12:00:00Z",
"events": [
{
"at": "2026-11-17T06:48:30Z",
"kind": "ignition_off",
"lat": 24.6877,
"lon": 46.7219,
"value": null
}
]
}Get a vehicle's track between two times
GET/v1/vehicles/{vehicleId}/track
The vehicle's positions from `from` (inclusive) to `to` (exclusive), oldest first, at most 7 days per request. Positions flagged as invalid (no fix or an impossible jump) are kept with valid = false.
Scopetelemetry:read
Parameters
vehicleIdstringpath requiredThe vehicle id.
e.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dfromstring (date-time)query requiredStart of the window, RFC 3339 (inclusive).
e.g.
2026-11-17T00:00:00Ztostring (date-time)query requiredEnd of the window, RFC 3339 (exclusive).
e.g.
2026-11-17T12:00:00ZlimitintegerqueryItems per page, 1 to 200 (default 50).
cursorstringqueryThe next_cursor of the previous page.
Response 200
dataobject[]Fields of data
fix_timestring (date-time)e.g.
2026-11-17T08:42:10Zlatnumbere.g.
24.7136lonnumbere.g.
46.6753altitude_minteger | nulle.g.
612speed_kmhinteger | nulle.g.
62course_deginteger | nullHeading, 0 to 359 degrees from north.
e.g.
145satellitesinteger | nulle.g.
11ignitionboolean | nulle.g.
truemotionboolean | nulle.g.
truevalidbooleanFalse for a position with no fix, at 0,0, or after an impossible jump.
e.g.
true
next_cursorstring | nulle.g.
eyJpZCI6InZlaF83S3EyIn0
Errors
curl "https://api.ping.nml.sa/v1/vehicles/019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d/track?from=2026-11-17T00:00:00Z&to=2026-11-17T12:00:00Z" \
-H "Authorization: Bearer $PING_API_KEY"{
"data": [
{
"fix_time": "2026-11-17T08:42:10Z",
"lat": 24.7136,
"lon": 46.6753,
"altitude_m": 612,
"speed_kmh": 62,
"course_deg": 145,
"satellites": 11,
"ignition": true,
"motion": true,
"valid": true
}
],
"next_cursor": "eyJpZCI6InZlaF83S3EyIn0"
}List a vehicle's trips in a period
GET/v1/vehicles/{vehicleId}/trips
Trips that start in the period, newest first. A trip runs from ignition on and motion to the stop that ends it. Without `from` and `to`, the last 7 days.
Scopetelemetry:read
Parameters
vehicleIdstringpath requiredThe vehicle id.
e.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dfromstring (date-time)queryStart of the period, RFC 3339 (inclusive). Default: 7 days before to.
e.g.
2026-11-10T00:00:00Ztostring (date-time)queryEnd of the period, RFC 3339 (exclusive). Default: now.
e.g.
2026-11-17T00:00:00ZlimitintegerqueryItems per page, 1 to 200 (default 50).
cursorstringqueryThe next_cursor of the previous page.
Response 200
dataobject[]Fields of data
vehicle_idstringe.g.
019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9dstarted_atstring (date-time)e.g.
2026-11-17T06:10:00Zended_atstring (date-time)e.g.
2026-11-17T06:48:30Zstart_latnumber | nulle.g.
24.7136start_lonnumber | nulle.g.
46.6753end_latnumber | nulle.g.
24.6877end_lonnumber | nulle.g.
46.7219distance_mnumbere.g.
18420driving_sintegerTime in motion, seconds.
e.g.
1980idle_sintegerTime with ignition on and no motion, seconds.
e.g.
330max_speed_kmhinteger | nulle.g.
104harsh_accelerationintegerHarsh acceleration events the device reported.
e.g.
1harsh_brakingintegere.g.
2harsh_corneringintegere.g.
0overspeedintegerOverspeeding events (the device's own speed limit).
e.g.
1fuel_used_lnumber | nullFuel used over the trip, from the engine's fuel counter; null when the device does not report it.
e.g.
6.4driver_keystring | nullThe driver's iButton key or card (hex) last presented during the trip; null when none was. Matches a fleet driver's ibutton_id.
e.g.
01A2B3C4D5E6F708driver_idstring | nullThe fleet driver: whoever carried that key when the trip started, else the driver assigned to the vehicle then; null when neither is known.
next_cursorstring | nulle.g.
eyJpZCI6InZlaF83S3EyIn0
Errors
curl "https://api.ping.nml.sa/v1/vehicles/019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d/trips" \
-H "Authorization: Bearer $PING_API_KEY"{
"data": [
{
"vehicle_id": "019ac0c4-6f1e-7a3b-9c2d-4e5f6a7b8c9d",
"started_at": "2026-11-17T06:10:00Z",
"ended_at": "2026-11-17T06:48:30Z",
"start_lat": 24.7136,
"start_lon": 46.6753,
"end_lat": 24.6877,
"end_lon": 46.7219,
"distance_m": 18420,
"driving_s": 1980,
"idle_s": 330,
"max_speed_kmh": 104,
"harsh_acceleration": 1,
"harsh_braking": 2,
"harsh_cornering": 0,
"overspeed": 1,
"fuel_used_l": 6.4,
"driver_key": "01A2B3C4D5E6F708",
"driver_id": "string"
}
],
"next_cursor": "eyJpZCI6InZlaF83S3EyIn0"
}