

These are all the API restrictions options:Įach service uses an HTTP request and returns JSON. Select Restrict the key and from the drop down choose Places API The API restrictions specify the enabled APIs that can be called:įirst I am going to test finding a place. API Key > Settings > API restrictionsĪs shown in API restrictions, it says that all API keys used in production should use API restrictions. For now I set it to IP addresses and entered my public IP address. I am only going to pull data from a local test environment. The applications that uses the API key is ready to be used in production.However, it is recommended to restrict the API keys in the following scenarios:

You may use an unrestricted API with the Google Maps API. More about this in API key best practices, more best practices, and API key restrictions IP addresses: web servers, cron jobs, etc.

These types of applications expose the API publicly.
