Errors and rate limits
Handle authentication failures, read-only restrictions and temporary limits.
Status codes
400 indicates invalid query input. 401 indicates an invalid, expired, revoked or otherwise unusable key. 404 is returned for an unavailable or foreign website. 405 rejects methods other than GET.
429 indicates a rate limit; wait for the Retry-After interval. A service or storage failure can return 503. API errors use a JSON error string.
{ "error": "This API key is invalid or expired." }Responsible clients
Use at most 60 requests per minute per key and cache appropriate results in your own private application. Free infrastructure quotas also apply.
Do not retry authentication or validation failures in a tight loop. Back off on temporary failures and keep the raw key out of logs.