Skip to content

Driver scores ​

GET /fleet/driver-scores

Driver scores from 0 to 100 in three areas, plus an overall score. They are calculated daily from the incidents detected for each driver.

Query parameters ​

Use either date, or from and to:

NameTypeDescription
dateYYYY-MM-DDEach driver's score snapshot for that day.
from, toYYYY-MM-DDEach driver's average over the range (at most 90 days).
driverIdstringOne driver only.
limit, cursorSee Pagination.

With no dates, you get the average over the last 30 days.

Ordering:

  • Single-day results are sorted by date, newest first.
  • Range results are sorted by overall, highest first.

Example: one day ​

bash
curl "https://api.routetracks.com/api/v1/partner/v1/fleet/driver-scores?date=2026-10-22" \
  -H "Authorization: Bearer $TOKEN"
json
{
  "data": [
    {
      "driverId": "cm1drv0007",
      "driverName": "Nimal Perera",
      "date": "2026-10-22",
      "snapshotCount": null,
      "safety": 88,
      "compliance": 95,
      "efficiency": 79,
      "overall": 87
    }
  ],
  "meta": {
    "mode": "day",
    "date": "2026-10-22",
    "from": null,
    "to": null,
    "limit": 100,
    "hasMore": false,
    "nextCursor": null
  }
}

Example: range average ​

bash
curl "https://api.routetracks.com/api/v1/partner/v1/fleet/driver-scores?from=2026-10-01&to=2026-10-22" \
  -H "Authorization: Bearer $TOKEN"
json
{
  "data": [
    {
      "driverId": "cm1drv0007",
      "driverName": "Nimal Perera",
      "date": null,
      "snapshotCount": 22,
      "safety": 86.4,
      "compliance": 93.1,
      "efficiency": 80.2,
      "overall": 86.6
    }
  ],
  "meta": {
    "mode": "range",
    "date": null,
    "from": "2026-10-01",
    "to": "2026-10-22",
    "limit": 100,
    "hasMore": false,
    "nextCursor": null
  }
}

How scores are calculated ​

Each area starts at 100. Each incident subtracts points from its area, and the result is kept between 0 and 100.

FieldIncidents (points subtracted)
safetySpeeding (2), harsh braking (3), harsh acceleration (3), sharp cornering (2)
complianceFatigue (10), overtime (10)
efficiencyExcessive idling (1)
overallAverage of the three areas.

Partner API v1