Skip to main content
AntifraudAI enforces rate limits on a per-API-key basis using a sliding one-minute window. Rate limits exist to ensure fair resource allocation across all customers and to protect the reliability of the platform. If you exceed your limit, requests will be rejected with a 429 Too Many Requests response until the window resets.

Default Rate Limits

Rate limits apply per API key, not per IP address. If you use multiple keys for different services, each key has its own independent quota.

Rate Limit Headers

Every API response — including error responses — includes the following headers so you can monitor your usage in real time: Example response headers:
Check X-RateLimit-Remaining before each burst of requests. If it drops below a safe threshold (e.g., 50), introduce a short delay in your sending loop to avoid hitting the limit and triggering retries.

Handling 429 Errors

When the rate limit is exceeded, the API returns a 429 Too Many Requests response:
The response will also include a Retry-After header indicating how many seconds to wait before retrying. The recommended strategy is exponential backoff with jitter — wait an increasing amount of time between retries, with a small random offset to prevent synchronized retry storms across multiple workers.
Do not retry immediately on a 429 response. Tight retry loops without backoff will keep triggering the rate limit and may result in your key being temporarily suspended.