API v2
Tracking API (v2)
Provides real-time vehicle tracking data including location, unit number, VIN, and timestamp for all units associated with a USDOT number.
Endpoint
GEThttps://read.sbaeld.com/api/v2/units-by-usdot/:usdot
Authentication Headers
| Header | Value |
|---|---|
x-api-key | Your API key |
provider-token | Your provider token |
Path Parameters
| Parameter | Required | Description |
|---|---|---|
usdot | Yes | Company USDOT number |
Example Request
bash
curl --location --request GET \
'https://read.sbaeld.com/api/v2/units-by-usdot/123456' \
--header 'x-api-key: <your_key>' \
--header 'provider-token: <your_token>'Response Format
Returns a units array containing the current tracking data for all vehicles under the specified USDOT.
json
{
"units": [
{
"truck_number": "string",
"vin": "string",
"coordinates": {
"lat": 0.0,
"lng": 0.0
},
"timestamp": "2026-01-10T08:32:11.000Z"
}
]
}Response Fields
| Field | Type | Description |
|---|---|---|
truck_number | string | Assigned truck number |
vin | string | Vehicle Identification Number |
coordinates.lat | number | Current latitude |
coordinates.lng | number | Current longitude |
timestamp | string | ISO 8601 timestamp of the last tracking update |
API Key Generation
Keys are created via the company's main dashboard account. Navigate to the sidebar, scroll to "More", then select API Keys. See the full guide: How to Create an API Key.