Directions API (Legacy) Stay organized with collections Save and categorize content based on your preferences.

Get directions between locations, for driving, cycling, transit, and walking.

Start building with the Directions API.

Client libraries

Use the Java, Python, Go, or Node.js client libraries to work with Google Maps Services on your server.

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.

Location modifiers

Specify location modifiers to indicate how drivers should approach a particular location.

Example apps

Run live code samples on your local machine and favorite code playgrounds with the Maps JavaScript API.

Draggable directions

Use the DirectionsService object to fetch directions between draggable markers.

Help & support

Get help. Give help. Join the community.