Rate limits
The Agent API is limited based on your plan, not a single flat cap. The per-minute limit applies to each API key, is enforced in a 60-second window, and the current cap for your key is in the X-RateLimit-* headers of every response. The monthly quota applies to each organization: it counts every call with that organization's X-Organization-Id, across all keys, and the organization's plan sets the cap. An OAuth call without X-Organization-Id counts towards the organization in its token (org_id). Only calls with X-API-Key and without X-Organization-Id do not count towards the monthly quota.
Plan limits
| Plan | Requests / min | Calls / month |
|---|---|---|
| Pro | 40 | 1,000 |
| Ultra | 80 | 4,000 |
| Max | 200 | 12,000 |
| API / white-label partner | 100 | no monthly quota (fair use) |
From 1 December 2026 the monthly quota is the account's, shared out in equal parts among its organizations: the plan's quota divided by the number of the account's active organizations, by no more than the plan includes (Pro 1, Ultra 10, Max 50). An account with one organization has the whole quota. On Max with 50 or more organizations each has 240 calls a month, and an organization bought on top brings the same share.
The per-minute limit is hard (exceeding it returns 429). For the portal plans (Pro/Ultra/Max) calls keep working past the monthly quota and the excess is billed as overage (0.50 € per 1,000 calls) only if you agreed to billing over-limit calls when creating the key in the app. The consent belongs to the firms, not to the key: it is recorded for every firm the account has at that moment, and a firm founded later (in the app or via POST /v1/agent/organizations) takes it over by itself when every other firm of the account has it, so the key never needs replacing. If a firm of the account lacks the consent, tick it again when creating another key; the key your integration runs on stays. Without that consent the API returns 429 with code API_LIMIT_EXCEEDED until the month ends. We send a warning at roughly 80% and 100% of your monthly quota. Need higher limits? Upgrade to a higher plan (or ask support for a per-key increase).
Per-organization limits
On top of the per-key limit, some costly endpoints have their own cap per organization (60-second window, shared by all keys of that organization). Exceeding it returns 429 as well; on these endpoints the X-RateLimit-* headers show this per-organization limit.
| Endpoint | Requests / min per organization |
|---|---|
POST /invoices | 30 |
POST /invoices/{id}/final-invoice | 30 |
GET /invoices/{id}/pdf | 10 |
POST /expenses/upload | 10 |
POST /expenses/bulk | 5 |
Headers
| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum number of requests in the window. |
X-RateLimit-Remaining | Remaining requests in the current window. |
X-RateLimit-Reset | Unix time (s) when the window resets. |
Retry-After | On 429: how many seconds to wait. |
Handling 429
When the limit is exceeded, the API returns 429 RATE_LIMITED. Respect Retry-After and use exponential backoff with jitter. Do not retry in a tight loop.
async function callWithRetry(fn, max = 5) {
for (let attempt = 0; attempt < max; attempt++) {
const res = await fn();
if (res.status !== 429) return res;
const retryAfter = Number(res.headers.get("Retry-After") ?? 1);
const backoff = retryAfter * 1000 + Math.random() * 250;
await new Promise((r) => setTimeout(r, backoff));
}
throw new Error("Rate limit: retries exhausted");
}page / per_page, limit / offset or a cursor.