Planisfy
Api

Optimized Trips API

Request Valhalla optimized_route trips for small waypoint sets.

Optimized Trips API

Optimized trips proxy locations to Valhalla optimized_route.

Route

MethodRouteDescription
GET/optimized-trips/v1/{profile}/{lon,lat;lon,lat;lon,lat}Optimized waypoint order.

At least three and at most 12 coordinates are required.

curl "https://api.example.com/optimized-trips/v1/driving/9.18,48.77;9.20,48.78;9.25,48.80" \
  -H "X-API-Key: pk_your_key_here"

Auth and errors

Requests require API key or session auth and a reachable Valhalla service. Unknown profiles and invalid coordinate counts return 400 BAD_REQUEST.

On this page