API reference

Optimized route (TSP)

POST /v1/optimized_route

Solves the Travelling Salesman Problem — finds the optimal visit order for a set of waypoints to minimize total travel time.

Parameters

locations array of object, required
costing auto | truck | bicycle | pedestrian | motorcycle | motor_scooter | bus | taxi
Vehicle/costing model for routing Default: "auto".

Price

See the price of /v1/optimized_route on the pricing page.

Related endpoints