Get started
Rate limits
Three kinds of limit can answer 429: the request budget of your workspace, the posting caps that protect your accounts, and the platforms' own limits. Each 429 says how long to wait.
Every 429
| Code | What it limits | Wait |
|---|---|---|
ratelimit.exceeded | Requests per minute of the workspace. | Retry-After |
publishing.velocity_limit | Posts per hour or day of one account, Page or board. | Retry-After |
platform.<name>.rate_limit | The platform's own limit. | Retry-After |
validation.youtube_daily_reply_limit | 5 YouTube replies and comments per channel per day. | Until midnight Pacific Time |
inbox.sync_rate_limited | Manual syncs of one account. | meta.retry_after_seconds |
validation.post_limit_exhausted, validation.interaction_limit_exhausted | The plan's monthly credits. | Next billing period |
billing.export_limit, billing.export_cooldown, billing.export_concurrent | Analytics exports. | See the message |
Request budget
Each workspace has a budget of requests per minute, shared by all its API keys and OAuth tokens: 300 by default (a self-hosted server sets it with RATE_LIMIT_PER_MINUTE). The minute starts with the first request and resets 60 seconds later. The dashboard does not count against it.
Every answer, errors included, carries:
| Header | Value |
|---|---|
X-RateLimit-Limit | Requests allowed per minute. |
X-RateLimit-Remaining | Requests left in this minute. |
X-RateLimit-Reset | Seconds until the budget resets (a number of seconds, not a timestamp). |
Retry-After | On a 429 only: seconds to wait. |
HTTP/1.1 429 Too Many Requests
X-RateLimit-Limit: 300
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 18
Retry-After: 18
{ "error": { "code": "ratelimit.exceeded", "message": "…", "meta": { "limit": 300, "retry_after_seconds": 18 } }, "request_id": "a1b2c3d4" }Calls that spend credits also report what is left this month: X-Posts-Limit and X-Posts-Remaining on posts, X-Interactions-Limit and X-Interactions-Remaining on replies and DMs. Unlimited plans send none.
Posting velocity caps
To keep accounts clear of spam filters, this server counts what each target published. A target is one account, or one Facebook Page or Pinterest board of it. A window opens with the first post counted in it and lasts an hour or 24 hours.
| Platform | Per hour | Per 24 hours |
|---|---|---|
| 25 | 45 | |
| Facebook (per Page) | 25 | 100 |
| Threads | 25 | 250 |
| X | 25 | 50 |
| TikTok | 25 | 13 |
| Pinterest (per board) | No hourly cap | 1,000 |
| Every other platform | 25 | 50 |
- Publishing now is all or nothing: if one target is at its cap, the request answers
429 publishing.velocity_limitwithmeta.account_id,window(hour or day),limitandretry_after_seconds, and nothing is sent. - A scheduled target that reaches its cap waits for the window to clear and then publishes. It does not fail.
- Posts still being sent count as published.
Platform limits
Platforms set their own limits on top of ours. When one answers 429, the API answers 429 platform.<name>.rate_limit with the platform's wait in Retry-After and meta.retry_after_seconds (60 seconds when the platform gives none). A scheduled post that meets a platform 429 or 503 is retried automatically; see retries.
| Platform | Limit |
|---|---|
| About 50 published posts per account per rolling 24 hours. | |
| TikTok | About 15 posts per creator per day through apps, and 6 post requests a minute per account. |
| YouTube | 10,000 quota units a day per project by default; one upload costs about 1,600. Used up: 429 until midnight Pacific Time. Replies: 5 per channel per day here. |
| X | Billed per request. A spent monthly write quota answers 402 platform.twitter.usage_capped. |
| Telegram | About 1 message per second per chat and 30 per second per bot. |
| Google Business Profile | No quota until Google approves the project for the Business Profile APIs. |
Other temporary limits answer 503 with Retry-After: for example, fetching too many inbox attachments at once answers 503 with Retry-After: 1.
Handling 429
async function call(url, init, tries = 5) {
const res = await fetch(url, init);
if ((res.status === 429 || res.status === 503) && tries > 1) {
const wait = Number(res.headers.get("Retry-After") ?? 1);
await new Promise((r) => setTimeout(r, wait * 1000));
return call(url, init, tries - 1);
}
return res;
}Do not retry the monthly credit codes: they only clear in the next billing period or on a bigger plan.