Route between places
routeCalculate travel distance and time between multiple places by foot, car, or bike using OpenStreetMap data. Waypoints are visited in order, with optional turn-by-turn steps.
Instructions
Calculates the real-world travel distance and time between two or more places, walking, driving or cycling, on OpenStreetMap data. Waypoints are visited in the given order. Set include_steps for a turn-by-turn summary. Use route_matrix to compare many pairs, optimize_route to reorder stops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | Travel mode: on foot, by car or by bicycle | |
| language | No | Language for resolved place labels, default "en" | |
| waypoints | Yes | Start, optional stops in between, destination | |
| include_steps | No | Include a turn-by-turn step summary, default false |