Skip to content

Get track stats by carrier

Provides carrier level stats

Request

Pass in your API keys and track end date range to pull data by carrier

Bodyapplication/json
accountIdstringrequired

Your account ID provided by Trucker Tools

Example:"yIXbN9xjC7xINRc2kszHJQ=="
partnerIdstringrequired

Your TMS system ID provided by Trucker Tools

Example:3
startDatestringrequired

Start of time period to pull data. Based on scheduled end time of track

Example:"2023-01-01"
endDatestringrequired

End of time period to pull data. Based on scheduled end time of track

Example:"2023-01-01"
curl -i -X POST \
  https://developer.truckertools.com/_mock/apis/loadtrackstats/report/getReportStat/carrier \
  -H 'Content-Type: application/json' \
  -d '{
    "accountId": "yIXbN9xjC7xINRc2kszHJQ==",
    "partnerId": 3,
    "startDate": "2023-01-01",
    "endDate": "2023-01-01"
  }'

Responses

API call to pull stats was successful

Bodyapplication/json
statusbooleanrequired

Status of API call

Example:true
callTimestampstringrequired

Timestamp of API call in UTC

Example:"2024-01-23 03:01:32 UTC"
dataCountnumberrequired

Number of records returned

Example:3525
reportsArray of objects(carrier)required
Response
{ "status": true, "callTimestamp": "2024-01-23 03:01:32 UTC", "dataCount": 3525, "reports": [ { … } ] }