Rate limiting
The infrastructure API limits how many requests it takes in a minute. The app APIs limit particular actions, such as publishing an event. Either way, a request over a limit answers 429, usually with a Retry-After header that says how many seconds to wait.
The infrastructure API
Every request to api.nimbusnexus.net counts toward a budget for the minute:
| Who's calling | Requests a minute | Counted per |
|---|---|---|
A signed-in session (Authorization: Bearer or the session cookie) | 120 | User |
| An API key, or no credential | 60 | IP address |
An API key doesn't have a budget of its own. Keys used from one address share its 60 requests a minute, along with anything else calling from there. GET /api/v1/notifications/list has a lower limit of 30 a minute, measured against the same count.
The minute starts at your first request and doesn't slide: when it ends, the count starts again from zero.
Response headers
Responses from the infrastructure API carry the limit that applied and what's left of it:
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 59Past the limit, the answer is 429, with X-RateLimit-Remaining: 0 and a Retry-After header, in seconds, for what's left of the minute:
{
"success": false,
"message": "Too many requests. Please try again later."
}The app APIs
The app APIs don't send X-RateLimit headers, and they don't limit every request. What they limit, they refuse with 429 rate_limited, as Errors describes:
- Webhooks: publishing (
POST /v1/events) runs at your plan's publish rate, per workspace. Redelivering and replaying (POST /v1/deliveries/{delivery_id}/redeliver,POST /v1/deliveries/redeliver,POST /v1/deliveries/replayandPOST /v1/events/{event_id}/replay) run at the same rate, on a count of their own. Inbound events toPOST /v1/ingest/{source_id}are limited to 600 a minute per source, then your plan's publish rate (What the provider sees). Saving and testing scripts is limited to 60 a minute per workspace (Transformations). - Inboxes: each inbox accepts mail up to a per-minute limit set by your plan (Limits by plan).
- Request Bins: a bin can send 10 forward tests a minute (Test a forward URL). A bin URL takes 120 requests a minute from one sender and 600 a minute in all (What a bin URL answers).
- Transforms: runs and tests share your plan's runs a minute, per workspace, and at most two of a workspace's can be under way at once on each server process (Plans and limits).
- QR Codes: a workspace can send 10 webhook tests a minute.
Backoff strategy
The right pattern when you hit 429:
async function callWithBackoff(fn: () => Promise<Response>) {
for (let attempt = 0; attempt < 5; attempt++) {
const res = await fn()
if (res.status !== 429) return res
const retryAfter = Number(res.headers.get('Retry-After') ?? '1')
// Jitter prevents the thundering-herd problem if many clients
// hit the limit at the same moment and all retry exactly together
const jitter = Math.random() * 0.5 * retryAfter
await new Promise(r => setTimeout(r, (retryAfter + jitter) * 1000))
}
throw new Error('Rate limit exceeded after 5 retries')
}Two notes:
- Always honor
Retry-After. Don't retry sooner: you'll only get another429. - Add jitter if you're calling from multiple workers. Without it, they all retry on the same tick and all hit the limit again together.
What counts as a request
On the infrastructure API, every HTTP call counts, including:
GETs, such asGET /api/v1/instance/- Each page of a paged list, and each poll while you wait for a VM to reach
ACTIVE - Calls that fail, such as a
401, and the429s themselves
To stay under the limit from one address, spread the work out: poll less often, and don't list what you could read once and keep.
Raising your limits
No API call or plan setting raises these limits. If yours gets in the way of a real workload, contact support.
What's next
- Conventions — request shape, status codes, the broader API patterns.
- Idempotency — how to retry a write safely.
- Quotas — the resource limits (VMs, vCPU, storage), as distinct from request-rate limits.