Distance Matrix API
Get the travel distance and time for a matrix of origins and destinations.
Start building with the Distance Matrix API.
Make a distance matrix request
Get the travel distance and journey duration for a matrix of origins and destinations.
Use Java, Python, Go, or Node.js client libraries to work with Google Maps Services on your server.
Get the OpenAPI specification for the Distance Matrix API, also available as a Postman collection.
Learn about core features of the Distance Matrix API.
Get traffic information
Make a distance matrix request that calculates travel time based on current traffic conditions.
Specify side of road
Specify whether a calculated route should pass through a particular side of the road.
Distance Matrix Service
Use the DistanceMatrixService object to fetch the distances between a set of locations.
Help & support
Get help. Give help. Join the community.