Google maps api 3 - Place a

Google geocoding service OVER_QUERY_LIMIT

Google Maps & Earth Enterprise Support Team

This article is intended for Maps API for Business customers who reach these limits and may need to optimize applications to use the web services more efficiently.


The Google Maps API family provides web services as an interface for requesting Maps API data for use within your applications. These services may only be used in conjunction with a Google map; using data from these services without displaying them on a Google map is prohibited. For complete details, consult the Maps API Terms of Service License Restrictions.

There are two types of quotas that limit the usage of Google Maps API Web Services: long term (per day quota) and short term (request rate quota). If you exceed the usage limits or otherwise abuse the service, the web service will return a specific error message. If you continue to exceed limits, your access to the web service may be blocked. It is also possible to receive 403 Forbidden responses.

Note: different limits apply to client-side APIs. Flash and JavaScript Maps APIs are rate limited per map session, so that requests are distributed across users. This makes the browser based usage scalable as your user count grows. For information how to choose between server-side web services and their client-side equivalent refer to the Geocoding Strategies article.


You can exceed the Google Maps API Web Services usage limits by:

  • Sending too many requests per day.
  • Sending requests too fast, i.e. too many requests per second.
  • Sending requests too fast for too long or otherwise abusing the web service.

Usage limits exceeded

If you exceed the usage limits you will get an OVER_QUERY_LIMIT status code as a response.

This means that the web service will stop providing normal responses and switch to returning only status code OVER_QUERY_LIMIT until more usage is allowed again. This can happen:

  • Within a few seconds, if the error was received because your application sent too many requests per second.
  • Some time in the next 24 hours, if the error was received because your application sent too many requests per day. The time of day at which the daily quota for a service is reset varies between customers and for each API, and can change over time.

Upon receiving a response with status code OVER_QUERY_LIMIT, your application should determine which usage limit has been exceeded. This can be done by pausing for 2 seconds and resending the same request. If status code is still OVER_QUERY_LIMIT, your application is sending too many requests per day. Otherwise, your application is sending too many requests per second.

The screencast below provides a step-by-step explanation of proper request throttling and error handling, which is applicable to all web services:

Here is an example implementation in Python:

url = "MAPS_API_WEBSERVICE_URL" attempts = 0 success = False while success != True and attempts

Doyle Park...just up the street from my

by bikeriderdude

Office on Sonoma Avenue (towards Farmer's Lane).
Be great if you can bring a kid. We'll talk before then, but I'm pretty sure I can get my whole family to come.

7 Game of Thrones Apps That Will Get You Through the Much-awaited Winter  — Gizmodo India
.. or Winterfell, you get a dialog box, which asks you to buy more maps. Unfortunately, you can't dismiss the dialogue box, leading to the obstruction of the cartography. ..

Flagstaff's rocky lava field became a little piece of the moon  — azcentral
If American know-how could put a man on the moon, the man should bring back rocks to study. The government agreed, and in 1963, the .. Volcanoes were chosen because of the moon's volcanic history, the test site for its impact craters.

O'Reilly Media Google Maps Hacks
Book (O'Reilly Media)
  • Used Book in Good Condition

Missing in Alaska without a trace  — Anchorage Daily News
The official version of events, according to a still active missing person's bulletin from the Alaska State Troopers is that Griffis went into the wild "to test out a survival 'cocoon' that he had invented.

No Starch Press Map Scripting 101: An Example-Driven Guide to Building Interactive Maps with Bing, Yahoo!, and Google Maps
eBooks (No Starch Press)
Wrox Professional Android 2 Application Development
Book (Wrox)
Garmin Garmin nuvi 880 4.3-Inch Widescreen Bluetooth Portable GPS Navigator
GPS or Navigation System (Garmin)
  • Sleek, ultra-slim design fits in a pocket; High-sensitivity GPS receiver for fast satellite lock
  • Pre-loaded with City Navigtor NT maps for North America, including more than 6-million name-searchable points of interest
  • Speech recognition -- speak menu options and keep your eyes on the road
  • Multi-destination routing -- enter several destinations and get the best route to all of them; Where am I? and Where s my car? features
  • Full feature set -- text to speech for spoken directions with real street names; MP3 player, and Photo viewer
Related Posts