Example – Tolls with hourly rates
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, concessionaires have special rates for peak times, weekends and public holidays, or specific times of the year such as low season and high season.
Below is the tariff table for Argentina’s AUSA concessionaire, which offers two types of tariff, one for regular hours and one for peak hours.

In Brazil, this type of tariff is rarer, but some concessionaires already charge different values on weekends and public holidays
In this example we have a route with a 4-axle truck that will pass through the Sarmiento gantry in Argentina. According to the table above, this gantry has conditioning values for peak hours.
Request
The following parameters will be needed to get the correct value according to the time and day of the week:
vehicleType
– Type of vehicle to be considered, in the example it will beTRUCK_WITH_TWO_DOUBLE_AXLES
;calculationDate
– Date and time in the timestamp format. In this example, we will use the date 02/06/2025 at 17:00 (GMT), which corresponds to the timestamp1738861232000
;conditions
– Object that indicates which values should be considered for tolls where there are conditional values, as in this example value by time range and day of the week:period
– Indicates the period that should be considered to return the exact toll value. In this case, the route will be carried out on a normal day, so the value used in this example will beNORMAL
.billingType
– Indicates the type of charge that should be considered. The value to be used in this example should be
.NORMAL
Request with Independent endpoint
{ "legs": [ { "points": "zh~qEdpncJH[LQHGNGLCPAJBPHHFJNHN@N@XAREV[z@Yx@C@gClE", "vehicleType": "TRUCK_WITH_TWO_DOUBLE_AXLES", "calculationDate": 1738861232000, "condition": { "period": "NORMAL", "billingType": "NORMAL" } } ] }
Request with Trip API
{ "calculationMode": "THE_FASTEST", "points": [ { "latitude": -34.566702, "longitude": -58.406596, "siteId": "Point 1" }, { "latitude": -34.566436, "longitude": -58.408582, "siteId": "Point 2" } ], "toll": { "vehicleType": "TRUCK_WITH_TWO_DOUBLE_AXLES", "calculationDate":1738861232000, "condition": { "period": "NORMAL", "billingType": "NORMAL" } } }
The result can be seen on the map below:
Response
Since the time falls within peak hours for the toll in question, the value returned will be 2348.84
, according to the table provided by the concessionaire.
The full responses can be found below.
Response with Independent endpoint
{ "legs": [ { "tolls": [ { "id": "1032", "name": "Pórtico - Sarmiento", "address": "Avenida Sarmiento, 4254", "city": " ", "state": { "name": "Ciudad Autonoma de Buenos Aires", "code": "Ciudad Autonoma de Buenos Aires" }, "country": "Argentina", "concession": "Ausa", "direction": "WEST", "coordinates": { "latitude": -34.5671991, "longitude": -58.4063059 }, "serviceTypes": [], "price": 2348.84 } ], "legTotalCost": 2348.84, "vehicleType": "TRUCK_WITH_TWO_DOUBLE_AXLES", "condition": { "billingType": "NORMAL", "period": "NORMAL" }, "calculationDate": 1738861232000 } ], "totalCost": 2348.84 }
Response with Trip API
{ "legs": [ { "tolls": [ { "id": "1032", "name": "Pórtico - Sarmiento", "address": "Avenida Sarmiento, 4254", "city": " ", "state": { "name": "Ciudad Autonoma de Buenos Aires", "code": "Ciudad Autonoma de Buenos Aires" }, "country": "Argentina", "concession": "Ausa", "direction": "WEST", "coordinates": { "latitude": -34.5671991, "longitude": -58.4063059 }, "serviceTypes": [], "price": 2348.84 } ], "legTotalCost": 2348.84, "vehicleType": "TRUCK_WITH_TWO_DOUBLE_AXLES", "condition": { "billingType": "NORMAL", "period": "NORMAL" }, "calculationDate": 1738861232000 } ], "totalCost": 2348.84 }