Skip to main content

State Report

Contents

The State Report provides detailed mileage information for each state or country traveled through on the route.

Parameters

With your API key, you can try a State Report request using the form below. The required parameters are marked with an asterisk. You can enter values for any of the optional parameters by first checking the box next to them. Scroll down the page to submit your request.

State/Country Mileage Report Request

API KEY
GET

Response

      
      

State Report Response

Data Element Description Data Type Value/Example
type Describes the type of report and what it does.
string
StateReport
RouteID The route identification key(Can be null)
Int
MileageReportLines Indicates the stops, miles, interests and details on the road for a route.
Complex
Data Element Description Data Type Value/Example
Stop Describes the stops encountered on the route.
Complex
LMiles The distance for this leg of the route
double
0.0
TMiles The total distance at this point in the route
double
0.0
LCostMile The cost of this leg of the route, including tolls
double
0.00
TCostMile The total cost at this point in the route, including tolls
double
0.00
LHours The travel time in hours for this leg of the route
time
0:00
THours The total travel time in hours at this point in the route
time
0:00
StateReportLines The state and country information for the report.
Complex
Data Element Description Data Type Value/Example
StCntry The state or country for this leg of the route or the TOTAL route.
string
NJ
Total The total miles traveled in the state or country.
string
69.498
Toll The toll road miles traveled in the state or country.
string
51.923
Free The non-toll road miles traveled in the state or country.
string
17.575
Ferry The ferry road miles traveled in the state or country.
string
0.000
Loaded The loaded miles traveled in the state or country.
string
69.498
Empty The empty miles traveled in the state or country.
string
0.00
Tolls The toll cost for the state. North America only.
string
24.85
Energy The miles traveled on energy roads in the state or country.
string
0.00
Last updated July 23, 2024.
API Endpoint:

Contents