Routes API
Routes API is the next generation, performance optimized version of the existing Directions API and Distance Matrix API. It helps you find the ideal route from A to Z, calculates ETAs and distances for matrices of origin and destination locations, and also offers new features.
Get Started
Start building with the Routes API.
Get started with Google Maps Platform
Create an account, generate an API key, and start building.
Try the demo
Try the Routes API demo.
Routes API enhancements
Learn about the enhancements added by the Routes API.
Make your first route request
Calculate a route using HTTP or gRPC.
Compute a route matrix
Calculate the distance and duration of a route for multiple origins and destinations.
Migrate an existing application
Migrate existing apps that use the Directions API and Distance Matrix API to use the Routes API.
View the API reference
View the Routes REST and gRPC API reference.
Features
Learn about core features of the Routes API.
Route two-wheeled vehicles
Two-wheeler refers to two-wheeled motorized vehicles. This mode differs from the bicycle travel mode, which is a human-powered travel mode.
Calculate toll fees
For select cities, you can compute the estimated toll fee for a route in the appropriate currency.
Configure eco-friendly routes
Estimate an eco-friendly route showing the most fuel or energy efficient route based on your
vehicle's engine type.
Request traffic information on the polyline
Request information about traffic conditions along a traffic-aware polyline.
Configure quality vs latency
Control routes quality vs latency.
Stream results from Compute Route Matrix
Return results as they’re available for faster latency.
Use the vehicle stopover qualifier
Specify if a waypoint is meant to be used for stopping for pick-up or drop-off.