You're all set!

To start developing, please head over to our developer documentation.

Activate the Google Maps Distance Matrix API

To get you started we'll guide you through the Google Developers Console to do a few things first:

  1. Create or choose a project
  2. Activate the Google Maps Distance Matrix API
  3. Create appropriate keys
Continue

Distance & duration for multiple destinations and transport modes

Retrieve duration and distance values based on the recommended route between start and end points.

Duration and Distance

Estimate travel time and distance based on a recommended route.

Modes of Transport

Specify the mode of transport to use when calculating distance and travel time.

Traffic

Use current and historical traffic to predict travel times.

Demos and sample code

Quick start steps

Click "Get a Key" to create a project on the Google API Console, activate the Google Maps Distance Matrix API and get an API key. Then, read the documentation and start developing.

Activate the Google Maps Distance Matrix API

To get you started we'll guide you through the Google Developers Console to do a few things first:

  1. Create or choose a project
  2. Activate the Google Maps Distance Matrix API
  3. Create appropriate keys
Continue

Use the Distance Matrix API along with other APIs to build location-relevant apps and sites.

Google Maps Directions API

Calculate directions between multiple locations.

Google Maps JavaScript API

Customize maps with your own content and imagery.

Google Maps Android API

Add maps to your Android application.

Send feedback about...

Google Maps Distance Matrix API
Google Maps Distance Matrix API
Need help? Visit our support page.