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: j1j7yblayl4nfm4enh6zg45v4vifged79b9a92e27w8
provider-token: 7ru5ox0pfbm8f66ps9ebdeue7xyp8ed79b9a92e27w8
USDOT: 623456
cURL:
curl --location --request GET 'https://read.tteld.com/api/v2/units-by-usdot/623456' \--header 'x-api-key: j1j7yblayl4nfm4enh6zg45v4vifged79b9a92e27w8' --header 'provider-token:7ru5ox0pfbm8f66ps9ebdeue7xyp8ed79b9a92e27w8'