Get started
Rate limits
Each token may make a set number of calls per minute. There are three counters per token: read, write and buy.
Limits
| Kind | Calls per minute | Routes |
|---|---|---|
| Read | 120 | All GET routes, plus POST /calculate-package, POST /search-domains, POST /suggest-domains |
| Write | 40 | The other routes that change data (domain changes, order tag, cancels) |
| Buy | 15 | POST /buy-domains, POST /create-order/{price_, POST /create-custom-order, POST /buy-pre-warm-inboxes, POST /organizations |
The counters are per token, not per workspace: one token shares its limits across all the workspaces it uses. Each counter's minute starts with the first call in it; when the minute is over the counter starts again at 0. Once a counter is full, calls of that kind are refused for the next 60 seconds. GET /generate-aliases needs no token: it allows 20 calls per minute from one IP address.
Headers
Calls that count toward a limit send these headers:
| Header | Value |
|---|---|
X-RateLimit-Limit | Calls allowed per minute for this kind of call. |
X-RateLimit-Remaining | Calls left in the current minute. |
X-RateLimit-Reset | The length of the window in seconds. Always 60, not the seconds left in it. |
Over the limit
You get 429 with error: "rate_ and a Retry-After header (seconds to wait, 60). details says which counter is full:
{
"message": "Too many requests. This token may make 15 buy requests per minute. Try again in a minute.",
"isAuthError": false,
"error": "rate_limited",
"details": { "tier": "buy", "limitPerMinute": 15 },
"requestId": "8f2c1e9a-4b7d-4e2a-9c3f-1a2b3c4d5e6f"
}Wait for the time in Retry-After before you send more calls of that kind. Calls of the other kinds still work.
Orders started per hour
Apart from the per-minute limits, the person who made the token can start at most 30 purchases per hour. Purchases they start in the portal count too. Over that, a buy route answers 429 rate_ with the message "Too many orders were started. Try again later." and no Retry-After header. Nothing is charged.
A repeat of an earlier call with the same Idempotency-Key does not start a new purchase, so it does not count. Orders that add domains to an existing subscription (accounts billed on their subscription) don't count either.
Busy server
Large lists (GET /domains, /orders, /reporting ...) and orders are limited in how many run at the same time. When too many are running you get 429 (or 503) with error: "busy" and Retry-After: 5. This doesn't mean your token is over its limit: wait a few seconds and try again.
