When you are computing a route, a custom route, or a route matrix, you may want to take into consideration any toll fees on the route. For select cities, you can compute the estimated toll fee for a route in the appropriate currency.
The Routes Preferred API calculates the estimated toll fee, taking into consideration any toll price discounts or passes available to the driver or vehicle, and the most convenient payment methods. If there is no available toll price for a given route, the Routes Preferred API indicates the existence of a toll with an unknown fee.
In order to accurately calculate toll information, the Routes Preferred API gives you the option of specifying:
- The emission type of the vehicle used for the route
(
VehicleEmissionType
). If no emission type is provided, the toll for a gasoline-fueled vehicle is returned. - Any toll passes for the driver or vehicle that may apply
(
TollPass
). In some regions, a driver or vehicle with a toll pass pays a different toll than those who don’t have a pass. For example, if you have a Good To Go! toll pass in Seattle, WA, US, you pay a lower toll than if you don't have a pass. In some regions, such as Indonesia, a toll pass may be required to travel on a road. If a toll pass is not specified for a route where a pass is required, no price will be returned, because the client must include the pass in the request to see relevant toll prices.
Optional toll information is currently available for the following regions:
Region Code | Country/Region | State/City/Toll Road |
---|---|---|
AR | Argentina | Countrywide |
AU | Australia | Brisbane |
AU | Australia | Melbourne |
AU | Australia | Sydney |
BR | Brazil | Countrywide |
ID | Indonesia | Countrywide |
IN | India | Countrywide |
MX | Mexico | Countrywide |
US | United States | Alabama |
US | United States | Alaska |
US | United States | California |
US | United States | Colorado |
US | United States | Delaware |
US | United States | Florida |
US | United States | Illinois |
US | United States | Iowa |
US | United States | Indiana |
US | United States | Kansas |
US | United States | Louisiana |
US | United States | Maine |
US | United States | Maryland |
US | United States | Massachusetts |
US | United States | Michigan |
US | United States | Minnesota |
US | United States | Missouri |
US | United States | New Hampshire |
US | United States | New Jersey |
US | United States | New York |
US | United States | North Carolina |
US | United States | Ohio |
US | United States | Pennsylvania |
US | United States | Rhode Island |
US | United States | South Carolina |
US | United States | Texas |
US | United States | Utah |
US | United States | Virginia |
US | United States | Washington |
US | United States | West Virginia |
This information will be updated as more toll data becomes available.
For examples of calculating toll fees, see: