[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eGoogle Maps Platform secures its products by requiring API keys for authentication and billing purposes.\u003c/p\u003e\n"],["\u003cp\u003eAPI keys can be created and managed through the Google Cloud Console or the Cloud SDK.\u003c/p\u003e\n"],["\u003cp\u003eIt's crucial to restrict API keys to specific applications and IP addresses for enhanced security.\u003c/p\u003e\n"],["\u003cp\u003eYou need to include your API key in every Routes API request, preferably using HTTPS.\u003c/p\u003e\n"]]],["API keys are crucial for securing Google Maps Platform products, authenticating requests, and associating usage with your billing account. To create an API key, navigate to the Credentials page in the Google Maps Platform console and select \"Create credentials\". For security, restrict keys by setting application and API restrictions, such as allowing requests from specific IP addresses and selecting only necessary APIs like Routes API. Include this key in each Routes API request. Using the Cloud SDK, keys can be created, updated and restricted.\n"],null,["# Set up the Routes API\n\n**European Economic Area (EEA) developers** If your billing address is in the European Economic Area, effective on 8 July 2025, the [Google Maps Platform EEA Terms of Service](https://cloud.google.com/terms/maps-platform/eea) will apply to your use of the Services. Functionality varies by region. [Learn more](/maps/comms/eea/faq).\n\nThis document describes the prerequisites for using the Routes API, how to enable it,\nand then how to make an authenticated request.\n\n|--------------------------------------------------------------------|---|-------------------------------------------------------------------------|---|--------------------------------------------------------------------------------------------------------------|\n| checklist 1. Prerequisites Ensure that you meet the prerequisites. | | settings 2. Enable the API Enable the API in your Google Cloud project. | | verified_user 3. Make your first request Configure an API key or OAuth to make an authenticated API request. |"]]