Rate limiting
Edifix rate-limits requests, not the number of references inside a job. A single create_job call carrying a thousand references counts as one request.
There are two independent rate limits for requests made with a JWT:
| Limit | Endpoints | Refill rate | Request limit |
|---|---|---|---|
| Create-job limit | POST /create_job, POST /create_job_from_file | One request every three seconds (~20/min sustained) | 1200 requests |
| General limit | All other endpoints except POST /get_auth_token (see Signing in) | One request every 0.3 seconds (~200/min sustained) | 12000 requests |
Capacity returns continuously at each limit's refill rate, so you don't have to wait idle after hitting a limit—you can resume immediately at the reduced rate. RateLimit-Reset reports when the full request limit is available again, about one hour from empty for either limit.
Scope
Single-session accounts are rate-limited per user.
Multi-session accounts are rate-limited per session where each session_tag has its own rate limit. See Authentication for multi-session details.
Signing in
POST /get_auth_token has its own limits, so a password cannot be guessed at an unlimited rate:
| Limit | What counts | Refill rate | Request limit |
|---|---|---|---|
| Per IP address | Failed sign-ins from that address | One every 6 seconds (10/min) | 31 failures |
| Per username, per IP address | Failed sign-ins for that username from that address | One every 6 minutes | 10 failures |
Only failed sign-ins (wrong username or password) count. If you sign in correctly, you're never slowed down, however often you sign in.
If you have 10 failed sign-ins in a row from one address, you're refused at that address for 6 minutes, even with the right password, and it takes an hour to recover fully. You can still sign in from any other address, so failures elsewhere cannot lock your integration out. A refused sign-in returns the same 429 and error code 0028 as the other limits, with the rate-limit headers of the limit that refused it.
A JWT lasts three hours by default. Sign in once and reuse the token until it expires, rather than signing in before every call.
Response headers
Every response reflects the rate-limit that applied to the request (including 429), and carries the following headers:
| Header | Meaning |
|---|---|
RateLimit-Limit | The request limit for this endpoint: 1200 for create-job calls, 31 or 10 for sign-in, 12000 for everything else. |
RateLimit-Remaining | Requests remaining before you exceed the limit. |
RateLimit-Reset | Seconds until the full request limit resets. |
TIP
Instead of waiting for a 429 response, monitor RateLimit-Remaining, and reduce your request rate before reaching the limit.
Exceeding the limit
When you exceed the limit, the API returns:
- HTTP status
429 Too Many Requests - Error code
0028in the JSON body (see Error codes) - The same three rate-limit headers, where
RateLimit-Limitreflects the limit you exceeded (1200for create-job calls,31or10for sign-in,12000for all others),RateLimit-Remaining: 0, andRateLimit-Resetshows how long until the limit resets.
Example:
{
"errors": [
{
"error_code": "0028",
"error_message": "Unable to process references because your account has hit the rate limit threshold for this endpoint. See the response headers for rate limit reset details."
}
]
}Recommendations
- Polling guidance: Wait approximately two seconds per submitted reference before your first check, then check no more than once every three seconds.
- Honour
RateLimit-Reset: Do not retry beforeRateLimit-Resetindicates capacity has returned. - Stagger large batches: Avoid submitting thousands of jobs in quick succession — once exhausted, requests are throttled back to the refill rate for up to an hour before the full create-job limit returns.
- Adapt to limit changes:
RateLimit-Limitalways reports the current request limit, so your integration adapts automatically if the published limits change.