Tracking API (v2)
This endpoint provides access to real-time tracking information for vehicles in our system. By utilizing this endpoint, you can retrieve data about the location, unit number, VIN, and other relevant information of tracked vehicles.
Endpoint:
GET https://read.tteld.com/api/v2/units-by-usdot/:usdot
Auth Header:
Key: x-api-key
Value: <api key value>
Key: provider-token
Value: <provider token value>
Example:
cURL:
curl --location --request GET 'https://read.tteld.com/api/v2/units-by-usdot/123456' \--header 'x-api-key:' --header 'provider-token:'
The response to the request will be in the following format below:
Response:
{
"units": [{
"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/units-by-usdot/:usdot
x-api-key: 8y24c1zzu9lzgmisspfna922ynjtactteldnmmx1487b4m0g2enzuz8k0slygjgm3tteld
provider-token: mmx1487b4m0g2enzuz8k0slygjgm3tteld
Usdot: 0
cURL:
curl --location --request GET 'https://read.tteld.com/api/v2/units-by-usdot/0' \--header 'x-api-key: 8y24c1zzu9lzgmisspfna922ynjtactteldnmmx1487b4m0g2enzuz8k0slygjgm3tteld' --header 'provider-token:mmx1487b4m0g2enzuz8k0slygjgm3tteld'