Directions API
Get directions between locations, for driving, cycling, transit, and walking.
Get Started
Start building with the Directions API.
Get started with Google Maps Platform
Create an account, generate an API key, and start building.
Make your first directions request
Get directions from one place to another, for driving, transit, cycling, and walking.
Client libraries
Use the Java, Python, Go, or Node.js client libraries to work with Google Maps Services on your server.
Directions in Maps JavaScript API
Add directions functionality to your web pages with the Maps JavaScript API Directions service.
Features
Learn about core features of the Directions API.
Directions
Request directions from one place to another.
Travel mode
Set the travel mode to get directions for walking, driving, transit, or cycling.
Waypoints
Specify waypoints to return a route that includes stops at intermediate locations.
Traffic predictions
Return the time estimate for a route.
Location modifiers
Specify location modifiers to indicate how drivers should approach a particular location.
Alternative routes
Instruct the API to return multiple routes, if available.
Example apps
Run live code samples on your local machine and favorite code playgrounds with the Maps JavaScript API.
Directions service
Use the
DirectionsService
object to get directions between places.
Text (turn-by-turn) directions
Use the
DirectionsRenderer
object to display a directions panel.
Using waypoints in directions
Use the
DirectionsService
object to fetch directions for a route, including waypoints.
Draggable directions
Use the
DirectionsService
object to fetch directions between draggable markers.
Complex directions
Use the
DirectionsService
object to display data along a route.
Help & support
Get help. Give help. Join the community.
Stack Overflow
Get help. Give Help. Build Maps karma.
Issue Tracker
Report a bug or open a feature request.
Platform status
Find out about platform incidents and outages.
Support
Get help from the Google Maps Platform team.