Distance & duration for multiple destinations and transport modes
Retrieve duration and distance values based on the recommended route between start and end points.
Modes of Transport
Specify the mode of transport to use when calculating distance and travel time.Duration and Distance
Estimate travel time and distance based on a recommended route.Traffic
Use current and historical traffic to predict travel times.Demos and sample code
Quick start steps
Visit our Developers Console where you can create a project,
activate the Google Maps Directions API, get an API key and,
optionally, enable billing. 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:
- Create or choose a project
- Activate the Google Maps Distance Matrix API
- Create appropriate keys
Related APIs
Use the Distance Matrix API along with other APIs to build location-relevant apps and sites.
