Rate Limits
API rate limits.
Rate Limits
All API endpoints are rate-limited to ensure fair usage and platform stability.
Limits
| Endpoint | Limit | Window |
|---|---|---|
/api/flows/* (employer, employee, status) | 500 requests | 1 minute |
/api/employee-changes/* (new-hire, demographic, compensation, termination) | 500 requests | 1 minute |
Rate limits use a sliding window algorithm — the window moves with each request rather than resetting at fixed intervals.
Rate Limit Headers
A 429 response has these headers:
| Header | Description |
|---|---|
Retry-After | The number of seconds to wait before the next request |
X-RateLimit-Limit | Maximum requests allowed in the window |
X-RateLimit-Remaining | Requests remaining in the current window |
X-RateLimit-Reset | The Unix time in milliseconds when the window resets |
Exceeding the Limit
When you exceed a rate limit, the API returns 429 Too Many Requests:
{
"error": {
"message": "Rate limit exceeded",
"code": "TOO_MANY_REQUESTS"
}
}Wait for the number of seconds in the Retry-After header before you send the next request.
Rate limits are subject to change. If you need higher limits for your use case, contact Benbase.