Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps Geocoding API usage limit

I'm currently using Google's Maps Geocoding API and, as the documentation informs, it has a limit per day usage of 2500 requests.

Is there some service that I can call to check how many requests I already did, or I still can do? I know that in the Google's API Console has this information, but I was considering doing something programmatically with my application, where it can by itself know the current status and inform me if the request is close to ending.

FYI: I am aware that if the requests ended the service returns a flag informing OVER_QUOTA, but I'm interested in discovering before it has finished.

like image 537
Paulo Salgado Avatar asked Sep 19 '17 02:09

Paulo Salgado


People also ask

Can I use Google geocoding API for 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. Along with the overall Google Terms of Use, there are usage limits specific to the Geocoding API.

What is the daily limit for Google Maps API?

While there is no maximum number of requests per day, the following usage limits are in place for the Maps JavaScript API: 30,000 requests per minute. 300 requests per minute per IP address. In the Google Cloud Console, this quota is referred to as Map loads per minute per user.

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

Google Maps Geocoding Rate Limit According to Google's API Usage and Billing page, there is a limit of 50 requests per second. If you exceed this amount, subsequent requests to the API will fail with the OVER_DAILY_LIMIT or OVER_QUERY_LIMIT status code and the geocoded data will not be returned.


1 Answers

Currently there is no any service that allows to check the usage programmatically.

The corresponding feature request has already been filed in the Google issue tracker:

https://issuetracker.google.com/issues/35830575

Please add a star to the feature request to express your interest and subscribe to notifications from Google.

like image 144
xomena Avatar answered Sep 21 '22 04:09

xomena