FleetTrack
FleetTrack External API

Error

error
​string · required

Human-readable. May be reworded at any time; do not parse it.

code
​string · enum · required

Stable machine code. Branch on this.

Enum values:
authentication_failed
not_found
invalid_input
window_invalid
query_timeout
camera_not_found
position_not_available
invalid_camera_position

AssetDaySummaryResponse

account_id
​string · required
asset_id
​string · required

Echoes the requested device_id.

from
​string · date-time · required
to
​string · date-time · required
​AssetDay[] · required

One row per UTC day that has data. May be empty.

AssetDay

asset_id
​string · required
timestamp
​string · date-time · required

Start of the UTC day this row covers.

Example: 2026-09-03T00:00:00Z
idle_count
​integer · required

Number of idle events recorded that day.

trip_count
​integer · required

Number of trips that day.

idle_seconds
​integer · required

Total seconds idling. A gap between two events counts as idle only when the earlier event's speed was zero; a gap that straddles midnight is attributed to the day of the later event.

idle_over_threshold_seconds
​integer · required

Of idle_seconds, the portion past your account's configured minimum idle duration. Movement resets the running stretch, so short pauses never accumulate toward it.

odometer_km
​number | null

The day's final odometer reading. Null when the vehicle reported none.

distance_km
​number | null

Distance travelled that day. Null when it cannot be derived.

EventDataResponse

account_id
​string · required
device_id
​string | null · required

The device_id filter, or null for the whole account.

from
​string · date-time · required
to
​string · date-time · required
​EventRecord[] · required
next_cursor
​string | null · required

Pass as cursor for the next page; null on the last page.

next
​string | null · uri · required

The next page's full URL, or null on the last page.

EventRecord

One EventData row. Every field is always present; a value the device did not report is `null` (or, for some devices, `0`). `account_id`, `device_id`, `timestamp` and `status_code` together identify the event.
account_id
​string · maxLength: 32 · readOnly · required

Account the event belongs to. GTS column accountID.

device_id
​string · maxLength: 32 · readOnly · required

FleetTrack device ID of the vehicle. GTS column deviceID.

timestamp
​string · date-time · readOnly · required

When the event happened (device time), UTC. GTS column timestamp.

status_code
​integer · min: 0 · max: 4294967295 · readOnly · required

GTS status code: what kind of event this is (e.g. 61714 = in motion). GTS column statusCode.

latitude
​number | null · required

Latitude, decimal degrees (WGS 84). 0 or null when there was no GPS fix. GTS column latitude.

longitude
​number | null · required

Longitude, decimal degrees (WGS 84). 0 or null when there was no GPS fix. GTS column longitude.

gps_age
​integer | null · min: 0 · max: 4294967295 · required

Age of the GPS fix when the event was recorded, seconds. GTS column gpsAge.

speed_kph
​number | null · required

Speed, km/h. GTS column speedKPH.

heading
​number | null · required

Heading, degrees clockwise from true north. GTS column heading.

altitude
​number | null · required

Altitude, metres. GTS column altitude.

transport_id
​string | null · maxLength: 32 · required

Transport (modem) identifier the event arrived on. GTS column transportID.

input_mask
​integer | null · min: 0 · max: 4294967295 · required

Digital input states as a bit mask. GTS column inputMask.

output_mask
​integer | null · min: 0 · max: 4294967295 · required

Digital output states as a bit mask. GTS column outputMask.

ignition_state
​integer | null · min: 0 · max: 255 · required

Ignition state: 1 on, 0 off. GTS column ignitionState.

address
​string | null · maxLength: 90 · required

Reverse-geocoded full address. GTS column address.

data_source
​string | null · maxLength: 32 · required

Source of the event data. GTS column dataSource.

raw_data
​string | null · required

Raw payload as received from the device, when stored. GTS column rawData.

distance_km
​number | null · required

Trip distance reported by the device, km. GTS column distanceKM.

odometer_km
​number | null · required

Odometer reading, km. Add odometer_offset_km for the displayed odometer. GTS column odometerKM.

odometer_offset_km
​number | null · required

Offset applied to odometer_km to match the vehicle's odometer, km. GTS column odometerOffsetKM.

geozone_index
​integer | null · min: 0 · max: 4294967295 · required

Index of the geozone the vehicle was in. GTS column geozoneIndex.

geozone_id
​string | null · maxLength: 32 · required

ID of the geozone the vehicle was in. GTS column geozoneID.

creation_time
​string | null · date-time · readOnly · required

When FleetTrack received and stored the event, UTC. GTS column creationTime.

creation_millis
​integer | null · min: -9223372036854776000 · max: 9223372036854776000 · readOnly · required

When FleetTrack stored the event, epoch milliseconds. GTS column creationMillis.

data_push
​integer | null · enum · required

As reported by the device. GTS column dataPush.

Enum values:
0
1
street_address
​string | null · maxLength: 90 · required

Reverse-geocoded street address. GTS column streetAddress.

city
​string | null · maxLength: 40 · required

Reverse-geocoded city. GTS column city.

state_province
​string | null · maxLength: 40 · required

Reverse-geocoded state or province. GTS column stateProvince.

postal_code
​string | null · maxLength: 16 · required

Reverse-geocoded postal code. GTS column postalCode.

country
​string | null · maxLength: 40 · required

Reverse-geocoded country. GTS column country.

subdivision
​string | null · maxLength: 32 · required

As reported by the device. GTS column subdivision.

speed_limit_kph
​number | null · required

Posted speed limit at the location, km/h. GTS column speedLimitKPH.

is_toll_road
​integer | null · enum · required

1 when the location is on a toll road. GTS column isTollRoad.

Enum values:
0
1
gps_fix_type
​integer | null · min: 0 · max: 65535 · required

As reported by the device. GTS column gpsFixType.

gps_fix_status
​integer | null · min: 0 · max: 4294967295 · required

As reported by the device. GTS column gpsFixStatus.

horz_accuracy
​number | null · required

Horizontal accuracy of the GPS fix, metres. GTS column horzAccuracy.

vert_accuracy
​number | null · required

Vertical accuracy of the GPS fix, metres. GTS column vertAccuracy.

hdop
​number | null · required

Horizontal dilution of precision of the GPS fix. GTS column HDOP.

satellite_count
​integer | null · min: 0 · max: 65535 · required

Number of GPS satellites in view. GTS column satelliteCount.

battery_level
​number | null · required

Device battery level, percent. GTS column batteryLevel.

battery_volts
​number | null · required

Device battery voltage, volts. GTS column batteryVolts.

battery_temp
​number | null · required

As reported by the device. GTS column batteryTemp.

signal_strength
​number | null · required

Cellular signal strength. GTS column signalStrength.

sequence
​integer | null · min: 0 · max: 4294967295 · required

As reported by the device. GTS column sequence.

priority
​integer | null · min: 0 · max: 65535 · required

As reported by the device. GTS column priority.

entity_id
​string | null · maxLength: 32 · required

As reported by the device. GTS column entityID.

entity_type
​integer | null · min: 0 · max: 65535 · required

As reported by the device. GTS column entityType.

driver_id
​string | null · maxLength: 32 · required

Driver ID associated with the event. GTS column driverID.

driver_status
​integer | null · min: 0 · max: 4294967295 · required

As reported by the device. GTS column driverStatus.

driver_message
​string | null · maxLength: 200 · required

As reported by the device. GTS column driverMessage.

sensor_low
​integer | null · min: 0 · max: 4294967295 · required

As reported by the device. GTS column sensorLow.

sensor_high
​integer | null · min: 0 · max: 4294967295 · required

As reported by the device. GTS column sensorHigh.

cost_center
​integer | null · min: 0 · max: 4294967295 · required

As reported by the device. GTS column costCenter.

job_number
​string | null · maxLength: 32 · required

As reported by the device. GTS column jobNumber.

rfid_tag
​string | null · maxLength: 32 · required

As reported by the device. GTS column rfidTag.

attach_type
​string | null · maxLength: 64 · required

As reported by the device. GTS column attachType.

attach_data
​string | null · readOnly · required

As reported by the device. GTS column attachData.

eta_timestamp
​string | null · date-time · required

As reported by the device. GTS column etaTimestamp.

eta_unique_id
​integer | null · min: 0 · max: 4294967295 · required

As reported by the device. GTS column etaUniqueID.

eta_distance_km
​number | null · required

As reported by the device. GTS column etaDistanceKM.

eta_latitude
​number | null · required

As reported by the device. GTS column etaLatitude.

eta_longitude
​number | null · required

As reported by the device. GTS column etaLongitude.

stop_id
​integer | null · min: 0 · max: 4294967295 · required

As reported by the device. GTS column stopID.

stop_status
​integer | null · min: 0 · max: 65535 · required

As reported by the device. GTS column stopStatus.

stop_index
​integer | null · min: -32768 · max: 32767 · required

As reported by the device. GTS column stopIndex.

message_timestamp
​string | null · date-time · required

As reported by the device. GTS column messageTimestamp.

message_id
​integer | null · min: -9223372036854776000 · max: 9223372036854776000 · required

As reported by the device. GTS column messageID.

message_status
​integer | null · min: 0 · max: 65535 · required

As reported by the device. GTS column messageStatus.

fuel_pressure
​number | null · required

As reported by the device. GTS column fuelPressure.

fuel_usage
​number | null · required

As reported by the device. GTS column fuelUsage.

fuel_temp
​number | null · required

As reported by the device. GTS column fuelTemp.

fuel_level
​number | null · required

Fuel level, fraction of a full tank (0-1) or percent depending on the device. GTS column fuelLevel.

fuel_level_2
​number | null · required

As reported by the device. GTS column fuelLevel2.

fuel_economy
​number | null · required

As reported by the device. GTS column fuelEconomy.

fuel_total
​number | null · required

As reported by the device. GTS column fuelTotal.

fuel_remain
​number | null · required

As reported by the device. GTS column fuelRemain.

fuel_trip
​number | null · required

As reported by the device. GTS column fuelTrip.

fuel_idle
​number | null · required

As reported by the device. GTS column fuelIdle.

fuel_pto
​number | null · required

As reported by the device. GTS column fuelPTO.

fuel_engine_on
​number | null · required

As reported by the device. GTS column fuelEngineOn.

engine_rpm
​integer | null · min: 0 · max: 4294967295 · required

Engine speed, RPM. GTS column engineRpm.

engine_hours
​number | null · required

Engine hours. GTS column engineHours.

engine_on_hours
​number | null · required

As reported by the device. GTS column engineOnHours.

engine_load
​number | null · required

Engine load, percent. GTS column engineLoad.

engine_torque
​number | null · required

As reported by the device. GTS column engineTorque.

idle_hours
​number | null · required

As reported by the device. GTS column idleHours.

work_hours
​number | null · required

As reported by the device. GTS column workHours.

work_distance_km
​number | null · required

As reported by the device. GTS column workDistanceKM.

trans_oil_temp
​number | null · required

As reported by the device. GTS column transOilTemp.

oil_cooler_in_temp
​number | null · required

As reported by the device. GTS column oilCoolerInTemp.

oil_cooler_out_temp
​number | null · required

As reported by the device. GTS column oilCoolerOutTemp.

coolant_pressure
​number | null · required

As reported by the device. GTS column coolantPressure.

coolant_level
​number | null · required

As reported by the device. GTS column coolantLevel.

coolant_temp
​number | null · required

Engine coolant temperature, degrees C. GTS column coolantTemp.

engine_temp
​number | null · required

As reported by the device. GTS column engineTemp.

intake_temp
​number | null · required

As reported by the device. GTS column intakeTemp.

brake_g_force
​number | null · required

As reported by the device. GTS column brakeGForce.

acceleration
​number | null · required

As reported by the device. GTS column acceleration.

accelerometer_xyz
​string | null · maxLength: 32 · required

As reported by the device. GTS column accelerometerXYZ.

brake_pressure
​number | null · required

As reported by the device. GTS column brakePressure.

mass_air_flow_rate
​number | null · required

As reported by the device. GTS column massAirFlowRate.

oil_pressure
​number | null · required

Engine oil pressure, kPa. GTS column oilPressure.

oil_level
​number | null · required

As reported by the device. GTS column oilLevel.

oil_temp
​number | null · required

Engine oil temperature, degrees C. GTS column oilTemp.

air_pressure
​number | null · required

As reported by the device. GTS column airPressure.

air_filter_pressure
​number | null · required

As reported by the device. GTS column airFilterPressure.

turbo_pressure
​number | null · required

As reported by the device. GTS column turboPressure.

pto_engaged
​integer | null · enum · required

1 when power take-off (PTO) is engaged. GTS column ptoEngaged.

Enum values:
0
1
pto_hours
​number | null · required

As reported by the device. GTS column ptoHours.

pto_distance_km
​number | null · required

As reported by the device. GTS column ptoDistanceKM.

throttle_pos
​number | null · required

Throttle position, percent. GTS column throttlePos.

brake_pos
​number | null · required

As reported by the device. GTS column brakePos.

v_battery_volts
​number | null · required

Vehicle battery voltage, volts. GTS column vBatteryVolts.

j1708_fault
​integer | null · min: 0 · max: 18446744073709552000 · required

As reported by the device. GTS column j1708Fault.

fault_code
​string | null · maxLength: 96 · required

Diagnostic fault code(s) reported by the vehicle. GTS column faultCode.

malfunction_lamp
​integer | null · enum · required

1 when the malfunction indicator lamp is on. GTS column malfunctionLamp.

Enum values:
0
1
tire_pressure
​string | null · maxLength: 750 · required

As reported by the device. GTS column tirePressure.

tire_temp
​string | null · maxLength: 750 · required

As reported by the device. GTS column tireTemp.

tank_level
​number | null · required

As reported by the device. GTS column tankLevel.

seatbelt_mask
​integer | null · min: 0 · max: 4294967295 · required

As reported by the device. GTS column seatbeltMask.

door_state_mask
​integer | null · min: 0 · max: 4294967295 · required

As reported by the device. GTS column doorStateMask.

lights_state_mask
​integer | null · min: 0 · max: 4294967295 · required

As reported by the device. GTS column lightsStateMask.

thermo_average_0
​number | null · required

As reported by the device. GTS column thermoAverage0.

thermo_average_1
​number | null · required

As reported by the device. GTS column thermoAverage1.

pulse_count
​number | null · required

As reported by the device. GTS column pulseCount.

frequency_hz
​number | null · required

As reported by the device. GTS column frequencyHz.

analog_0
​number | null · required

As reported by the device. GTS column analog0.

analog_1
​number | null · required

As reported by the device. GTS column analog1.

analog_2
​number | null · required

As reported by the device. GTS column analog2.

analog_3
​number | null · required

As reported by the device. GTS column analog3.

cell_tower_id
​integer | null · min: -2147483648 · max: 2147483647 · required

As reported by the device. GTS column cellTowerID.

mobile_country_code
​integer | null · min: -2147483648 · max: 2147483647 · required

As reported by the device. GTS column mobileCountryCode.

mobile_network_code
​integer | null · min: -2147483648 · max: 2147483647 · required

As reported by the device. GTS column mobileNetworkCode.

cell_timing_advance
​integer | null · min: -2147483648 · max: 2147483647 · required

As reported by the device. GTS column cellTimingAdvance.

location_area_code
​integer | null · min: -2147483648 · max: 2147483647 · required

As reported by the device. GTS column locationAreaCode.

cell_serving_info
​string | null · maxLength: 80 · required

As reported by the device. GTS column cellServingInfo.

cell_latitude
​number | null · required

As reported by the device. GTS column cellLatitude.

cell_longitude
​number | null · required

As reported by the device. GTS column cellLongitude.

cell_accuracy
​number | null · required

As reported by the device. GTS column cellAccuracy.

odometer_src
​string | null · maxLength: 40 · required

Where odometer_km came from (e.g. GPS-derived or vehicle bus). GTS column odometerSrc.

speed_src
​string | null · maxLength: 40 · required

Where speed_kph came from. GTS column speedSrc.

engine_hours_src
​string | null · maxLength: 20 · required

Where engine_hours came from. GTS column engineHoursSrc.

ev_energy_used
​number | null · required

EV energy used, kWh. GTS column evEnergyUsed.

ev_regen_from_braking
​number | null · required

EV energy recovered by regenerative braking, kWh. GTS column evRegenFromBraking.

ev_energy_added
​number | null · required

EV energy added by charging, kWh. GTS column evEnergyAdded.

ev_battery_level
​number | null · required

EV battery level as reported by the vehicle. GTS column evBatteryLevel.

ev_battery_range
​number | null · required

EV estimated remaining range, km. GTS column evBatteryRange.

ev_state_of_charge
​integer | null · min: -2147483648 · max: 2147483647 · required

EV battery state of charge, percent. GTS column evStateOfCharge.

ambient_temp
​number | null · required

Ambient (air) temperature, degrees C. GTS column ambientTemp.

ground_temp
​number | null · required

Road surface temperature, degrees C. GTS column groundTemp.

plow_blade_height
​number | null · required

Plow blade height as reported by the plow controller. GTS column plowBladeHeight.

granular_spread_rate
​number | null · required

Granular (salt/sand) spread rate as reported by the spreader controller. GTS column granularSpreadRate.

liquid_spread_rate
​number | null · required

Liquid (brine) spread rate as reported by the spreader controller. GTS column liquidSpreadRate.

trans_gear
​number | null · required

Transmission gear. GTS column transGear.

plow_status
​string | null · maxLength: 8 · required

Plow status code from the plow controller. GTS column plowStatus.

plow_settings
​string | null · maxLength: 150 · required

Plow settings string from the plow controller. GTS column plowSettings.

plow_error_code
​string | null · maxLength: 8 · required

Plow controller error code. GTS column plowErrorCode.

plow_blade_angle
​number | null · required

Plow blade angle, degrees. GTS column plowBladeAngle.

plow_down_force
​number | null · required

Plow down force as reported by the plow controller. GTS column plowDownForce.

plow_input_mask
​string | null · required

Plow controller input states. GTS column plowInputMask.

plow_distance_km
​number | null · required

Distance travelled with the plow engaged, km. GTS column plowDistanceKM.

granular_material_id
​string | null · maxLength: 16 · required

Granular material identifier. GTS column granularMaterialID.

granular_season_total
​number | null · required

Granular material spread this season, as reported by the spreader controller. GTS column granularSeasonTotal.

liquid_material_id
​string | null · maxLength: 16 · required

Liquid material identifier. GTS column liquidMaterialID.

liquid_season_total
​number | null · required

Liquid material spread this season, as reported by the spreader controller. GTS column liquidSeasonTotal.

plow_blade_engaged
​integer | null · enum · required

Plow blade engaged: 1 yes, 0 no. GTS column plowBladeEngaged.

Enum values:
0
1
speed_limit_src
​string | null · maxLength: 40 · required

Source of speed_limit_kph. GTS column speedLimitSrc.

abs_lamp
​integer | null · min: -128 · max: 127 · required

ABS warning lamp state. GTS column absLamp.

cruise_ctl_state
​integer | null · min: 0 · max: 65535 · required

Cruise control state. GTS column cruiseCtlState.

traction_control
​integer | null · min: -128 · max: 127 · required

Traction control state. GTS column tractionControl.

engine_retarder
​integer | null · min: -128 · max: 127 · required

Engine retarder (engine brake) state. GTS column engineRetarder.

CameraListResponse

count
​integer · required

Total cameras visible to this key.

​CameraListItem[] · required
next
​string | null

URL of the next page, or null.

previous
​string | null

URL of the previous page, or null.

CameraListItem

camera_serial
​string · required
camera_positions
​string[] · required

Positions this serial can produce. Iterate; do not assume one.

Example: {"0":"C_F"}
asset
​Asset · required

The vehicle the camera is fitted to, or null when it is not currently linked to one. Constant for a given camera unless it is moved between vehicles, so it can be cached alongside discovery rather than re-read on every poll.

online
​boolean | null · required

Currently always null and reserved for future use — do not gate anything on it. It would describe the device, not the age of its pictures. Use captured_at and age_seconds for real state.

last_image_at
​string | null · date-time · required

When this camera last produced an image, or null if it never has. Routinely months old out of season — it is not a health signal.

LatestImageResponse

camera_serial
​string · required
asset
​Asset · required

The vehicle the camera is fitted to, or null when it is not currently linked to one. Constant for a given camera unless it is moved between vehicles, so it can be cached alongside discovery rather than re-read on every poll.

retrieved_at
​string · date-time · required

When FleetTrack served this response. Never show this as the capture time.

​Image[] · required

One entry per position that currently has an image. May be empty.

Asset

The vehicle the camera is fitted to, or null when it is not currently linked to one. Constant for a given camera unless it is moved between vehicles, so it can be cached alongside discovery rather than re-read on every poll.
asset_id
​string · required

FleetTrack device ID. Stable; the identifier to key on.

display_name
​string | null · required
description
​string | null · required

An operational label, not text written for the public — it may carry district, garage or crew detail that has not been agreed for publication. Confirm with the agency before displaying it.

Image

camera_position
​string · required
camera_position_label
​string · required
captured_at
​string · date-time · required

When the camera took the picture. This is the value to show.

age_seconds
​integer · required

retrieved_at − captured_at, precomputed so you need not trust your own clock. This is the field to gate public display on.

Understand what it measures: these cameras capture only while the vehicle is actively working, so this is in practice time since the vehicle last worked — minutes during a storm, and months out of season. Polling faster does not make images fresher.

We recommend suppressing or visually marking anything beyond an agreed staleness threshold; 30–60 minutes is a sensible starting point. Presenting an hours-old picture of a clear road as current conditions is the main public-facing risk in this integration.

content_url
​string · uri · required

Absolute URL for the bytes, requiring the same API key. Stable for a given camera and position, and it does not expire — what it returns changes as new images arrive.

content_type
​string · required

Read this rather than assuming; we do not re-encode.

Example: image/webp
width
​integer | null

Pixels, when known.

height
​integer | null

Pixels, when known.

location
​Location

The vehicle's last known valid GPS fix, or null when there is none on record. fix_at and captured_at are close but not identical, so treat the position as approximate.

Location

The vehicle's last known valid GPS fix, or null when there is none on record. `fix_at` and `captured_at` are close but not identical, so treat the position as approximate.
latitude
​number · required

WGS-84 decimal degrees.

longitude
​number · required

WGS-84 decimal degrees.

fix_at
​string · date-time · required

When that fix was recorded.

heading_degrees
​number | null

0–360, true north, direction of travel.

speed_mph
​number | null

Converted from KPH, so it may carry rounding.

speed_kph
​number | null

The recorded value.