Skip to main content

Mileage Report

Contents

The Mileage Report provides the distance, time, and cost for each stop on a route. It can be set to retrieve distances in miles (default) or kilometers.

Parameters

With your API key, you can try a Mileage 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.

Mileage Report Specific Parameter

Data ElementDescriptionData TypeValue/Example
THoursWithSeconds flag to return THours to the seconds precision. HH:MM:SS
boolean

Mileage Request

API KEY
GET

Response

Mileage Report Response

Data ElementDescriptionData TypeValue/Example
typeDescribes the type of report and what it does.
string
MileageReport
RouteIDThe route identification key(Can be null)
int
ReportLinesIndicates the miles, time and cost for each stop on the route.
Complex

ReportLines

Data ElementDescriptionData TypeValue/Example
StopsDescribes the stops encountered on the route.
Complex
Data ElementDescriptionData TypeValue/ExampleNote
AddressEncapsulates the details about the location
Complex
CoordsEncapsulates the details about the longitude/latitude
Complex
RegionIndicates the region of the location
Enum
LabelThe label to be displayed on maps and reports in association with a stop
string
Not Applicable
PlaceNameThe place name which corresponds to custom place.
string
Not Applicable
ErrorsEncapsulated the details about the errors associated with the geocode locationList of Complex Objects
LMilesThe distance for this leg of the route
string
TMilesThe total distance at this point in the route
string
LCostMileThe cost of this leg of the route, including tolls
string
TCostMileThe total cost at this point in the route, including tolls
string
LHoursThe travel time in hours for this leg of the route
string
THoursThe total travel time in hours at this point in the route
string
LTollsThe tolls for this leg of the route
string
TTollsThe total tolls at this point in the route
string
LEstghgEstimated greenhouse gas emissions for this leg for the route
string
TEstghgThe total estimated greenhouse gas emissions at this point in the route
string
EtaEtdEstimated time of arrival or departure
string

Address

Data ElementDescriptionData TypeValue/Example
StreetAddressThe house number and street name
string
495 Walker Road
CityThe name of the city
string
Endicott
StateThe two letter state abbreviation
string
NY
ZipThe postal code or zip
string
13760
CountyThe county or jurisdiction.
string
Broome
CountryThe name of the country
string
United States
SPLCThe Standard Point Location code to use in place of street/city/state/zip
string
CountryPostalFilterThe postal code filter; use this to filter zip codes by country
Enum
Us
Em
Both
AbbreviationFormatThe abbreviation format for the country code. This is not applicable for NA dataset
Enum
FIPS
ISO2
ISO3
CountryAbbreviationAbbreviated country code corresponding to requested format.
string

Coords

Data ElementDescriptionData TypeValue/Example
LatLatitude
string
42.12345
LonLongitude
string
-76.12345
Last updated March 21, 2023.
Contents