Skip to main content
All CollectionsWeb APIAPI Endpoints
Web API – State Mileage
Web API – State Mileage
Updated over a week ago

List State-by-State Mileage

Request URL

Query parameters

  • startDate – Format ‘yyyy-mm-dd’, e.g. ‘2015-01-31’ means midnight Jan 31, 2015 at your local timezone. Inclusive.

  • endDate – Format ‘yyyy-mm-dd’, e.g. ‘2015-12-31’. Inclusive.

  • userEmail – Email address of a particular user to search for.

  • state – Two-letter US state, e.g. ‘AK’.

Note

You need to provide at least one of the query parameters in the request.

Example

JSON Response

{
"message": "OK",
"stateMileage": [
{
"userEmail": "[email protected]",
"vehicle": "2018 Toyota Rav4 (Tractor Trailer) 08:6B:D7:09:06:88",
"date": "2024-06-01",
"state": "WA",
"mileage": 24,
"highways": "I405, I90"
},
{
"userEmail": "[email protected]",
"vehicle": "2018 Toyota Rav4 (Tractor Trailer) 08:6B:D7:09:06:88",
"date": "2024-06-03",
"state": "WA",
"mileage": 0,
"highways": null
},
{
"userEmail": "[email protected]",
"vehicle": "2018 Toyota Rav4 (Tractor Trailer) 08:6B:D7:09:06:88",
"date": "2024-06-13",
"state": "WA",
"mileage": 3,
"highways": null
},
{
"userEmail": "[email protected]",
"vehicle": "2018 Toyota Rav4 (Tractor Trailer) 08:6B:D7:09:06:88",
"date": "2024-06-21",
"state": "WA",
"mileage": 294,
"highways": "I-90"
},
{
"userEmail": "[email protected]",
"vehicle": "2018 Toyota Rav4 (Tractor Trailer) 08:6B:D7:09:06:88",
"date": "2024-06-22",
"state": "WA",
"mileage": 69,
"highways": "I-90"
},
{
"userEmail": "[email protected]",
"vehicle": "2018 Toyota Rav4 (Tractor Trailer) 08:6B:D7:09:06:88",
"date": "2024-06-24",
"state": "WA",
"mileage": 214,
"highways": "I-90"
},
{
"userEmail": "[email protected]",
"vehicle": "2018 Toyota Rav4 (Tractor Trailer) 08:6B:D7:09:06:88",
"date": "2024-06-25",
"state": "WA",
"mileage": 0,
"highways": null
}
]
}

Did this answer your question?