Rate Limiting
Request limits, headers, and handling guidance
Limits
The Prolifi Public API enforces rate limits per API key. Each API key has an independent rate limit counter.
Rate limits are applied per API key, not per merchant. If you use multiple API keys, each key has its own independent limit.
Rate limit headers
Every response includes rate limit headers:
When the rate limit is exceeded, a 429 response is returned with an additional header:
Exceeded limit response
Handling rate limits
- Monitor the
X-RateLimit-Remainingheader to anticipate when you are approaching the limit. - On
429, wait for theRetry-Afterduration before retrying. Do not retry immediately. - Implement exponential backoff for bursts of rate-limited requests.
- Batch usage events using the
POST /events/batchendpoint to reduce the number of individual requests.