Skip to content

Rate limits and plan limits

Request rates, payload limits, plan allowances, and what to do when you hit one.

PubNio has three kinds of limits. Rate limits cap how fast you call the API. Payload limits cap how big one request can be. Plan limits set how many confirmed publishes your workspace gets each month. Networks add their own posting limits on top.

API limits

Limit Value
Targets per publication 50
Draft text 128,000 characters
Idempotency key replay window 24 hours
Publish wait 60 seconds default, 3,600 seconds maximum
Media wait 30 seconds default, 300 seconds maximum
Direct media upload 25 MiB
Image or document asset 256 MiB
Video asset 5,120 MiB
Resumable upload part 16 MiB
Media types image, video, document
Requests 300 per minute
Publishes 30 per minute
Media uploads 10 per minute
Rate-limit window 60 seconds

Read the same numbers at run time, so an agent can plan its work without hard-coding them:

const limits = await workspace.limits.get();
console.log(limits.rateLimits.publishesPerMinute);
limits = client.limits.get()
print(limits["rateLimits"]["publishesPerMinute"])
curl -s https://pubnio.com/api/v1/limits \
  -H "Authorization: Bearer $PUBNIO_API_KEY"
pnio limits get

Rate-limit headers

Every API response carries the standard rate-limit headers:

Header Meaning
RateLimit-Limit Requests allowed in the window.
RateLimit-Remaining Requests left in the current window.
RateLimit-Reset Seconds until the window resets.
Retry-After On a 429 only: seconds to wait, then retry.

When you get 429 Too Many Requests, wait for Retry-After and send the same request again. Keep the same Idempotency-Key on writes so the retry cannot run twice. The SDKs do this for you on reads and keyed writes.

A publish is one request no matter how many targets it has, so send up to

50 targets in one post instead of one post per account.

Plan limits

Feature Pay as you go Pro Platform Enterprise
Price
Monthly price $0, no minimum $29 / month $149 / month Custom
Annual price No subscription $288 / year ($24 / month) $1,500 / year ($125 / month) Custom contract
Confirmed publishes included each month 50 on your first workspace 3,000 25,000 150,000+ by contract
Each extra confirmed publish $0.02 each ($20 per 1,000) $0.008 each ($8 per 1,000) $0.004 each ($4 per 1,000) Custom
X API fee per X post ($0.015 a post, or $0.20 with a link) At cost, no markup At cost, no markup At cost, no markup At cost, no markup
Team
Seats 1 seat 5 seats Unlimited seats Unlimited seats
Publishing and analytics
Analytics history 30 days 90 days 400 days 400 days
X inbox and X analytics No Yes ($5 of X reads a month) Yes ($25 of X reads a month) Yes (Custom X read allowance)
Ads
Connect ad accounts and validate campaigns Yes Yes Yes Yes
Ads insights and reporting No Yes Yes Yes
Create, boost, and activate ads No No Yes Yes
Platform
Branded connect pages No No Yes Yes
Included on every plan
Unlimited connected accounts $0 per account $0 per account $0 per account $0 per account
REST API, hosted MCP, CLI, and SDKs Yes Yes Yes Yes
Signed webhooks Yes Yes Yes Yes
Drafts, preflight checks, and schedules Yes Yes Yes Yes
Failed attempts Never charged Never charged Never charged Never charged

Only confirmed publishes count against the allowance: a target that reaches published or provider_draft. Drafts, validation, schedules, cancellations, and failures are free. Connected accounts are never billed.

Past the allowance, extra publishes are billed per 1,000. On Pay as you go, extra publishes draw from prepaid credit. Before a publish that would go over, PubNio checks that the workspace can pay for it. If it cannot, the publish returns 402 with one of these codes, and nothing is sent. A call that needs a higher plan returns plan_required:

Code Fix
insufficient_credit Top up credit or upgrade the plan.
spend_cap_reached Raise the monthly spend cap in billing settings.
billing_inactive Update the payment method; the subscription is not active.
plan_required Upgrade to minimumPlan, or fix billing if the plan already includes entitlement.

Ads insights and reporting need Pro. Ad writes that can start or raise spend (campaigns, boosts, activation, budget increases) need Platform. Connecting ad accounts, validation, pausing, archiving, lowering a budget, spend caps, and the kill switch work on every plan.

Validate a draft first to see the cost before you publish: the response includes a billing estimate with estimatedCost and includedRemaining. See Validation and dry runs.

X charges per post through its own API. PubNio passes that fee through at cost from prepaid credit and shows it in the estimate.

Network limits

Each network caps how often an account can post. A queue’s slots cannot exceed the account’s network limit. Instagram reports its live 24-hour quota at

GET /api/v1/integrations/accounts/{accountId}/instagram/publishing-limit. The platform capabilities page lists caption, media, and placement limits for every network.

When a network turns a post away because the account is posting too fast, and its answer proves nothing was posted, PubNio retries that target by itself. It waits as long as the network says (its Retry-After, or the reset time X and Meta report in their own headers), or backs off from one minute, and tries up to 3 times. It does not retry when the network asks for a wait over 1 hour. While it waits, the target shows scheduled with automaticRetry. When retries run out, the target is failed with provider_rate_limited, and its nextAction says how long the network asked to wait: retry it after that. /limits reports the policy as automaticRetry. A timeout or server error never triggers an automatic retry, because the post may have gone through.

Type to search…

↑↓ navigate↵ selectEsc close