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.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/apple-maps/directions
- Auth: API key in header x-api-key
Query parameters
Origin latitude
Origin longitude
Destination latitude
Destination longitude
Intermediate stops as lat,lng pairs separated by |, at most 8
Travel mode. Defaults to driving.
Driving only: prefer routes without tolls
Driving only: prefer routes without highways
Walking only: prefer routes without stairs
Departure time as RFC 3339 for traffic-aware estimates. Defaults to now.
How much of each route to return. Defaults to steps.
Language for road names and instructions as a BCP 47 tag. Defaults to en-US.
Two-letter ISO 3166-1 country code. Defaults to US.
Headers
API key required
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.