Skip to Content
Benbase

Rate Limits

API rate limits.

Rate Limits

All API endpoints are rate-limited to ensure fair usage and platform stability.

Limits

EndpointLimitWindow
/api/flows/* (employer, employee, status)500 requests1 minute
/api/employee-changes/* (new-hire, demographic, compensation, termination)500 requests1 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:

HeaderDescription
Retry-AfterThe number of seconds to wait before the next request
X-RateLimit-LimitMaximum requests allowed in the window
X-RateLimit-RemainingRequests remaining in the current window
X-RateLimit-ResetThe 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.

On this page