How are the Toll API transactions counted?

Transactions are counted differently based on the endpoints used:

1. Tolls between origin, destination, and waypoints:

If you request with one origin and one destination, TollGuru Toll API needs to query two geocode requests to the default map API, two direction requests to the default map API, and one Toll (plus gas) transaction to TollGuru Toll API. This leads to 2 geocode + 2 direction + 1 toll = 5 transactions.

If you request for one origin, two stops, and one destination, it would be 4 geocode requests + 2 direction requests + 1 toll request = 7 transactions.

If you use Google Maps: 

For one origin, two stops, and one destination, it would be 8 geocode requests + 4 direction requests + 1 toll request = 13 transactions.

2. Complete route polyline from a mapping service:

If you send a route polyline (with as many stops as you want) based on Google Maps or any other map without necessitating any queries to Google Maps or any other map it will be just 1 transaction.

3. TollTally - GPS Tracks to Toll: 

Please reach out to learn more about transaction charges for this endpoint.

Note: One transaction will be charged for every request made with input errors.

cta_desktop-min

Ready to integrate Toll Intelligence?

Get started with TollGuru Toll API or Cloud Services