apple_maps_eta
Get Apple Maps driving or walking ETA between two points, returning live, historic, and free-flow durations plus distance. A cheaper alternative to directions when only time and distance are needed.
Instructions
Get Apple Maps travel-time estimates between two points. Returns Apple Maps travel-time estimates between an origin and a destination: for each transport type Apple reports (driving always; walking when requested), the live best estimate, the historic and free-flow durations, and the route distance. Cheaper than the directions endpoint when only the time and distance are needed. Apple has no cycling ETA; use the directions endpoint for cycling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Travel mode. Defaults to driving. | |
| country | No | Two-letter ISO 3166-1 country code. Defaults to US. | |
| origin_latitude | Yes | Origin latitude | |
| origin_longitude | Yes | Origin longitude | |
| destination_latitude | Yes | Destination latitude | |
| destination_longitude | Yes | Destination longitude |