Introduction
The Toll for Maps API is a Restful API capable of calculating tolls from routes generated by the Google Maps Directions API. With the Toll for Maps API you can:
The Toll for Maps API is a Restful API capable of calculating tolls from routes generated by the Google Maps Directions API. With the Toll for Maps API you can:
The Toll for Maps API covers toll calculation in the following countries: Argentina, Brazil, Chile, Colombia and Mexico. The operation and method of charging vary according to the [...]
Before you can start using the API, you will need to obtain the authentication token. The following headers will be required, where the word token must be replaced by the token obt [...]
In this example, we have a simple toll calculation for a 3-point route on a stretch of the Ayrton Senna Highway in São Paulo, coming from the Google Maps Directions API response, w [...]
Some toll plazas, especially in Argentina and Chile, have prices that vary according to the day, time or season of the year the route is being traveled. In Argentina, for example, [...]
Below is the table with the status codes for each endpoint available in the Toll for Maps API: Code Method Endpoint Description 200 POST https://api.maplink.global/toll/v1/directio [...]
The following table shows all the error messages that can be returned by the API in the response body: Error code Message Description VALIDATION_FAILED or VALIDATION_ERROR { messag [...]