Skip to content

Glossary drawing · Graph API & SDKs

Rate Limiting

Also called: API rate limits · Throttling · Graph API rate limits

Note 1 —The caps the Graph API and WhatsApp Cloud API place on how fast you may call them and send messages: app, account, throughput and per-recipient limits.

Term
Rate Limiting
Abbreviation
—
Category
Graph API & SDKs
Level
Practitioner
Reviewed
Sheet no.
GLO-API-713
Drawn by
InfiQ Glossary

Drawing 1 · Interactive

Fire a burst at an 80-per-second sender

Refill +80 / s

0 / 80 tokens

Each dot = 2 tokens

Last burst · 120 messages

80 admitted — one token each. 40 rejected with HTTP 429 Too Many Requests: the bucket ran dry. Each chip ≈ 3 messages.

Tokens left
0
Admitted
80
Rejected (429)
40
Full again in
1 s
80 tokens / s

The bucket holds 80 tokens, so up to 80 messages can go out in one burst. After that, messages get through only as fast as tokens drip back in: 80 per second is the sustained limit. Watch the dots refill, then send another burst before it is full.

A client-side token bucket sized to the default Cloud API throughput: 80 tokens, refilled at 80 per second. Send a 120-message burst to see which messages go out now and which would hit error 130429.

A burst of 120 hit a full bucket of 80: 80 accepted, 40 rejected with 429.

What is rate limiting?

Rate limiting is the practice of capping how many requests a client may make in a period of time, so that one caller cannot overload a shared service. The WhatsApp Business Platform has not one rate limit but several layers. Each counts something different and has its own error code, and an integration has to recognise which one it hit in order to respond correctly.

The Graph API layer counts API calls. App-level limits apply to calls made with an app access token, report usage in the X-App-Usage header, and return error 4 when exceeded. Business use case (BUC) limits apply per business asset. On the WhatsApp Business Management API endpoints (reading the WABA, its phone numbers, templates and subscribed apps), an app may make 200 calls per hour per WABA by default. That rises to 5,000 per hour for active WABAs with at least one registered number. Responses on these endpoints report usage in an X-Business-Use-Case-Usage header, and Meta's references list errors 80007 and 80008 for these account-level limits.

The Cloud API layer counts messages. Throughput is the number of messages per second one registered number may send: up to 80 by default, upgraded automatically to 1,000 for eligible high-volume numbers. Exceeding it returns error 130429. The pair rate limit restricts rapid sends from one number to the same user (131056). Registration and deregistration are each limited to 10 requests per number in a moving 72-hour window (133016).

Rate limits are different from messaging limits, which cap how many unique users a business portfolio may message outside a customer service window in a rolling 24 hours (from 250 up to unlimited). They are also different from per-user marketing limits, which cap the marketing templates one person receives. Pricing is separate again: rate limits decide how fast you may send, not what each delivered message costs.

Key takeaways

  • Rate limiting caps how many API calls and messages you may make per unit of time. It is separate from pricing and from messaging limits.
  • Management endpoints allow 200 calls per hour per app per WABA by default, or 5,000 for active WABAs with a registered number.
  • Each registered number can send up to 80 messages per second by default, and exceeding throughput returns error 130429.
  • Sending too fast to one user returns 131056, and register and deregister calls are each capped at 10 per number per 72 hours.
  • Read the error code in the response body, back off with jitter, and pace sends with a client-side token bucket.

How does InfiQ help with rate limiting?

InfiQ's API applies per-key limits and returns limit, remaining and reset headers on every response, so your client can throttle itself. Meta's own limits still apply, and Meta's errors come back unchanged.

InfiQ API reference

Specifications

Rate limiting: key facts and limits

Default throughput
Up to 80 messages/second per registered number
Upgraded throughput
1,000 messages/second (automatic, for eligible numbers)
Management API (BUC)
200 calls/hour/app/WABA; 5,000 for active WABAs
Throughput error
130429
Pair limit error
131056
App / WABA limit errors
4 (app) · 80007 / 80008 (WABA)
Register / deregister
10 each per number per moving 72 h (133016)
Usage headers
X-App-Usage, X-Business-Use-Case-Usage

Operating sequence

How does rate limiting work?

  1. Know which layer a call hits

    Sends to /{PHONE_NUMBER_ID}/messages count against throughput and the pair limit. Reads and writes on /{WABA_ID}/… count against the WABA's hourly business use case budget. Calls made with an app token count against the app's limit.

  2. Watch the usage headers

    Parse X-App-Usage and X-Business-Use-Case-Usage on responses. They report usage as percentages. When you are throttled, the BUC header also includes estimated_time_to_regain_access, in minutes.

  3. Pace sends on the client

    Run outbound messages through a token bucket sized to the number's throughput, for example 80 tokens refilled at 80 per second, so bursts are smoothed out before they reach Meta.

  4. Branch on the error code

    Read error.code from the JSON body. For 130429, slow the whole number. For 131056, back off that recipient only. For 4 or 80007, cut management calls and wait. For 133016, stop and try again after the 72-hour window.

  5. Retry with backoff and jitter

    For retryable codes, wait exponentially longer between attempts, add random jitter and cap the retries. If a message still fails, park it in a dead-letter queue.

Implementation

Rate limiting in code

THROTTLE_SENDER = {130429} # throughput: slow the whole number
BACKOFF_RECIPIENT = {131056} # pair limit: back off this user only
PAUSE_MANAGEMENT = {4, 80007, 80008} # app / WABA call budgets
STOP = {133016} # register/deregister: 72-hour lockout
def classify(error: dict) -> str:
code = error.get("code")
if code in THROTTLE_SENDER:
return "throttle-sender"
if code in BACKOFF_RECIPIENT:
return "backoff-recipient"
if code in PAUSE_MANAGEMENT:
return "pause-management-calls"
if code in STOP:
return "stop-and-alert"
return "fail"

One handler per layer. A single generic "retry in 1 s" handler gets most of these wrong.

Failure modes

Common mistakes with rate limiting

  • Treating every limit as one

    A single generic "rate limited, retry in 1 s" handler retries a 72-hour lockout forever, and pauses a whole number for one user. Map each error code to its own response.

  • Relying on the HTTP status alone

    Meta identifies its throttling errors by the code in the JSON error body. Key your logic on error.code, not only on the HTTP status.

  • Polling management endpoints

    Checking template or number status on a timer eats the WABA's hourly budget. Subscribe to webhooks such as template status updates, and only read when something changes.

  • Confusing rate limits with messaging limits

    Pacing to 80 per second does not raise how many unique users you may reach in 24 hours. Messaging limits and quality decide that, and they count users, not requests.

  • Retrying without jitter

    Thousands of workers retrying on the same schedule all hit the limit again at the same moment. Add random jitter and cap the retries.

Example: A Diwali broadcast that stayed on time

A Jaipur jewellery retailer with an unlimited messaging limit queues 180,000 opted-in customers for a festive marketing campaign on one number, at the default 80 messages per second. Its sender drains a token bucket of 80 tokens refilled at 80 per second, so the run takes under 40 minutes and never trips 130429. A dashboard job that had polled template status every 30 seconds, eating the WABA's hourly budget, switches to the template status webhook. The only rate-limit errors are a few 131056s, for customers who also got an order update that minute, and those are retried per recipient.

Design intent

Why does rate limiting matter?

Every high-volume WhatsApp workload eventually meets a rate limit: a festive broadcast fired at full speed, an analytics job polling templates every minute, or an onboarding script registering numbers in a loop. Treating them all as one generic "slow down" leads to the wrong fix. A whole sender gets paused for one user's 131056, a 72-hour registration lockout gets retried every second, or polling burns the hourly management budget. Knowing the layers lets you pace each one deliberately.

Recommended practice

Best practices for rate limiting

  • Size the client-side token bucket from the number's throughput level, which you can read from the phone number's fields.
  • Alert at 75–80% of the BUC call budget, not at 100%.
  • Prefer webhooks to polling for message status, templates and quality.
  • Keep a dead-letter queue for messages that exhaust their retries.
  • Use field expansion to fetch related data in one call instead of many small ones.

Rate Limiting FAQs

What is the rate limit of the WhatsApp Cloud API?+
There are several. Each number sends up to 80 messages per second by default, or 1,000 after an automatic upgrade. Management endpoints allow 200 calls per hour per WABA, or 5,000 when the WABA is active. Rapid sends to one user hit the pair limit.
Is rate limiting the same as messaging limits?+
No. Rate limits cap how fast you call the API or send messages. Messaging limits cap how many unique users your business portfolio may message outside a service window in a rolling 24 hours.
What should I do when I get error 130429?+
Slow down the whole sending number. Pace sends with a token bucket at or below the number's throughput, and retry the failed messages with exponential backoff and jitter.
Does rate limiting affect what I pay?+
No. Meta bills per delivered message, by category, and sending faster or slower does not change the price. Rate limits only control how quickly messages can flow.
Can I get my WhatsApp API rate limits raised?+
Partly, and automatically. Numbers that meet Meta's criteria (an unlimited messaging limit, high recent volume and medium or better quality) are upgraded to 1,000 messages per second. The management budget rises to 5,000 calls per hour once a WABA has a registered number.

See InfiQ pricing

Put Rate Limiting to work

InfiQ is an official Meta Business Partner. Start a 7-day free trial — no card needed — and see this running on your own number.