Google Maps API Key

Overview

To use the Maps JavaScript API you must have an API key. The API key is a unique identifier that is used to authenticate requests associated with your project for usage and billing purposes.

Get the API key

You must have at least one API key associated with your project.

To get an API key:

  1. Go to the Google Cloud Platform Console.

  2. Click the project drop-down and select or create the project for which you want to add an API key.

  3. Click the menu button  and select APIs & Services > Credentials.

  4. On the Credentials page, click Create credentials > API key.
    The API key created dialog displays your newly created API key.

  5. Click Close.
    The new API key is listed on the Credentials page under API keys.
    (Remember to restrict the API key before using it in production.)

 

Authentication, quotas, pricing, and policies

Authentication

To use the Maps Static API, you must first enable the API and obtain the proper authentication credentials. For more information, see Get Started with Google Maps Platform.

Quotas and pricing

Review the usage and billing page for details on the quotas and pricing set for the Maps Static API.

Policies

Use of the Maps Static API must be in accordance with the Google Maps Platform Terms of Service.