Reference

The reference text below comes from the API itself, in English.

Daily summary

Distance, engine hours and idle time of one unit per day. The client also needs the CAN telemetry module.

60 requests a minute, burst 60

GET /v1/external/daily-summary

Distance, engine hours and idle time of one unit per day

Returns one unit's daily figures for the local days in [from, to), at most 92 days, in date order. A day is a local date in the time zone of the unit's organization (time_zone); a day without derived figures is absent. A unit outside the caller's units answers 404, the same as one that does not exist. Requires the CAN telemetry module in the client's client access; without it the answer is the 403 of a key without this product.

5 credits per successful call

curl -s -H "X-API-Key: $KEY" \
  "https://api.orbistrack.tools/v1/external/daily-summary?uid=<uid>"
Parameters
NameTypeDescription
uidrequiredstringThe unit's id: a canonical (lowercase, hyphenated) UUID.
fromstringFirst local date of the range, included (YYYY-MM-DD). Required.
tostringLocal date the range ends before, excluded (YYYY-MM-DD). Required; at most 92 days after from.
organization_idstringOnly a unit of this organization: a UUID. Optional. An organization outside the caller's reach answers 404, the same as one that does not exist.
Response
NameTypeDescription
itemsarray | null
items[].datestring (date)The local date of the day (YYYY-MM-DD), in time_zone.
items[].distance_kmnumber (double) | nullDistance driven that day, in km, from the odometer, rounded to 2 decimals. Null when the unit has no odometer reading.
items[].engine_hoursnumber (double) | nullTime with the engine on, in hours, rounded to 2 decimals. Null when the unit has no engine state.
items[].finalbooleanTrue once the day is closed; false while its figures may still change (today, or a day still being derived).
items[].idle_hoursnumber (double) | nullTime idling (engine on, stopped, power take-off excluded), in hours, rounded to 2 decimals. Null when the unit has no engine state.
items[].organization_idstring (uuid)The unit's organization.
items[].time_zonestringThe IANA time zone that defines the day: the organization's.
items[].unit_idstring (uuid)The unit's id.
next_cursorstringPass as cursor to read the next page. Absent at the end of the list.

Errors

Last position (legacy)

One unit's last position in the earlier Spanish format. New integrations should use positions.

1800 requests a minute, burst 600

GET /v1/external/last-position

Last known position of one unit

Returns the last known position of one of the key owner's units. A unit the owner does not own answers 404, the same as one that does not exist.

1 credits per successful call

curl -s -H "X-API-Key: $KEY" \
  "https://api.orbistrack.tools/v1/external/last-position?uid=<uid>"
Parameters
NameTypeDescription
uidrequiredstringThe unit's id: a canonical (lowercase, hyphenated) UUID.
Response
NameTypeDescription
estatusinteger (int64)Always 200 on success.
rastreoobjectThe last known position, or null when the unit has not reported yet.
unidadstringThe unit's name.

Errors

Last positions (legacy)

Every unit's last position in the earlier Spanish format. New integrations should use positions.

10 requests a minute, burst 10

GET /v1/external/last-positions

Last known position of every unit of the key's owner

Returns every active unit the key owner owns, in name order, each with its last known position (null when it has not reported yet).

1 credits per successful call

curl -s -H "X-API-Key: $KEY" \
  "https://api.orbistrack.tools/v1/external/last-positions"
Response
NameTypeDescription
estatusinteger (int64)Always 200 on success.
unidadesarray | nullEvery active unit of the key's owner, ordered by name.
unidades[].rastreoobjectThe last known position, or null when the unit has not reported yet.
unidades[].uidstring (uuid)The unit's id.
unidades[].unidadstringThe unit's name.

Errors

Positions

The latest position of one or every unit, and one unit's position history over a time window.

300 requests a minute, burst 60

GET /v1/external/positions/history

Position history of one unit

Returns the positions with a GPS fix of one unit in the half-open window [from, to), ascending by time. The window is at most 7 days; wider is 422 range_too_large. limit is 1 to 1000 (default 500). A unit the caller cannot see answers 404, the same as one that does not exist.

5 credits per successful call

curl -s -H "X-API-Key: $KEY" \
  "https://api.orbistrack.tools/v1/external/positions/history?unit_id=<unit_id>&from=<from>&to=<to>"
Parameters
NameTypeDescription
unit_idrequiredstringThe unit: a canonical (lowercase, hyphenated) UUID.
organization_idstringOnly a unit of this organization: a UUID. Optional. An organization outside the caller's reach answers 404, the same as one that does not exist.
fromrequiredstringStart of the window, RFC 3339, included.
torequiredstringEnd of the window, RFC 3339, excluded. At most 7 days after from; wider is 422 range_too_large.
cursorstringThe next_cursor of the previous page, with the same unit_id, from and to.
limitintegerPage size: 1 to 1000, default 500. Above 1000 is 422.
Response
NameTypeDescription
itemsarray | null
items[].course_deginteger (int32) | nullHeading in degrees, 0 to 359; null when the device reported none.
items[].latitudenumber (double)WGS84 latitude in decimal degrees.
items[].longitudenumber (double)WGS84 longitude in decimal degrees.
items[].speed_kmhnumber (double) | nullSpeed in km/h, rounded to 2 decimals; null when the device reported none.
items[].timestring (date-time)When the position was recorded, UTC RFC 3339.
next_cursorstringPass as cursor to read the next page. Absent at the end of the list.

Errors

GET /v1/external/positions/latest

Latest position of one unit or of every unit

Returns the newest position with a GPS fix of every unit the caller can see, ordered by unit id, or of only the unit in unit_id, or of one organization's in organization_id. Each item names the unit's organization. A unit that has not reported yet has a null position. limit is 1 to 500 (default 100). A unit the caller cannot see answers 404, the same as one that does not exist.

1 credits per successful call

curl -s -H "X-API-Key: $KEY" \
  "https://api.orbistrack.tools/v1/external/positions/latest"
Parameters
NameTypeDescription
unit_idstringOnly this unit: a canonical (lowercase, hyphenated) UUID. Omit for every unit the caller can see.
organization_idstringOnly this organization's units: a UUID. Optional: omitted, every organization the caller reaches. An organization outside the caller's reach answers 404, the same as one that does not exist.
cursorstringThe next_cursor of the previous page, with the same unit_id and organization_id.
limitintegerPage size: 1 to 500, default 100. Above 500 is 422.
Response
NameTypeDescription
itemsarray | null
items[].organization_idstring (uuid)The unit's organization.
items[].positionobjectThe newest position with a GPS fix, or null when the unit has not reported yet.
items[].unit_idstring (uuid)The unit's id.
items[].unit_namestringThe unit's name.
next_cursorstringPass as cursor to read the next page. Absent at the end of the list.

Errors

Units

The units your key can see, with their name, plate, model and groups. Read it now and then: units change rarely.

60 requests a minute, burst 20

GET /v1/external/units

List and search the caller's units

Returns the units the caller can see, ordered by id, as a cursor list. q searches name, plate and group name; organization_id keeps one organization's. Each unit names its organization. End of list when next_cursor is absent.

1 credits per successful call

curl -s -H "X-API-Key: $KEY" \
  "https://api.orbistrack.tools/v1/external/units"
Parameters
NameTypeDescription
qstringKeeps the units whose name, plate or group name contains this text, case-insensitively. At most 120 characters.
organization_idstringOnly this organization's units: a UUID. Optional: omitted, every organization the caller reaches. An organization outside the caller's reach answers 404, the same as one that does not exist.
limitintegerPage size: default 50, maximum 200. Above the maximum is 422.
cursorstringThe next_cursor of the previous page, with the same q and organization_id.
Response
NameTypeDescription
itemsarray | null
items[].groupsarray | nullThe groups the unit belongs to, ordered by name. Empty when none.
items[].groups[].idstring (uuid)The group's id.
items[].groups[].namestringThe group's name.
items[].idstring (uuid)The unit's id (UUIDv7).
items[].modelobjectThe vehicle model, or null when not recorded.
items[].namestringThe unit's name.
items[].organization_idstring (uuid)The unit's organization.
items[].platestring | nullThe license plate, or null when not recorded.
next_cursorstringPass as cursor to read the next page. Absent at the end of the list.

Errors

GET /v1/external/units/{id}

Read one of the caller's units

Returns one unit the caller can see. A unit the caller cannot see answers 404, the same as one that does not exist.

1 credits per successful call

curl -s -H "X-API-Key: $KEY" \
  "https://api.orbistrack.tools/v1/external/units/<id>"
Parameters
NameTypeDescription
idrequiredstringThe unit's id: a canonical (lowercase, hyphenated) UUID.
Response
NameTypeDescription
groupsarray | nullThe groups the unit belongs to, ordered by name. Empty when none.
groups[].idstring (uuid)The group's id.
groups[].namestringThe group's name.
idstring (uuid)The unit's id (UUIDv7).
modelobjectThe vehicle model, or null when not recorded.
namestringThe unit's name.
organization_idstring (uuid)The unit's organization.
platestring | nullThe license plate, or null when not recorded.

Errors