Tracking by vin number API
This endpoint provides access to real-time tracking information for vehicles by vin number in our system. By utilizing this endpoint, you can retrieve data about the location, unit number, VIN, and other relevant information of tracked vehicle.
Endpoint:
GET https://read.ontime-logs.com/api/v2/unit-by-vin/:usdot/:vin
Auth Header:
Key: x-api-key
Value: <api key value>
Key: provider-token
provider-token: <provider token value>
Example:
cURL:
curl --location --request GET 'https://read.ontime-logs.com/api/v2/unit-by-vin/:usdot/:vin' \--header 'x-api-key:' --header 'provider-token:'
The response to the request will be in the following format below:
Response:
{
"unit": {
"truck_number": "string",
"vin": “string”,
"coordinates": { "lat": 0.0,"lng": 0.0 },
“timestamp”: iso string date
}
}