Directions routes
routes_directionsThe turn-by-turn route between two places, with the distance for each instruction. Use ETA instead when only the travel time is wanted — this asks the provider for more and costs more
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Where the journey ends, e.g. 'Heathrow Airport' | |
| from | No | Where the journey starts, e.g. 'King's Cross, London' (or give from_lat/from_lon) | |
| mode | No | How to travel: drive (default), walk, cycle or transit | |
| to_lat | No | Optional end latitude, if already known | |
| to_lon | No | Optional end longitude, if already known | |
| from_lat | No | Optional start latitude, if already known | |
| from_lon | No | Optional start longitude, if already known | |
| arrive_by | No | Be there by this time, as RFC3339. Cannot be combined with depart_at | |
| depart_at | No | When the journey starts, as RFC3339. Defaults to now |