API reference

Toll route optimizer

POST /v1/toll/optimize

Calculates a route that uses toll roads and one that avoids them, and compares distance and travel time so you can choose a strategy. It does not return monetary amounts.

Parameters

locations array of object, required
costing auto | truck | bicycle | pedestrian | motorcycle | motor_scooter | bus | taxi
Vehicle/costing model for routing Default: "auto".
language string
Default: "en".
vehicle object
strategy fastest | cheapest | balanced
Default: "balanced".

Price

See the price of /v1/toll/optimize on the pricing page.

Related endpoints