This product or feature is in Legacy status and cannot be enabled for new usage. For more information about Legacy status and how to migrate from Legacy to newer services, see Legacy products and features.
Stay organized with collections
Save and categorize content based on your preferences.
Directions API requests generate calls to one of two SKUs depending on the type of request:
Essentials or Pro.
Click the infoinfo
icon to see the table of contents for this page.
This SKU bills for a request to the Directions API unless the request triggers the
Directions Advanced billing SKU, in which case it is
billed under that SKU.
Traffic information.: When you use all of the following request options
so that the response returns the
duration_in_traffic
field:
Travel mode is driving: Set
travel mode
to driving. Driving is the default travel mode.
Departure time is set: Specify a valid
departure_time. You can set departure_time to the current time or some time in the
future. It cannot be in the past.
No stopover waypoints: Don't include stopover
waypoints. If
the request includes waypoints, prefix each waypoint with via: to
influence the route but avoid stopovers. For example,
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-12 UTC."],[[["The Directions API uses a pay-as-you-go pricing model with separate billing SKUs for basic and advanced requests."],["Requests are billed based on query volume, with higher volumes receiving discounted pricing."],["The Directions Advanced SKU applies to requests using traffic information, more than 10 waypoints, waypoint optimization, or location modifiers."],["Usage is subject to limits, including a maximum of 25 waypoints per request and 3,000 requests per minute."],["Manage costs by setting daily quota limits in the Google Cloud Console to avoid exceeding your budget."]]],[]]