Tracking by vin number API (v2)
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.tteld.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.tteld.com/api/v2/unit-by-vin/0/4V4NC9EG0FN911517' \--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
}
}
Api key can be created at the dashboard by the company's main account at the dashboard:
Settings -> Api keys menu:
Test data:
Endpoint: https://read.tteld.com/api/v2/unit-by-vin
x-api-key: 8y24c1zzu9lzgmisspfna922ynjtactteldnmmx1487b4m0g2enzuz8k0slygjgm3tteld
provider-token: mmx1487b4m0g2enzuz8k0slygjgm3tteld
Usdot: 0
Vin: 4V4NC9EG0FN911517
cURL:
curl --location --request GET 'https://read.tteld.com/api/unit-by-vin/0/4V4NC9EG0FN911517' \--header 'x-api-key: 8y24c1zzu9lzgmisspfna922ynjtactteldnmmx1487b4m0g2enzuz8k0slygjgm3tteld' --header 'provider-token:mmx1487b4m0g2enzuz8k0slygjgm3tteld'