Hi Google API’s Team,
We are currently in the process of integrating several Google Maps Platform APIs into a key project, specifically the Directions API, Distance Matrix API, and Geocoding API. Our primary goal is to ensure a stable integration while effectively managing our costs and avoiding unforeseen billing issues.
We have encountered a challenge regarding the rate limits. According to the documentation, our understanding is that the default quota for the Distance Matrix API is 60,000 elements per minute. However, we are receiving QUERY_OVER_LIMIT error responses even when our usage appears to be well below this threshold.
To help us optimize our implementation and prevent service disruptions, could we get more clarity on how these rate limits are calculated and applied in practice? Specifically, we are trying to understand if there are other contributing factors or “behind-the-scenes” limits that we are not accounting for, such as:
- Are there shorter-term limits (e.g., per-second) that might be triggering this error?
- Is there a combined query-per-minute (QPM) limit across multiple APIs that we should be aware of?
- How can we accurately monitor our real-time usage against the specific limits that are being enforced on our project?
Our objective is to configure our application to respect all applicable quotas reliably. Any detailed information or guidance you can provide on this matter would be greatly appreciated.
Thank you for your time and assistance.