Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps API OVER QUERY LIMIT per second limit

I am using Google Maps API to display about 50 locations on the map. I am using client side geocoding. I am using window.setTimeout to control the number of geocode requests that the application sends per second. If I send more than 1 request per second, I am getting an OVER QUERY LIMIT response.

Question: Isn't this limit supposed to be 10 queries per second? If yes, then what could I be doing wrong? If no, then does Business API has more generous queries per second limit?

Please note that our application is not going to hit the 25,000 queries per day.

like image 699
user544192 Avatar asked Dec 23 '12 19:12

user544192


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.

What are the usage limit for Google Maps geocoding API web service?

While there is no maximum number of requests per day, the following usage limit is still in place for the Geocoding API: 50 requests per second, calculated as the sum of client-side and server-side queries.

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 is over query limit?

If you are getting the error OVER_QUERY_LIMIT when trying to geocode an address with Google set as geocoding provider, this means that you exceeded the Google Maps Platform web services usage limits by: sending too many requests per day or e.g. by. sending requests too fast, i.e. too many requests per second.


1 Answers

The geocoder has quota and rate limits. From experience, you can geocode ~10 locations without hitting the query limit (the actual number probably depends on server loading). The best solution is to delay when you get OVER_QUERY_LIMIT errors, then retry. See these similar posts:

  • OVER_QUERY_LIMIT in Google Maps API v3: How do I pause/delay in Javascript to slow it down?

  • How do I Geocode 20 addresses without receiving an OVER_QUERY_LIMIT response?

like image 58
geocodezip Avatar answered Sep 29 '22 04:09

geocodezip