Routing
geoapify_routingCompute a route between waypoints for a travel mode, returning distance, time and legs. Geoapify REST: GET /v1/routing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Result language as an ISO 639-1 code, e.g. 'en', 'de', 'fr'. | |
| mode | Yes | Travel mode: drive, walk, bicycle, truck, hike, transit, etc. (required). | |
| units | No | Distance units — 'metric' or 'imperial'. | |
| format | No | Response format — 'json' (default) or 'geojson'. | |
| details | No | Comma-separated route detail sets, e.g. 'instruction_details,route_details'. | |
| waypoints | Yes | Pipe-separated 'lat,lon' waypoints, e.g. '52.5,13.4|52.6,13.5' (required). |