apple_maps_directions
Get driving, walking, or cycling directions from Apple Maps with route details, turn-by-turn steps, traffic-aware estimates, and preferences for tolls, highways, and stairs.
Instructions
Get Apple Maps driving, walking, or cycling directions. Returns Apple Maps routes between an origin and a destination, with optional intermediate stops, for driving, walking, or cycling. Each route carries its name, whether it is Apple's main or an alternate route, distance, live/historic/free-flow durations, toll and highway flags, Apple's route description and traffic note, and per-leg turn-by-turn steps (maneuver, road, shield, instruction text, distance, duration); detail=full adds each leg's path as coordinates. Departure time and avoid-tolls/highways/stairs preferences are supported. Transit routing is not available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| via | No | Intermediate stops as lat,lng pairs separated by |, at most 8 | |
| lang | No | Language for road names and instructions as a BCP 47 tag. Defaults to en-US. | |
| mode | No | Travel mode. Defaults to driving. | |
| detail | No | How much of each route to return. Defaults to steps. | |
| country | No | Two-letter ISO 3166-1 country code. Defaults to US. | |
| depart_at | No | Departure time as RFC 3339 for traffic-aware estimates. Defaults to now. | |
| avoid_tolls | No | Driving only: prefer routes without tolls | |
| avoid_stairs | No | Walking only: prefer routes without stairs | |
| avoid_highways | No | Driving only: prefer routes without highways | |
| origin_latitude | Yes | Origin latitude | |
| origin_longitude | Yes | Origin longitude | |
| destination_latitude | Yes | Destination latitude | |
| destination_longitude | Yes | Destination longitude |