Stay organized with collections Save and categorize content based on your preferences.
This document describes the prerequisites for using the Roads API, how to enable it, and then how to make an authenticated request.
checklistEnsure that you meet the prerequisites.
settingsEnable the API in your Google Cloud project.
verified_userConfigure an API key to make an authenticated API request.
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-08-14 UTC.
[[["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-08-14 UTC."],[[["Google Maps Platform products are secured using API keys, which are unique alphanumeric strings linked to your billing account and project."],["You can create and manage API keys through the Google Cloud Console or the Cloud SDK."],["To enhance security, restrict your API keys by limiting their usage to specific APIs and IP addresses."],["Include your API key in every Roads API request using the `key=` parameter within the URL."]]],["API keys are crucial for securing Google Maps Platform products, linking your project to your billing account. To create an API key, navigate to the Google Maps Platform Credentials page, and select \"Create credentials.\" Restricting keys is recommended to prevent unwarranted requests and potential financial burdens. This involves setting application and API restrictions within the Credentials page or via Cloud SDK. Finally, each Roads API request must include the API key in the URL, ensuring HTTPS and proper URL encoding.\n"]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4