Skip to main content

Overview

Mavera uses a sliding window rate limiting system to ensure fair usage and platform stability. Rate limits are applied per API key.

Rate Limit Tiers

Rate limits are measured in a sliding 60-second window. If you exceed the limit, subsequent requests will receive a 429 error until the window resets.

Rate Limit Headers

Every API response includes rate limit information in the headers: Example headers:

Handling Rate Limits

When you exceed the rate limit, you’ll receive a 429 response:
The Retry-After header indicates how many seconds to wait:

Best Practices

Implement Exponential Backoff

Monitor Your Usage

Track the X-RateLimit-Remaining header to proactively manage your request rate:

Implement Request Queuing

For high-volume applications, implement a request queue:

Batch Requests When Possible

Instead of making multiple small requests, batch them when the API supports it:

Endpoint-Specific Limits

Some endpoints have additional limits:

Increasing Your Limits

Need higher rate limits? Options include:
  1. Upgrade your subscription - Higher tiers have higher limits
  2. Contact sales - Enterprise customers can negotiate custom limits
  3. Optimize usage - Use batching and caching to reduce requests

Rate Limits in Production

Throttling, token bucket, semaphores, queuing

Error Handling

Handle 429 with retries

Authentication

API keys and setup

Contact Sales

Enterprise custom limits