Onroad ELDDevelopers
Get API key
Vehicles
GET/api/units/:usdot/:vin

Vehicle tracking by VIN

Retrieves live tracking details for a single vehicle by USDOT number and VIN — location, unit identifier, make/model, and more.

Returns a single unit object. All timestamps are in ISO 8601 format.

Parameters

usdot
string · required · path
The USDOT number associated with the unit.
vin
string · required · path
The Vehicle Identification Number of the unit.
x-api-key
string · required · header
Your API key. Generate one under More → API Keys in the dashboard.
provider-token
string · required · header
Your provider token, issued alongside the API key.

Example request

cURL
curl --location --request GET 'https://api.onroadnetworks.com/api/units/:usdot/:vin' \
  --header 'x-api-key: ${key}' \
  --header 'provider-token: ${token}'

Example response

JSON
{
  "truckNumber": "string",
  "vin": "string",
  "coordinates": { "lat": 0.0, "lng": 0.0 },
  "timestamp": "string date",
  "licensePlate": { "state": "string", "number": "string" },
  "assetType": "string",
  "unixTimestamp": 0,
  "deviceId": "string",
  "make": "string",
  "model": "string",
  "year": 0,
  "fuelType": "string"
}