# Rate limits

Source: https://ampost.io/docs/rate-limits · Full reference: https://ampost.io/llms-full.txt

## Rate Limits and Plans

The REST API and MCP need the `apiKeys` plan feature (`free`: yes, `pro`: yes, `max`: yes, `scale`: yes; see Plan Requirement). Every operation takes from one rate limit per API key owner (see Limits per plan).

Each limit is a token bucket, not a fixed window: up to N requests at once, refilled continuously at N per window (60 per minute is one more request about every second), so short bursts are fine. API-key responses carry `X-RateLimit-Limit` (N), `X-RateLimit-Remaining` (requests allowed right now) and `X-RateLimit-Reset` (when the bucket is full again, Unix seconds). Over the limit: 429 `RATE_LIMITED`. The dashboard has its own buckets, at 2x these numbers. Every 429 carries `Retry-After` (seconds until a request can pass again; MCP: `details.retryAfterSeconds`): wait that long, then retry.

### Limits per plan

| Limit | Free | Pro | Max | Scale | Per | Covers |
|---|---:|---:|---:|---:|---|---|
| `apiRead` | 60 | 600 | 2000 | 4000 | minute | Reads, and checks that change nothing, such as posts_validate (`GET /workspaces/current`, `GET /platforms`, `GET /posts`, `POST /posts/validate`, `GET /posts/{postId}`, `GET /media/uploads/{uploadId}`, `GET /accounts`, `GET /accounts/{accountId}`, `GET /accounts/{accountId}/boards`, `GET /accounts/connect/{connectRequestId}`, `GET /platform-sets`, `GET /platform-sets/{platformSetId}`, `GET /platform-sets/{platformSetId}/queue`, `GET /platform-sets/{platformSetId}/queue/slots`, `GET /analytics/posts`, `GET /analytics/overview`, `GET /analytics/followers`, `GET /webhooks/endpoints`, `GET /webhooks/endpoints/{webhookId}`, `GET /webhooks/endpoints/{webhookId}/deliveries`, `GET /docs/search`) |
| `createPost` | 30 | 300 | 1000 | 3000 | hour | Writes that do not publish: creating, changing and discarding posts, and changing platform sets, posting queues and webhooks (`POST /posts`, `POST /posts/bulk`, `PATCH /posts/{postId}`, `DELETE /posts/{postId}`, `POST /posts/{postId}/submit`, `POST /posts/{postId}/reject`, `POST /platform-sets`, `PATCH /platform-sets/{platformSetId}`, `DELETE /platform-sets/{platformSetId}`, `PATCH /platform-sets/{platformSetId}/queue`, `POST /webhooks/endpoints`, `PATCH /webhooks/endpoints/{webhookId}`, `DELETE /webhooks/endpoints/{webhookId}`, `POST /webhooks/endpoints/{webhookId}/test`, `POST /webhooks/endpoints/{webhookId}/deliveries/{deliveryId}/redeliver`) |
| `publishPost` | 10 | 100 | 500 | 1500 | hour | Publishing to the platforms: posts_publish, posts_retry, posts_unpublish, posts_edit_published, and posts_create with publishNow (which also takes from createPost) (`POST /posts/{postId}/publish`, `POST /posts/{postId}/unpublish`, `POST /posts/{postId}/edit-published`, `POST /posts/{postId}/retry`, `POST /posts/{postId}/approve`) |
| `xPost` | 2 | 10 | 20 | 40 | hour | Posts published to X, on top of publishPost |
| `importPosts` | 100 | 2000 | 5000 | 10000 | hour | One token per CSV row of posts_import_csv, a dry run too |
| `connectPlatform` | 5 | 20 | 50 | 200 | hour | Connecting, reconnecting and disconnecting social accounts, and changing their settings (analytics, Pinterest board) (`DELETE /accounts/{accountId}`, `PATCH /accounts/{accountId}/analytics`, `PATCH /accounts/{accountId}/board`, `POST /accounts/connect`) |
| `mediaUpload` | 30 | 200 | 500 | 1500 | hour | Creating media uploads (`POST /media/uploads`) |
| `feedback` | 10 | 10 | 10 | 10 | hour | feedback_submit, the same on every plan (`POST /feedback`) |

### Post quota (30 days)

On Free two counts apply, each over a 30-day period: a workspace can create 15 posts (a post counts once, when it is created, whether it is a draft or published now, and however many accounts it goes to), and a social account can be published to 15 times (counted when a post publishes to it with `publishNow`, `posts_publish` or `posts_retry`, whichever Free workspace publishes; a publish that fails gives its count back). Over either count: 429 `QUOTA_EXCEEDED` with `limit`, `used` and `resetsAt` in `details`; the social-account count adds `scope: "socialAccount"` and `accountId`, and nothing is published. Paid plans have no post quota; the rate limits above still apply. Scheduling needs the Pro plan or higher: 403 `UPGRADE_REQUIRED`. A plan keeps a number of posts scheduled at a time (Pro 100, Max 500 and Scale 5,000); scheduling one more answers 403 `SCHEDULED_POSTS_LIMIT_REACHED`. After a cancel or a downgrade to Free, a scheduled post that comes due is not published: its accounts fail with `UPGRADE_REQUIRED` (`posts_retry` publishes it now).

### API requests (30 days)

Every API-key call, REST or MCP, that passes the rate limit counts toward the plan's `apiRequestsPerMonth` (Free 1,000, Pro 50,000, Max 200,000 and Scale 1,000,000), over a 30-day period that starts with the first counted call. It is a hard cap: once it is used up, every call gets 429 `QUOTA_EXCEEDED` (`details.quota`: `apiRequestsPerMonth`, with `limit`, `used`, `resetsAt` and `upgradeUrl`) and `Retry-After` until the period resets, and nothing runs. Free calls are not counted and keep working: `docs_search` and `feedback_submit`. The dashboard's own requests are not counted either. Counted REST responses carry `X-Quota-Limit`, `X-Quota-Remaining` (calls left after this one) and `X-Quota-Reset` (Unix seconds); the dashboard's Usage & plan page shows the count.
