AI-generated Key Takeaways
-
The Routes Preferred API can calculate estimated toll fees for routes in select cities, taking into account toll passes and discounts.
-
To ensure accurate toll calculations, specify the vehicle's emission type and any applicable toll passes in your request.
-
The Routes Preferred API's toll calculation differs from Google Maps, focusing on actual charges based on provided pass information.
-
Toll fee information is available for specific regions, including countries like Argentina, Australia, and the United States, with varying coverage levels.
-
If a toll exists but the fee is unknown, the API will indicate its presence without a specific price.
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.
To accurately calculate toll information, make sure you include the following information in your request:
- 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 you don't specify a toll pass for a route where a pass is required, no price is returned.
Optional toll information is 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 |
JP | Japan | 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 |
For examples of calculating toll fees, see: