Rate Limits

The Glance API enforces rate limits to ensure fair usage and platform stability. Limits are applied per API key.

Default Limits

TierRateBurst
Standard100 requests/minute20 requests/second
Reports10 requests/minute2 requests/second
File Upload30 requests/minute5 requests/second

Rate Limit Headers

Every response includes headers to help you track your usage:

X-RateLimit-Limit: 100
X-RateLimit-Remaining: 87
X-RateLimit-Reset: 1711036800

When Rate Limited

If you exceed the rate limit, you will receive a 429 Too Many Requests response. Use the X-RateLimit-Reset header to determine when to retry.

Best Practice: Implement exponential backoff in your integration. Wait 1s, then 2s, then 4s between retries.