Set Rate Limits
Configure request limits for API keys
Rate limits protect your sheets and account.
Limit Types
| Limit | Scope | Reset |
|---|---|---|
| Minute | API key burst traffic | Rolling window |
| Account | Shared Google account protection | Rolling window |
| Daily | Optional per-key cap | Midnight UTC |
| Monthly | Plan usage | Billing cycle |
Change a Key Limit
- Open the connected sheet.
- Go to API Keys.
- Edit the key.
- Set the daily limit.
- Save.
Check Remaining Usage
API responses include rate limit headers:
X-RateLimit-Remaining-Minute: 44
X-RateLimit-Remaining-Account: 49
X-RateLimit-Remaining-Monthly: 99999When a limit is hit, the API returns 429 with Retry-After.
{
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded"
}
}Use the interactive API reference for the full header list.