TruckerCloud Integration API

NEW ELD WORLD endpoints for truckercloud.com

Base URL

https://mystage.neweldworld.com

Authentication

Pass your API key as a query parameter on every request:

?api_key=your_api_key

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

Fleet snapshot#

GET/api/web/v1/trucker-cloud/coordinates/

Returns a fleet snapshot: the vehicles shared with TruckerCloud, all active drivers, and each vehicle's last known location. The coordinates array lists the vehicle's driving events — the start of each driving segment — between start_date and end_date, the last 7 days by default. Each entry includes a driver_guid linking to the driver from the drivers array. For every GPS ping, use /trucker-cloud/locations/.

Query Parameters

api_keyrequiredstring
Your API key
vehicle_idstring
Filter to one vehicle by unit number
vinstring
Filter to one vehicle by VIN
start_datedatetime
Start of the coordinates window — format: YYYY-MM-DD HH:MM:SS (UTC). Default: 7 days ago, 00:00 UTC
end_datedate
Last day of the coordinates window — format: YYYY-MM-DD; the whole day is included (23:59:59 is added to the value). Default: now

Without dates, coordinates covers the last 7 days.

Example Requests

Current fleet data:

bash
curl "https://mystage.neweldworld.com/api/web/v1/trucker-cloud/coordinates/?api_key=your_api_key"

With date range filter (end_date covers the whole day):

bash
curl "https://mystage.neweldworld.com/api/web/v1/trucker-cloud/coordinates/?api_key=your_api_key&start_date=2025-08-01+00:00:00&end_date=2025-08-08"

Example Response

json
{
  "vehicles": [
    {
      "guid": "11111111-2222-3333-4444-555555555555",
      "power_unit_number": "TRK-001",
      "make": "FREIGHTLINER",
      "model": "Cascadia",
      "year": 2023,
      "license_plate_no": "ABC1234",
      "vin": "1HGBH41JXMN109186"
    }
  ],
  "drivers": [
    {
      "guid": "66666666-7777-8888-9999-000000000000",
      "username": "driver01",
      "first_name": "John",
      "last_name": "Doe",
      "email": "john.doe@example.com",
      "phone_number": "+15551234567",
      "license_number": "DL123456789",
      "license_state": "TX"
    }
  ],
  "location_data": [
    {
      "vehicle_id": "TRK-001",
      "make": "FREIGHTLINER",
      "model": "Cascadia",
      "year": 2023,
      "vin": "1HGBH41JXMN109186",
      "license_plate": "ABC1234",
      "device_id": "ELD123456789",
      "device_type": "ELD",
      "driver_guid": "66666666-7777-8888-9999-000000000000",
      "odometer": 125000,
      "speed": 62.5,
      "start_point": "Dallas, TX",
      "last_tracking_activity": "2026-06-01T12:00:00Z",
      "last_known_location": {
        "latitude": 32.7767,
        "longitude": -96.7970
      },
      "timezone": "America/Chicago",
      "coordinates": [
        {
          "latitude": 32.7800,
          "longitude": -96.8000,
          "speed": 65,
          "odometer": 124950,
          "timestamp": "2026-06-01T11:45:00Z",
          "driver_guid": "66666666-7777-8888-9999-000000000000",
          "driver_name": "John Doe",
          "vehicle_id": "TRK-001",
          "timezone": "US/Central"
        }
      ]
    }
  ]
}

Response Fields

vehicles[ ]

guidstring (UUID)
Unique vehicle identifier
power_unit_numberstring
Vehicle unit number
makestring
Manufacturer
modelstring
Vehicle model
yearnumber
Manufacturing year
license_plate_nostring
License plate number
vinstring
Vehicle Identification Number

drivers[ ]

guidstring (UUID)
Unique driver identifier — matches driver_guid in coordinates
usernamestring
Driver login username
first_namestring
First name
last_namestring
Last name
emailstring
Email address
phone_numberstring
Phone number
license_numberstring
Driver license number
license_statestring
License issuing state

location_data[ ]

vehicle_idstring
Matches power_unit_number from vehicles[]
makestring
Manufacturer
modelstring
Vehicle model
yearnumber
Manufacturing year
vinstring
Vehicle Identification Number
license_platestring
License plate number
device_idstring | null
ELD serial number; null when the vehicle has no ELD
device_typestring
Device type (e.g. ELD)
driver_guidstring (UUID)
GUID of assigned driver — matches drivers[].guid
odometernumber
Total mileage in miles
speednumber
Current speed in km/h
start_pointstring
Human-readable current location
last_tracking_activitystring (ISO 8601)
UTC timestamp of last tracking activity
last_known_locationobject
Last known position — { latitude, longitude }
timezonestring | null
IANA timezone of the last known location (e.g. America/Chicago)
coordinatesarray
Driving events in the window: the start of each driving segment — see below

coordinates[ ] object — one driving event

latitudenumber | null
Latitude where the driving segment started
longitudenumber | null
Longitude where the driving segment started
speednumber
Speed of the last GPS ping before the segment started, in km/h (0 when unknown)
odometernumber | null
Odometer at the start of the segment, in miles
timestampstring (ISO 8601)
UTC time the driving segment started
driver_guidstring (UUID)
GUID of the driver on the log — matches drivers[].guid
driver_namestring | null
Driver full name; null when no name is on file
vehicle_idstring
Matches power_unit_number from vehicles[]
timezonestring
Driver home-terminal timezone (e.g. US/Central)

Location history#

GET/api/web/v1/trucker-cloud/locations/

Returns every saved GPS ping of the vehicles shared with TruckerCloud — or of one vehicle — between start_date and end_date, at most 93 days apart. Pings are kept indefinitely, so any window in the past can be requested. Results are cursor-paginated: follow next until it is null.

Query Parameters

api_keyrequiredstring
Your API key
start_daterequireddatetime (ISO 8601)
Start of the window, inclusive, e.g. 2026-10-01T00:00:00Z. A value without an offset is UTC.
end_daterequireddatetime (ISO 8601)
End of the window, inclusive. Not before start_date and at most 93 days after it.
vehicle_idstring
One vehicle by unit number
vinstring
One vehicle by VIN
page_sizeinteger
Pings per page, 1–1000, default 500
cursorstring
Set by the next link of the previous page — request next as returned rather than building it yourself

For an offset other than Z, URL-encode the plus sign: +05:00 → %2B05:00.

Example Requests

Whole fleet, one month:

bash
curl "https://mystage.neweldworld.com/api/web/v1/trucker-cloud/locations/?api_key=your_api_key&start_date=2026-10-01T00:00:00Z&end_date=2026-10-31T23:59:59Z&page_size=1000"

One vehicle by VIN:

bash
curl "https://mystage.neweldworld.com/api/web/v1/trucker-cloud/locations/?api_key=your_api_key&vin=YOUR_VIN_HERE&start_date=2026-10-01T00:00:00Z&end_date=2026-10-31T23:59:59Z"

Every next page — the next URL from the previous response, as is:

bash
curl "https://mystage.neweldworld.com/api/web/v1/trucker-cloud/locations/?api_key=your_api_key&start_date=2026-10-01T00%3A00%3A00Z&end_date=2026-10-31T23%3A59%3A59Z&page_size=1000&cursor=NEXT_CURSOR"

Example Response

json
{
  "next": "https://mystage.neweldworld.com/api/web/v1/trucker-cloud/locations/?api_key=your_api_key&start_date=2026-10-01T00%3A00%3A00Z&end_date=2026-10-31T23%3A59%3A59Z&page_size=1000&cursor=WzEyLCAiMjAyNi0xMC0wMVQwOTozMTowMC40OTE5ODgrMDA6MDAiLCA5ODc2XQ",
  "results": [
    {
      "vehicle_id": "TRK-001",
      "vin": "1HGBH41JXMN109186",
      "device_id": "ELD123456789",
      "latitude": 32.7767,
      "longitude": -96.8176,
      "timestamp": "2026-10-01T09:31:00.491988Z",
      "speed": 62,
      "odometer": 124950,
      "engine_hours": 8112.4,
      "duty_status": "DR",
      "driver_guid": "66666666-7777-8888-9999-000000000000",
      "driver_name": "John Doe",
      "location": "1.2 mi W of Dallas, TX",
      "timezone": "America/Chicago"
    }
  ]
}

Response Fields

nextstring | null
URL of the next page — your query (api_key included) plus a cursor; null on the last page
resultsarray
GPS pings — see below

results[ ] object — one GPS ping

vehicle_idstring
Vehicle unit number
vinstring
Vehicle Identification Number
device_idstring | null
ELD serial number; null when the vehicle has no ELD
latitudenumber
Latitude in decimal degrees
longitudenumber
Longitude in decimal degrees
timestampstring (ISO 8601)
UTC time the ping reached our server (the app sends no device time)
speednumber
Speed in km/h as reported by the ELD; 0 means stopped or no reading
odometernumber | null
Odometer in miles; null when there is no reading
engine_hoursnumber | null
Engine hours; null when there is no reading
duty_statusstring | null
Driver duty status at the ping, e.g. DR, ON, YM; null when unknown
driver_guidstring (UUID) | null
Driver logged in at the time — matches drivers[].guid of the snapshot
driver_namestring | null
Full name of the driver logged in at the time (first and last name); null when the ping has no driver or no name is on file
locationstring | null
Nearest-city description, e.g. "1.2 mi W of Dallas, TX"; null when not geocoded
timezonestring | null
IANA timezone of the ping location, e.g. America/Chicago

Pagination

  • Follow next until it is null. The last page can be empty — "results": [] with next null; treat both as the end.
  • Pings are grouped vehicle by vehicle, in a fixed internal order, and run oldest first within each vehicle — not one fleet-wide timeline. Sort by timestamp if you need one.
  • The cursor only moves forward and belongs to its query: request next as returned. To read a window again, start it from the beginning.
  • For polling, end each window slightly in the past (for example a minute ago) and start the next window at the previous end_date. Both bounds are inclusive, so a ping exactly on the boundary can appear twice.

Errors

400
Missing or invalid parameter, start_date after end_date, a window over 93 days, or an invalid cursor.
401
Unknown API key. Empty body.
403
Request sent from Postman — see the note at the top of the page.
429
More than 300 requests a minute on one API key. Wait the number of seconds in the Retry-After header.

Good to Know

  • Only vehicles the carrier has shared with TruckerCloud appear — it is a per-vehicle setting.
  • The ELD app sends GPS about once a minute. Since August 2026 we keep about one ping per vehicle per minute and none while the driver is off duty, in the sleeper berth or on personal conveyance.
  • A ping's timestamp is when it reached our server; pings uploaded late (after being offline) carry the late time.
  • Units: speed in km/h, odometer in miles, engine hours in hours, coordinates in WGS-84 decimal degrees, all times in UTC.
  • Limits: a window of at most 93 days, at most 1,000 pings per page, 300 requests a minute per API key.

HTTP Status Codes

200
OK
Request successful
400
Bad Request
Invalid query parameter or format
401
Unauthorized
Missing or invalid api_key
403
Forbidden
Request sent from Postman (see the note above)
404
Not Found
Resource not found
429
Too Many Requests
Rate limit exceeded, slow down
500
Server Error
Internal error, try again later