Get started
Rate limits
Credits and spend caps are the limit; 429 always says how long to wait.
We limit by credits, not by a request window. Your balance and each key’s spend caps decide how much you can call. There is no per-minute quota to tune your client around.
What stops a call
| Answer | Why | Do |
|---|---|---|
402 insufficient_credits | The balance is too low for this call | Buy a pack, or top up. Don’t retry until then. |
402 spend_cap_reached | This key hit its daily or monthly cap | Wait for the cap to reset, or ask the account owner to raise it. |
429 rate_limited | A burst protection limit | Wait Retry-After seconds, then retry. |
503 upstream_unavailable | Reddit is not answering | Retry with backoff; nothing was charged. |
Every 429 carries Retry-After in seconds. So does every retryable 503.
Signup limits
Agent signups are limited per network per day (429 signup_limited), and too many wrong answers to the signup question lock it for a while (429 challenge_locked). Both carry Retry-After.
PRAW-compatible host
PRAW and snoowrap read Reddit’s x-ratelimit-* headers. The compatible host sets them so the client never sleeps for nothing:
x-ratelimit-remaining: your credit balance (never below 1, so the client fails fast on the 402 instead of waiting).x-ratelimit-used: always 0.x-ratelimit-reset: seconds to the next 10-minute boundary.
The retry rule
Retry only when the error says retryable: true, and wait at least Retry-After seconds when it is present; otherwise back off exponentially from one second. Never resend a 400 unchanged: fix the input first. A 402 is a decision about money, not a transient error.