1 专业版方案资产跟踪许可不包含 Places API。如果您有资产跟踪许可并且希望使用 Places API,请与 Google Maps API 销售团队联系。
API 配置
您在 Google Cloud 控制台项目中购买的所有 API 均已启用。如需访问这些 API,请使用您的 Google 账号登录,然后选择您的项目 ID(以 Google Maps API for Business、Google Maps for Work 或 Google Maps 开头)。您的账号和项目 ID 均在欢迎邮件中。
身份验证和授权
如需向我们的 API 发出请求,您必须通过 API 密钥或客户端 ID 对您的应用进行身份验证。此外,针对某些 API 发出的请求还需要数字签名。
API 密钥
向我们的任意 API 发出请求时,您都可以使用 API 密钥对相应请求进行身份验证。若要创建密钥,请使用与您的项目 ID 相关联的 Cloud 控制台项目。您可以使用 API 密钥执行以下操作:
在 Cloud 控制台中管理您的所有 API
在 Cloud 控制台的 Google Maps Platform“指标”页面中访问您的应用的实时使用情况数据和 30 天的历史使用情况数据
客户 ID
除了使用 API 密钥以外,您还可以使用客户端 ID 向下列以外的任何 API 发出请求:Places API、Geolocation API、Roads API、Maps SDK for Android 和 Maps SDK for iOS。
[null,null,["最后更新时间 (UTC):2025-06-03。"],[[["\u003cp\u003eThe Google Maps Platform Premium Plan is no longer available for sign up or new customers.\u003c/p\u003e\n"],["\u003cp\u003eThe Premium Plan offers access to a suite of Google Maps Platform APIs and SDKs, including the Maps JavaScript API, Directions API, and Maps SDK for Android.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication is required to use the APIs and can be done using an API key or Client ID, with some APIs requiring digital signatures for specific use cases.\u003c/p\u003e\n"],["\u003cp\u003ePremium Plan customers can manage their API keys, Client IDs, and digital signatures through the Google Cloud Console.\u003c/p\u003e\n"],["\u003cp\u003eSupport and resources for Premium Plan customers are available through the Google Cloud Console and dedicated FAQs.\u003c/p\u003e\n"]]],["Upon signing up for the now-unavailable Google Maps Platform Premium Plan, users received a welcome letter with a Project ID, Client ID, private URL signing secret, and Google Account details. The plan granted access to various Web APIs, Web Service APIs, and Mobile SDKs. Users could authenticate API requests using an API key or Client ID, the latter offering detailed usage reports. Some APIs required digital signatures, generated with the provided cryptographic key. The Cloud console managed these, with support information also accessible there.\n"],null,["# Premium Plan Overview\n\n**Important:** The Google Maps Platform Premium Plan is no longer available for\nsign up or new customers.\n\nWelcome to the Google Maps Platform Premium Plan\n------------------------------------------------\n\nAfter you sign up for the Google Maps Platform Premium Plan, you receive a\nwelcome letter from Google at the contact email address you provided.\nYour welcome letter has the information you need to get started:\n\n- Project ID\n- Client ID\n- Private *URL signing secret*, or cryptographic key, for your client ID\n- Google Account\n\nWhat's included in your package\n-------------------------------\n\nYour Premium Plan includes access to our suite of\nservices and documentation for each API, including developer and API\nreference guides.\n\n| Web APIs | Web Service APIs | Mobile SDKs |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------|\n| - [Maps JavaScript API](/maps/documentation/javascript) - [Maps Static API](/maps/documentation/staticmaps) - [Street View Static API](/maps/documentation/streetview) | - [Directions API (Legacy)](/maps/documentation/directions) - [Distance Matrix API (Legacy)](/maps/documentation/distancematrix) - [Roads API](/maps/documentation/roads) - [Geolocation API](/maps/documentation/geolocation/intro) - [Places API](/maps/documentation/places/web-service) ^1^ - [Geocoding API](/maps/documentation/geocoding) - [Elevation API](/maps/documentation/elevation) - [Time Zone API](/maps/documentation/timezone) | - [Maps SDK for Android](/maps/documentation/android-sdk) - [Maps SDK for iOS](/maps/documentation/ios-sdk) |\n\n^1^ The Places API isn't included with the\nPremium Plan Asset Tracking License. If you have an\nAsset Tracking License, and you want to use the\nPlaces API, then contact the Google Maps APIs Sales\nteam.\n| **Note:** The Places SDK for Android and the Places SDK for iOS are not available for sale, and therefore are not included with the Premium Plan.\n\nAPI provisioning\n----------------\n\nAll of the APIs you purchased in your\n[Google Cloud console](https://console.cloud.google.com/project/_/google/maps-apis/credentials?utm_source=Docs_Credentials)\nproject are enabled.\nTo access your APIs, sign in with your\n[Google Account](/maps/premium/devconsole_access), and then select your\nproject ID, which starts with **Google Maps APIs for Business or Google Maps for Work or Google Maps**.\nBoth your account and project ID are in your welcome letter.\n\nAuthentication and authorization\n--------------------------------\n\nTo make requests to our APIs, you must authenticate your application with either\nan API key or your client ID. In addition, requests for some APIs also require\ndigital signatures.\n\n### API key\n\nYou can use an API key to authenticate requests to any of our APIs. To create\nyour key, you'll use the Cloud console project associated with\nyour project ID. By using an API key, you can:\n\n- Manage all of your APIs in the Cloud console\n\n- Access real-time usage data and 30-days of historical usage data for your\n application in the Cloud console Google Maps Platform\n Metrics\n\n### Client ID\n\nInstead of an API key, you can use your client ID to make requests to any of the\nAPIs *except* the following: Places API,\nGeolocation API, Roads API,\nMaps SDK for Android, and Maps SDK for iOS.\n\nWith your client ID, you can:\n\n- Manage your Client ID and access your private *URL signing secret*,\n or cryptographic key, in the Cloud console.\n\n- Access real-time usage data and 30-days of historical usage data for your\n application from the\n [Cloud console Metrics](https://console.cloud.google.com/google/maps-apis/metrics) page.\n\n For a client ID, a label of the following format will be used:\n `project_number:\u003cYOUR_PROJECT_NUMBER\u003e`.\n- Add the `channel` parameter to requests so you can view more detailed usage\n reports.\n\n#### Where to manage your Client ID in the Google Cloud console\n\nThe Premium Plan Client ID management functionality is available\nin the\n[Cloud console](https://console.cloud.google.com/project/_/google/maps-apis/credentials?utm_source=Docs_Credentials) at the bottom of the\nGoogle Maps Platform Credentials page, in the **Client ID** section. \n\nFurther client ID management tasks, including URL authorization and client ID signing secret\nmanagement, can be accessed on the separate\n[Client ID page](https://console.cloud.google.com/project/_/google/maps-apis/clientid), by clicking the\nedit **edit** icon at the far right of the\n**Client ID** section.\n\n### Digital signatures\n\nIn addition to an API key or client ID, requests to some APIs also require a\nunique digital signature to access the quota and features of your\nPremium Plan. You can generate digital signatures using the private\n*URL signing secret*, or cryptographic key, provided in your Welcome letter\n(and available in the Cloud console). Specifically, you'll need\nto use digital signatures if you use:\n\n- **A client ID** with the web service APIs,\n Maps Static API, or\n Street View Static API\n\n- **An API key** with the Maps Static API or\n Street View Static API\n\n### For more information\n\nFor detailed instructions on using an API key or client ID, and generating\ndigital signatures, see the\n[Premium Plan Authentication Overview](/maps/premium/authentication/overview).\n\nFAQs\n----\n\nIf you have questions about Google Maps Platform, see our frequently asked\nquestions (FAQs):\n\n- [General FAQ](/maps/faq)\n- [Premium Plan FAQ](/maps/premium/faq)\n\nGetting help\n------------\n\nAs a Google Maps Platform Premium Plan customer, you can access the\nCloud console, where you can find support contact information and\naccess exclusive tools and resources. For details, see\n[Google Maps Platform Support and Resources](/maps/support)."]]