Skip to content

X API rate limits, headers, and usage credits

How the X API meters use: 15-minute windows reported in x-rate-limit headers, 429s until reset, and prepaid credits that are billed separately from rate limits.

X meters calls in 15-minute windows per endpoint and reports them in x-rate-limit-limit, -remaining, and -reset. Past a limit it answers 429 until the window resets. Billing is separate: access uses prepaid credits deducted per request. (Checked 2026-12-05.)

Facts

Fact Official value Source Checked
Rate-limit headers x-rate-limit-limit, x-rate-limit-remaining, x-rate-limit-reset X API Rate Limits 2026-12-05
Past the limit HTTP 429 until the window resets X API Rate Limits 2026-12-05
Billing and rate limits Billed separately from rate limits X API Rate Limits 2026-12-05
Usage model Prepaid credits deducted per request About the X API 2026-12-05

Where official docs disagree

The official pages read for this page agree on every value above.

What PubNio enforces

  • PubNio spends at most 100 provider requests with a 60-second deadline on one sync run, with 4 requests in flight, and retries a call at most 6 times.
  • Each adapter reads x-rate-limit-remaining, x-ratelimit-remaining, ratelimit-remaining and x-rate-limit-reset, x-ratelimit-reset, ratelimit-reset when present, and waits for retry-after or x-rate-limit-reset-after before a retry.
  • PubNio passes X’s API fee through at cost from prepaid credit: $0.015 per post, or $0.200 when it contains a link.

Read the live value

  • Read x-rate-limit-remaining and x-rate-limit-reset (Unix seconds) on each response; PubNio’s adapter reads the same headers.
  • When a provider answers HTTP 429, PubNio records a rate_limit provider error, marks it retryable, and keeps the provider’s Retry-After as retryAfterSeconds. Creating a post can fail with the ProviderRateLimited problem (429).
  • X error codes lists the errors PubNio returns for X and how to fix each.

Limits

  • PubNio cannot add X API credit to your own developer account; it uses its own.

Sources

  • X API Rate Limits, checked 2026-12-05

    Unix epoch timestamp (seconds) when the 15-minute window resets
    Exceeding limits results in a 429 error until the window resets.
    Rate limits and billing are separate:
  • About the X API, checked 2026-12-05

    Purchase credits, deducted per request

Type to search…

↑↓ navigate↵ selectEsc close