Skip to main content

Directions API

The Mapbox Directions API produces turn-by-turn instructions using four different Mapbox routing profiles: mapbox/driving-traffic, mapbox/driving, mapbox/walking, and mapbox/cycling.

A sample Directions API request looks like:

https://api.mapbox.com/directions/v5/mapbox/driving/-122.42,37.78;-77.03,38.91?access_token= <UserAccessToken /> 

The Directions API has optional parameters that can be used to refine the results of a request.

Related resources:

Was this page helpful?