OPEN API
  1. Vehicle Locations
OPEN API
  • Organization Info
    • Get information about your organization
      GET
  • Drivers
    • List all drivers
      GET
    • Retrieve a driver
      GET
  • Hours Of Service
    • Get HOS clocks
      GET
    • Get all driver HOS daily logs
      GET
    • Get HOS logs
      GET
  • Vehicles
    • List all vehicles
      GET
    • Retrieve a vehicle
      GET
  • Vehicle Locations
    • Historical Vehicle Locations
      GET
    • Latest Vehicle Locations
      GET
  • Trips
    • Get Vehicle Trips
      GET
  • Vehicle Stats
    • Vehicle Stats snapshot
      GET
  • Maintenance
    • Get all DVIRs
      GET
  • IFTA
    • Get IFTA jurisdiction reports
      GET
  • Webhook
    • Sample Webhook request for specific trigger
      GET
    • Subscribe to specific immediately events
      POST
    • Available list of Triggers
      GET
    • Unsubscribe form events
      POST
  1. Vehicle Locations

Historical Vehicle Locations

GET
/openapi/vehicles/{id}/locations/
Vehicle Locations
Returns all known vehicle locations during the given time range. This can be optionally filtered by specific vehicle IDs.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
id
string <uuid>
required
Query Params
page
integer 
optional
A page number within the paginated result set.
page_size
integer 
optional
Number of results to return per page.
startAt
string <date-time>
optional
2024-05-22T01:40:16.274753Z
endAt
string <date-time>
optional
2024-05-22T01:40:16.274753Z

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:8001/openapi/vehicles//locations/'

Responses

🟢200OK
application/json
Body
count
integer 
optional
Example:
10
page_size
integer 
optional
Example:
123
previous
integer  | null 
optional
Example:
null
current
integer 
optional
Example:
1
next
integer  | null 
optional
Example:
2
results
array[object (ForVehicleLocationResponse) {8}] 
optional
driver
string  | null 
required
Driver UUID
vehicle
string 
required
Vehicle UUID
locatedAt
string <date-time>
required
Vehicle located at, date time
location
object 
read-onlyrequired
address
string 
required
Vehicle Address
heading
number <double> | null 
optional
Heading Vehicle 0 to 360
speed
number <double>
required
Vehicle speed in kilometers per hour
odometer
number <double>
required
Vehicle odometer in kilometers
Example
{
  "count": 10,
  "page_size": 123,
  "previous": null,
  "current": 1,
  "next": 2,
  "results": [
    {
      "driver": "string",
      "vehicle": "string",
      "locatedAt": "2019-08-24T14:15:22Z",
      "location": {
        "latitude": 0,
        "longitude": 0
      },
      "address": "string",
      "heading": 0,
      "speed": 0,
      "odometer": 0
    }
  ]
}
Modified at 2025-04-23 00:31:51
Previous
Retrieve a vehicle
Next
Latest Vehicle Locations
Built with