REST API reference: Rate limits
Three limits keep the shared test capacity fair, and a plan may also cap runs per day and per month. Each one answers 429 with a Retry-After header that tells you how many seconds to wait.
Three limits
Per key: 300 requests per minute, as a burst of 60 followed by 5 per second. Above that, the API answers 429 rate_limited.
Per client address: 30 failed authentications per minute, so that guessing keys stays slow. Once that budget is used, every request from the address answers 429 rate_limited until Retry-After has passed, even with a valid key.
Per organisation: 30 runs per rolling hour, shared by runs started in the app and through the API. Above that, the API answers 429 run_limit_reached with Retry-After: 3600.
Daily and monthly run quotas
A plan may also cap how many runs an organisation starts per day and per month; plans without a cap have none. The windows are UTC calendar days and months: a day starts at 00:00 UTC, a month on its first day at 00:00 UTC.
Every run counts, whatever started it (the app, the API or a schedule) and whatever its result, errors included. Above a quota, POST /tests/{id}/runs answers 429 run_limit_reached with a message that names the window and the limit, and Retry-After holds the seconds until the window resets.
While an organisation is over a quota, its scheduled runs are skipped; each test runs again at its next scheduled time after the reset.
The Retry-After header
Retry-After is a whole number of seconds. Wait at least that long before you send the next request. Polling a run once every 10 seconds stays far below every limit.
What is not limited
Scheduled runs do not count against the hourly run budget (they do count against daily and monthly quotas), and successful authentications do not count against the per-address limit. Reading never uses run budget: only POST /tests/{id}/runs does.
Rate limits and paging
- Each key can send 300 requests per minute.
- Failed authentication attempts are limited to 30 per minute per IP address; requests with a valid key count only against that key.
- Each organisation can start 30 runs per hour, shared between the API and runs started in the app; a plan may also cap runs per UTC day and per UTC month, and every run counts towards those caps.
- JSON request bodies are limited to 16 KiB.
- Lists return 20 items by default, and
limitaccepts 1 to 50. - Pages go back in time: pass the last run id as
before, or follownext, which isnullon the last page.