SafeWeb
Partner API

Rate limiting

Some Partner API endpoints are rate limited per API key. Additional endpoints will adopt the same limits over time.

Rate limit

All rate-limited endpoints allow 100 requests per 10 seconds per API key.

Each HTTP method and path combination has its own independent counter. For example, GET and PATCH on customer assets are counted separately, as are domain and email asset mutations.

How it works

Rate limits are enforced per SW-API-KEY header value. All requests authenticated with the same API key share one counter for each rate-limited endpoint.

Bursts above 100 calls within any 10-second window are rejected until the window resets.

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

{
  "success": false,
  "error": "Rate limit exceeded"
}

Integration guidance

  • Throttle polling and bulk sync jobs to stay within the 100 requests per 10 seconds limit.
  • Batch add and remove operations where possible instead of sending many single-item requests.
  • Retry with exponential backoff when you receive 429 responses.

Currently rate-limited endpoints

Rate limiting will eventually apply to all Partner API endpoints. This page will be updated as additional endpoints are included.

On this page