Docs menu

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

Codes that answer 429
CodeWhat it limitsWait
ratelimit.exceededRequests per minute of the workspace.Retry-After
publishing.velocity_limitPosts per hour or day of one account, Page or board.Retry-After
platform.<name>.rate_limitThe platform's own limit.Retry-After
validation.youtube_daily_reply_limit5 YouTube replies and comments per channel per day.Until midnight Pacific Time
inbox.sync_rate_limitedManual syncs of one account.meta.retry_after_seconds
validation.post_limit_exhausted, validation.interaction_limit_exhaustedThe plan's monthly credits.Next billing period
billing.export_limit, billing.export_cooldown, billing.export_concurrentAnalytics 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:

Rate limit headers
HeaderValue
X-RateLimit-LimitRequests allowed per minute.
X-RateLimit-RemainingRequests left in this minute.
X-RateLimit-ResetSeconds until the budget resets (a number of seconds, not a timestamp).
Retry-AfterOn 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.

Posting caps per target
PlatformPer hourPer 24 hours
Instagram2545
Facebook (per Page)25100
Threads25250
X2550
TikTok2513
Pinterest (per board)No hourly cap1,000
Every other platform2550
  • Publishing now is all or nothing: if one target is at its cap, the request answers 429 publishing.velocity_limit with meta.account_id, window (hour or day), limit and retry_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.

Notable platform limits
PlatformLimit
InstagramAbout 50 published posts per account per rolling 24 hours.
TikTokAbout 15 posts per creator per day through apps, and 6 post requests a minute per account.
YouTube10,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.
XBilled per request. A spent monthly write quota answers 402 platform.twitter.usage_capped.
TelegramAbout 1 message per second per chat and 30 per second per bot.
Google Business ProfileNo 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.