# Limits by plan

The API is a paid-plan feature. Free workspaces have no API access: every request from a Free workspace is refused with `plan_does_not_include` before any limit is counted. Reading these docs is open to everyone.

## Requests per minute

Limits apply per key (or per connected app), in a one-minute window.

| Plan | All requests | Writes (POST, PATCH, DELETE) |
| --- | --- | --- |
| Free | No API access | No API access |
| Magnets & Promos | 120 a minute | 60 a minute |
| Pro | 240 a minute | 120 a minute |

Every request counts against the first limit. A write also counts against the write limit. These apply on top:

| Limit | Value |
| --- | --- |
| Bulk and import calls | 5 a minute per key (`bulk_upsert_subscribers`, `bulk_update_subscribers`, `create_import`) |
| Requests with no valid key | 30 a minute per address |
| Failed authentications | 20 in 10 minutes per address, then that address waits |
| Reader magnet sign-ups through the API | 60 an hour per key |
| Sends by a key that holds `mailings:send` | 4 a day (UTC) |

`get_usage_and_limits` returns your plan's numbers and what you have used, including `api_requests`.

## Reading the headers

Every authenticated response carries `RateLimit-Policy`, for example `"burst";q=120;w=60` (120 requests in a 60-second window), and `RateLimit` with what is left, when it can be told. These headers follow an IETF draft whose syntax may still change; read them as hints. The only dependable signals are the status and the problem body.

## When you are over a limit

`rate_limited` is HTTP 429 and retryable. The wait is in the `Retry-After` header and repeated as `retry_after_seconds` in the body. Wait that long, then repeat the same request (with the same `Idempotency-Key` if you used one). Do not retry in a tight loop.

`quota_exceeded` is also 429 but not retryable: a plan quota for the day or the month is used up, such as daily email volume. Waiting a minute will not help. The problem says what to change.

## Plan quotas

| Quota | Where to read it |
| --- | --- |
| Subscribers on your plan | `get_usage_and_limits`, `subscribers` |
| Emails today and this month | `emails_today`, `emails_this_month` |
| Magnet sign-ups this month | `magnet_signups_this_month` |
| Webhook endpoints (Magnets & Promos 3, Pro 10) | `webhook_endpoints` |
| Sends by API key today | `api_send_executions_today` |

## Size limits

- Request bodies are limited to 1 MiB. Bulk and import bodies are limited to 5 MiB. A larger body is refused with `payload_too_large` before it is read.
- `bulk_upsert_subscribers` and `bulk_update_subscribers` take up to 1,000 items; `create_import` takes up to 10,000 rows. A bulk call with more than 100 items runs in the background: you get `202` and poll `get_operation`.
- Pages hold at most 200 rows.
- A workspace can hold 25 active keys.

## Plan features

| Feature | Free | Magnets & Promos | Pro |
| --- | --- | --- | --- |
| Keys and connected apps | No | Yes | Yes |
| Read, write subscribers, tags and lists | No | Yes | Yes |
| Drafts and design tools | No | Yes | Yes |
| Send requests approved in the dashboard | No | Yes | Yes |
| Sending with the `mailings:send` scope | No | Yes | Yes |
| Webhook endpoints | 0 | 3 | 10 |
| Event feed | No | Yes | Yes |
| Sandbox | No | Yes | Yes |

The designers in the dashboard stay on every plan. `get_current_access` returns the numbers for your key, so prefer reading them to copying them from this page.
