Available traffic options
When you request a route, you can choose how the Routes API uses traffic
data when calculating your route. A traffic model is a way to factor
historical and live traffic conditions into your route generation, and can
affect both which routes you get and how long the estimated travel time is.
Here are the traffic options for a route:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-01 UTC.
[null,null,["Last updated 2025-03-01 UTC."],[[["The Routes API offers options to customize how traffic data is used for route calculation, impacting both route selection and estimated travel times."],["You can choose to include or exclude traffic data, impacting the accuracy and speed of the results."],["Traffic-aware polylines provide detailed traffic conditions along the route but come with higher billing rates."],["Different traffic models can be selected to prioritize various factors like historical and live traffic conditions when estimating travel duration."]]],["The Routes API allows users to incorporate traffic data into route calculations. Users can choose to include or exclude traffic data for varying accuracy and response times. They can also opt for traffic-aware polylines, which provide traffic condition details along the route, though this incurs a higher cost. Furthermore, users can specify which traffic model to use, prioritizing factors in calculating travel duration based on traffic conditions.\n"]]