Public API
Real-time fleet tracking · REST · JSON
Choose your API
Base URL
https://mystage.neweldworld.comAuthentication
Pass your API key as a query parameter on every request:
?api_key=your_api_keyGet your key from the dashboard → Settings → API Keys.
Requests from Postman are refused with 403 — any request whose User-Agent starts with PostmanRuntime or that carries a Postman-Token header. Use curl, HTTPie or your own client, or in Postman turn off Settings → General → Send Postman Token header and set your own User-Agent.
Endpoints
Vehicle coordinates#
/ api/ web/ v1/ vehicle/ coordinates/Returns current GPS coordinates, speed, odometer, and location description for every vehicle in your fleet. Use vehicle_id or vin to narrow results to a single vehicle.
Query Parameters
api_keyrequiredstringvehicle_idstringvinstringExample Requests
All vehicles:
curl "https://mystage.neweldworld.com/api/web/v1/vehicle/coordinates/?api_key=your_api_key"Single vehicle by VIN:
curl "https://mystage.neweldworld.com/api/web/v1/vehicle/coordinates/?api_key=your_api_key&vin=1XPBD49X0ND000001"Single vehicle by ID:
curl "https://mystage.neweldworld.com/api/web/v1/vehicle/coordinates/?api_key=your_api_key&vehicle_id=unit001"Example Response
[
{
"vehicle_id": "unit001",
"make": "PETERBILT",
"model": "579",
"year": 2022,
"vin": "1XPBD49X0ND000001",
"odometer": 124500,
"start_point": "3.2 mi W of Nashville, TN",
"speed": 49.0,
"coordinates": [
{
"latitude": "36.16589000000000",
"longitude": "-86.78440000000000",
"associated_date": "2025-08-15T10:22:00.000000Z"
}
]
}
]Response Fields
vehicle_idstringmakestringmodelstringyearnumbervinstringodometernumberstart_pointstringspeednumbercoordinatesarraycoordinates[ ] object
latitudestringlongitudestringassociated_datestring (ISO 8601)Fleet snapshot#
/ api/ web/ v1/ vehicle/ coordinates/ location-data/Returns a complete fleet snapshot in a single call: all registered vehicles, all drivers, and current location data for each vehicle. Useful for building a live map or fleet dashboard.
Query Parameters
api_keyrequiredstringExample Request
curl "https://mystage.neweldworld.com/api/web/v1/vehicle/coordinates/location-data/?api_key=your_api_key"Example Response
{
"vehicles": [
{
"guid": "00000000-0000-0000-0000-000000000001",
"power_unit_number": "unit001",
"make": "PETERBILT",
"model": "579",
"year": 2022,
"license_plate_no": "ABC1234",
"vin": "1XPBD49X0ND000001"
}
],
"drivers": [
{
"guid": "00000000-0000-0000-0000-000000000002",
"username": "driver01",
"profile": {
"profile_picture": null,
"first_name": "John",
"last_name": "Smith",
"email": "driver01@example.com",
"phone_number": "5550001234"
}
}
],
"location_data": [
{
"vehicle_id": "unit001",
"vin": "1XPBD49X0ND000001",
"odometer": 124500,
"start_point": "3.2 mi W of Nashville, TN",
"speed": 0.0,
"coordinates": [
{
"latitude": "36.16589000000000",
"longitude": "-86.78440000000000",
"associated_date": "2025-08-15T10:22:00.000000Z"
}
]
}
]
}Response Fields
vehicles[ ]
guidstring (UUID)power_unit_numberstringmakestringmodelstringyearnumberlicense_plate_nostringvinstringdrivers[ ]
guidstring (UUID)usernamestringprofile.first_namestringprofile.last_namestringprofile.emailstringprofile.phone_numberstringprofile.profile_picturestring | nulllocation_data[ ]
vehicle_idstringvinstringodometernumberstart_pointstringspeednumbercoordinatesarray