Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google maps geocode api free daily limit get over in one hit, it happening due to I not enable billing?

I am hitting below URL to test my key

https://maps.googleapis.com/maps/api/geocode/json?latlng=20.0041,73.7175&key=$key

it show this an error after one hit

{
error_message: "You have exceeded your daily request quota for this API. If you did not set a custom daily request quota, verify your project has an active billing account: http://g.co/dev/maps-no-account",
results:[],
status: "OVER_QUERY_LIMIT"
}

Please help me why it is happening, anything to do with enable billing?

like image 468
aryan singh Avatar asked Aug 16 '18 12:08

aryan singh


People also ask

What happens when you exceed the Google geocoding API rate limit?

If you exceed the per-day limit or otherwise abuse the service, the Google Maps Geocoding API may stop working for you temporarily. If you continue to exceed this limit, your access to the Google Maps Geocoding API may be blocked.

How do I fix exceeded your daily request quota for this API?

Enable billing account for your project. Select the project that contains the API you want to review. From the list of APIs on the Dashboard, click the name of the API. Near the top of the page, click Quotas or Usage and set the limit according to your usage.

Is Google's geocoding API free?

The Geocoding API uses a pay-as-you-go pricing model. Geocoding API requests generate calls to one of two SKUs depending on the type of request: basic or advanced.


1 Answers

As stated in the comments to the question, you need to enable billing, even if you are only using the free quota. See the docs about this change for more information.

like image 117
Patrick Jones Avatar answered Oct 05 '22 23:10

Patrick Jones