Travel times between places
travel_timesCalculate road distances and driving or walking times between multiple origins and destinations in India. Compare straight-line km, road km, free-flow and traffic-adjusted minutes for trip planning.
Instructions
Computes road distance and travel time from each origin to each destination in India (a matrix), by car or on foot. Each place is lat+lng, a railway station code, an airport IATA code or a place name. Returns straight-line km, road km, free-flow minutes and traffic-adjusted minutes per pair, with a warning when a point is far from any road. Does not cover public transport or flights.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | drive (car/taxi, with traffic allowance) or walk. | drive |
| origins | Yes | Starting places. | |
| destinations | Yes | Destination places. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | Yes | ||
| notes | Yes |