Try the next generation of Directions features with the Routes API, now available in Preview.
Stay organized with collections Save and categorize content based on your preferences.

Get Started

Start building with the Directions API.
Create an account, generate an API key, and start building.
Get directions from one place to another, for driving, transit, cycling, and walking.
Use the Java, Python, Go, or Node.js client libraries to work with Google Maps Services on your server.
Add directions functionality to your web pages with the Maps JavaScript API Directions service.

Features

Learn about core features of the Directions API.
Request directions from one place to another.
Set the travel mode to get directions for walking, driving, transit, or cycling.
Specify waypoints to return a route that includes stops at intermediate locations.
Return the time estimate for a route.
Specify location modifiers to indicate how drivers should approach a particular location.
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.
Use the DirectionsService object to get directions between places.
Use the DirectionsRenderer object to display a directions panel.
Use the DirectionsService object to fetch directions for a route, including waypoints.
Use the DirectionsService object to fetch directions between draggable markers.
Use the DirectionsService object to display data along a route.

Help & support

Get help. Give help. Join the community.

Get help. Give Help. Build Maps karma.

Report a bug or open a feature request.

Find out about platform incidents and outages.

Get help from the Google Maps Platform team.