> Documentation index: https://developers.google.com/maps/documentation/llms.txt

# Routes API

The Routes API service includes two methods:

**Compute Routes** returns the ideal route between two locations.

**Compute Route Matrix** returns route data for multiple combinations of origins and destinations.

## Features

Learn about core features of the Routes API. [](http://developers.google.com/maps/documentation/routes/lvr.md.txt)

### [Large vehicle routing](http://developers.google.com/maps/documentation/routes/lvr.md.txt)

Route large vehicles such as trucks and buses while taking into account their weight, height, width, and length restrictions. [](http://developers.google.com/maps/documentation/routes/route_two_wheel.md.txt)

### [Route two-wheeled vehicles](http://developers.google.com/maps/documentation/routes/route_two_wheel.md.txt)

Route two-wheeled motorized vehicles such as motorcycles. This routing feature differs from the bicycle travel mode, which is a human-powered travel mode. [](http://developers.google.com/maps/documentation/routes/calculate_toll_fees.md.txt)

### [Calculate toll fees](http://developers.google.com/maps/documentation/routes/calculate_toll_fees.md.txt)

Compute the estimated toll fees for a route in the appropriate currency in select cities only. [](http://developers.google.com/maps/documentation/routes/eco-routes.md.txt)

### [Configure eco-friendly routes](http://developers.google.com/maps/documentation/routes/eco-routes.md.txt)

Estimate an eco-friendly route showing the most fuel or energy efficient route based on your vehicle's engine type. [](http://developers.google.com/maps/documentation/routes/traffic_on_polylines.md.txt)

### [Request traffic information on the polyline](http://developers.google.com/maps/documentation/routes/traffic_on_polylines.md.txt)

Request information about traffic conditions along a traffic-aware polyline. [](http://developers.google.com/maps/documentation/routes/config_trade_offs.md.txt)

### [Configure traffic data quality vs latency](http://developers.google.com/maps/documentation/routes/config_trade_offs.md.txt)

Get a routing preference to control the trade-off between accurate, traffic-aware routes and faster response times. [](http://developers.google.com/maps/documentation/routes/compute_route_matrix.md.txt#stream_results)

### [Stream results from Compute Route Matrix](http://developers.google.com/maps/documentation/routes/compute_route_matrix.md.txt#stream_results)

Return results as they're available for faster latency. [](http://developers.google.com/maps/documentation/routes/stop_over.md.txt)

### [Use the vehicle stopover qualifier](http://developers.google.com/maps/documentation/routes/stop_over.md.txt)

Specify whether a waypoint can be used by a vehicle as a pickup or drop-off stop.

*** ** * ** ***

## Explore

Explore what you can do with Compute Routes and Compute Route Matrix.
[![](http://developers.google.com/static/maps/images/landing/hero_directions_api.png)](http://developers.google.com/maps/demo-key.md.txt)

### [Compute Routes](http://developers.google.com/maps/demo-key.md.txt)

Provide directions with real-time traffic for transit, biking, driving, 2-wheel motorized vehicles, or walking between multiple locations.  

Get started with a Maps Demo Key at no cost. [Get a Demo Key](http://developers.google.com/maps/demo-key.md.txt) [Learn more](http://developers.google.com/maps/documentation/routes/compute-route-over.md.txt) [Try the demo](http://developers.google.com/maps/documentation/routes/demo.md.txt) [Set up Compute Routes](http://developers.google.com/maps/documentation/routes/cloud-setup) [Get a route](http://developers.google.com/maps/documentation/routes/compute_route_directions.md.txt) [![](http://developers.google.com/static/maps/images/landing/hero_distance_matrix_api.png)](http://developers.google.com/maps/documentation/routes/compute-route-matrix-over.md.txt)

### [Compute Route Matrix](http://developers.google.com/maps/documentation/routes/compute-route-matrix-over.md.txt)

Calculate travel times and distances for a matrix of routes between different origin and destination locations for up to 625 route elements. [Learn more](http://developers.google.com/maps/documentation/routes/compute-route-matrix-over.md.txt) [Set up Compute Route Matrix](http://developers.google.com/maps/documentation/routes/cloud-setup) [Get a route matrix](http://developers.google.com/maps/documentation/routes/compute_route_matrix.md.txt)

## Help \& support

Get help. Give help. Join the community. [![](http://developers.google.com/static/site-assets/logo-stack-overflow.svg)](https://stackoverflow.com/questions/tagged/google-routes-api)

### [Stack Overflow](https://stackoverflow.com/questions/tagged/google-routes-api)

Get help. Give Help. Build Maps karma.
[![](http://developers.google.com/static/maps/images/landing/buganizer.svg)](https://issuetracker.google.com/issues/new?component=1244012)

### [Issue Tracker](https://issuetracker.google.com/issues/new?component=1244012)

Report a bug or open a feature request.
[![](http://developers.google.com/static/maps/images/landing/warning.svg)](https://status.cloud.google.com/maps-platform/)

### [Platform status](https://status.cloud.google.com/maps-platform/)

Find out about platform incidents and outages.
[![](http://developers.google.com/static/maps/images/landing/help.svg)](http://developers.google.com/maps/documentation/routes/support.md.txt)

### [Support](http://developers.google.com/maps/documentation/routes/support.md.txt)

Get help from the Google Maps Platform team.