Rate limits
The request limits of every endpoint and the headers that report them.
Limits are per API token, not per IP address (except where noted). There is no edge rate limiting.
| Endpoint | Limit |
|---|---|
| Everything not listed below | 300/min per API token |
POST /torrents/createtorrent | 60/hour for uncached items, 300/min for all requests |
POST /torrents/asynccreatetorrent | 60/hour for uncached items, 300/min for all requests |
POST /usenet/createusenetdownload, POST /usenet/asynccreateusenetdownload | 60/hour |
POST /webdl/createwebdownload, POST /webdl/asynccreatewebdownload | 60/hour |
POST /notifications/test | 3/hour |
GET /usenet/provider/connection, GET /usenet/provider/account, POST /usenet/provider/account/resetpw | 5/sec |
/vendors endpoints | 1/sec, except POST /vendors/register and PUT /vendors/updateaccount (15/hour) and PATCH /vendors/refresh (default limit) |
GET /user/auth/device/start | 30/min per IP address |
POST /assistant/chat | 5/min per account |
GET /assistant/usage | 30/min per account |
/assistant/conversations endpoints | 60/min per account |
All paths are below /v1/api.
How torrent creation counts
POST /torrents/createtorrent and POST /torrents/asynccreatetorrent each apply two limits.
- 300 requests per minute per endpoint, including cached and uncached requests.
- 60 uncached torrents per hour shared across both endpoints.
An uncached submission counts against both limits. For example, adding 250 cached and 50 uncached torrents through one endpoint in a minute hits its per-minute limit and leaves 10 uncached torrents across both endpoints for the rest of the hour.
When you hit a limit
A request over a limit is answered with status 429 and the error RATE_LIMIT_EXCEEDED, with the limit that was
reached in detail. These headers tell you where you stand:
| Header | |
|---|---|
X-RateLimit-Limit | The limit that applies |
X-RateLimit-Remaining | Requests left in the window |
X-RateLimit-Reset | When the window resets |
Retry-After | Seconds to wait before retrying |
Back off until Retry-After has passed. The SDKs retry 429 and 503 for you.
IP whitelisting requests are no longer accepted, because rate limiting is based on the API token, not the IP.