This endpoint delivers real-time vehicle tracking data by VIN number, including location, unit number, and related details.

Endpoint

GEThttps://read.rulereld.com/api/v2/unit-by-vin/:usdot/:vin

Authentication Headers

HeaderValue
x-api-keyYour API key
provider-tokenYour provider token

Path Parameters

ParameterRequiredDescription
usdotYesCompany USDOT number (use 0 if unknown)
vinYesVehicle Identification Number (17 characters)

Example Request

bash
curl --location --request GET \
  'https://read.rulereld.com/api/v2/unit-by-vin/0/4V4NC9EG0FN911517' \
  --header 'x-api-key: <your-api-key>' \
  --header 'provider-token: <your-provider-token>'

Response Format

Returns a unit object with the current real-time tracking data for the specified vehicle.

json
{
  "unit": {
    "truck_number": "string",
    "vin": "string",
    "coordinates": {
      "lat": 0.0,
      "lng": 0.0
    },
    "timestamp": "2026-01-10T08:32:11.000Z"
  }
}

Response Fields

FieldTypeDescription
truck_numberstringAssigned truck number
vinstringVehicle Identification Number
coordinates.latnumberCurrent latitude
coordinates.lngnumberCurrent longitude
timestampstringISO 8601 timestamp of the last tracking update

Notes

  • :usdot and :vin are URL path parameters
  • A legacy endpoint path (/api/unit-by-vin/) also exists in some documentation examples

API Key Generation

Keys are created via the company's main dashboard account. Navigate to the sidebar → "More" section → API Keys page. See the full guide: How to Create an API Key.

Related

© 2026 Ruler ELD API