Open app

Rate limits

Per-key request limits and the headers that describe them.

Mercel rate-limits requests per API key. Limits are independent — exceeding a limit on one key does not affect other keys.

Default limits

CredentialLimit
API key (mercel_sk_…)300 requests / minute
Personal access token (mercel_pat_…)120 requests / minute

Throttled responses

When you exceed the limit, the API returns 429 Too Many Requests:

{
  "error": {
    "code": "RATE_LIMITED",
    "message": "Rate limit exceeded",
    "details": { "retryAfterMs": 1000 }
  }
}

The throttled response includes these headers:

HeaderDescription
Retry-AfterSeconds to wait before retrying.
RateLimit-ResetSeconds until the window resets (mirrors Retry-After).
RateLimit-RemainingAlways 0 on a 429.

Clients should back off and retry; do not treat 429 as a permanent failure.

On this page