RedditapisRedditapis

Rate limits

No extra rate cap on top of your plan's reads. Each key gets a burst, then a steady pace, and a call over the pace gets a short wait instead of an error. The headers to read, and what each 429 means.

Short version: there is no extra rate cap on top of your plan's reads. Reads on each API key get a burst of about 20 calls, then a steady pace of about 10 a second. A call over the pace gets a short wait instead of an error. Read the X-RateLimit-* headers on every response and your client never has to guess a rate.

What has a limit

EndpointsLimit
GET /api/reddit/* (posts, comments, users, search, listings)A burst of about 20 calls, then a steady pace of about 10 a second per key
GET /api/account/me, GET /api/account/payments30 requests per minute
POST /feedback, GET /feedback/{id}10 requests per minute
Dashboard and usage endpoints30 requests per minute
Monitoring endpointsSee Live Monitoring limits

The 30 per minute figure applies to the account endpoints only. It is not the limit on the data endpoints, and applying it there is a common and costly mistake.

How the per-key pace works

Every key can send about 20 reads at once. After that its reads run at about 10 a second, in the order they arrived. A read over the pace is not refused: it waits in line for up to 10 seconds and then runs. Only a read that would wait longer than that gets a 429, straight away, so it never ties up your client:

{ "error": "rate_limited", "message": "This API key sent more than about 20 calls at once. Calls above that are paced to about 10 per second per key; this one would have waited too long, so it was not run and was not billed. Retry after 3 seconds.", "limit": "per_key_pace", "scope": "api_key", "in_flight": 20, "max_in_flight": null, "rate_per_second": 10, "burst": 20, "retry_after": 3 }

It carries a Retry-After header with the same number of seconds, and it is not billed. GET and HEAD are both paced. The pace is per key, so two keys on one account each get their own.

All keys together also share a fair queue: when reads are waiting, the key with the lightest recent load goes first, so one heavy key cannot crowd out a light one. When that queue is full a read gets the same kind of unbilled 429 with Retry-After, "limit": "shared_read_pace" and "scope": "all_keys". This can happen while your own key is well under its burst, because the queue is shared, and its Retry-After can be as long as 24 seconds. A read that needs several requests to Reddit (a comment tree, a deep search, a batch) counts for each of them, so a key that has just run a few large reads may be asked to wait before its next one.

Taken together, a read waits at most about 20 seconds before it runs, which sits inside the hosted MCP server's 30 second timeout.

The headers on every read

HeaderMeaning
X-RateLimit-LimitThe burst size for your key (20).
X-RateLimit-RemainingHow many more calls your key can send right now before pacing starts.
X-RateLimit-ResetSeconds until your key's burst is fully available again.

Slow a worker down as X-RateLimit-Remaining nears zero and it never waits in line or sees the pacing 429.

X-Read-Source: when a read was served another way

Some reads can be answered from more than one place on Reddit. When Reddit turns away the usual read, we answer from the pages Reddit itself shows on its website, and the response says so with an X-Read-Source header. A response without the header was served the usual way.

ValueEndpointsWhat it means
html_fragmentGET /api/reddit/posts, /search, /search/communities, /search/comments, /search/comments/deep, /search/media, /search/users, /sub/{name}/top, /sub/{name}/about, /user/{name}, /user/{name}/comments, /subreddits/batchRead from the same page Reddit shows for that listing, search, profile card or community card.
thread_readsGET /api/reddit/by_id/{fullnames}, GET /api/reddit/political-adsEach post was read on its own, one by one. When Reddit turns that read away too the post comes from its page, with the null fields of html_thread. On by_id, a post that came back missing was read and is gone, so it is listed in meta.missing_fullnames. On political-ads, a page can be shorter than limit when one post could not be read; pass back after to continue from it.
html_threadGET /api/reddit/post/{id}, /post/{id}/comments, /comments/{postId}, /comments?permalink=, /post/{id}/comments/expanded, /post/{id}/visibility, /comment/{id}?post_id=The post and its comments were read from the post's own page. The comment tree keeps the same shape, and limit and depth work the same way. A comment's body is its text as the page shows it (formatting marks such as link targets are not on the page), and body_html, author_fullname, edited and distinguished are null. A part of a big thread the page did not show is marked with a kind: "more" node, so the completeness fields never report a cut tree as whole.
html_commentGET /api/reddit/comment/{id}, POST /api/reddit/comments/verifyEach comment was read from its own page. edited, stickied, distinguished and the like are null.
html_pageGET /api/reddit/post/{id}/duplicates, /subreddits/popular, /subreddits/new, /subreddits/defaultThe list was read from Reddit's own page for it. See each endpoint for the fields that page does not show.
sidebar_textGET /api/reddit/sub/{name}/rulesThe rules were read from the subreddit's sidebar text. See that endpoint.
thread_sampleGET /api/reddit/sub/{name}/commentsThe newest comments were collected from the subreddit's busiest recent threads. It is a sample, not the whole stream, so the body also carries "read_source": "thread_sample" and threads_read, and the last page never reports the stream as complete.
oauth_jsonGET /api/reddit/posts, GET /api/reddit/by_id/{fullnames}Read from Reddit's own JSON for the listing or each post, with every field filled, text (the self-post body) and is_self included. The body also carries "read_source": "oauth_json", and on /by_id each post carries it too.
search_authorGET /api/reddit/user/{name}/submittedThe user's posts were read from Reddit's search for that author, on sorts new, top and hot. It is search's view of the profile, so a post can be absent, and the cursor it returns is a search cursor.

Fields a page does not show come back null. The response keeps the same shape, but a field the page does not carry is null rather than a guessed value. Examples: a post search result's body is filled where it can be read (see the search page's include_bodies and X-Body-Fill), a community search result has no subscriber count (subscribers is null), and a comment search result has no author. A profile read this way has post and comment karma but total_karma is null, and its created_utc has day precision (midnight UTC on the account's creation day); a community read this way has its description but subscribers and created_utc are null; a user's comment read this way has no parent_id and is_submitter is null. Treat null as "not known for this read", not as "empty". Media search reads each post on its own, so its fields are filled unless that post came from its page.

A null flag is not false. A post in a listing read this way has spoiler, locked, archived, link_flair_text and link_flair_template_id as null, because the listing page does not show them, and a subreddit listing shows over_18 as true when the post is marked and null otherwise. A post read from its own page also has locked, archived and its flair as null. So test these with === true, and treat a null as "this read did not say".

Paging works the same either way: pass back the after value you were given. A cursor from one of these reads only resumes that same search, so do not edit it.

Every 429 names its limit

Every 429 on a read says which limit refused it and who shares that limit, so you can tell your own concurrency from a limit every key shares:

FieldMeaning
limitWhich limit: per_key_pace, shared_read_pace, per_key_in_flight, route_in_flight, upstream_rate_limit or reddit_account. On a read 503: shared_reads or upstream_unavailable (see below).
scopeWho shares it: api_key (only your key's calls count), all_keys (every key's reads count, so lowering your own concurrency may not avoid it), reddit_account (your connected Reddit account) or, on a 503, upstream (Reddit itself).
in_flightYour key's reads in flight when the 429 was written, or null when not known.
max_in_flightThe in-flight cap that refused the call, or null when the limit is not an in-flight cap.
retry_afterSeconds to wait, the same number as the Retry-After header.

Every response, error or not, also carries an X-Request-Id header. Quote it when you report a failing call: it finds that call in our logs. Send your own X-Request-Id (8 to 128 letters, digits, ., _, : or -) and we echo it back.

Reddit's own 429, relayed

We read Reddit through a pool of accounts. When Reddit rate-limits one of them we park it, rotate to another, and retry. You only see Reddit's 429 when that whole retry chain is exhausted, which makes it a transient condition rather than a limit you have crossed.

{ "error": "HTTP_429", "code": "HTTP_429", "message": "Reddit rate-limited this read after it was retried. This is not a limit on your API key: it applies to reads from every key (scope: all API keys), so it can happen on a single sequential read. Not billed. Retry after 10 seconds.", "limit": "upstream_rate_limit", "scope": "all_keys", "in_flight": 1, "max_in_flight": null, "retry_after": 10 }

The response also carries a Retry-After header with the same value in seconds. It is a floor to honour, not a promise: the next attempt is usually served by a different, healthy account well before any per-account cooldown expires.

A 429 is not billed. You are not charged for a request that returned one.

What to do

  1. Pace from the headers. X-RateLimit-Remaining tells you how much burst is left before a call has to wait.
  2. Treat 429 as retryable. Read Retry-After, back off from it, and add jitter so a fleet of workers does not retry in lockstep.
  3. Do not treat 429 as fatal or as a reason to stop. The same request normally succeeds shortly afterwards.

Three concurrency limits, also answered with 429

Three more things answer 429, and none is a quota. The first is a per-account cap on deep comment search (DEEP_SEARCH_CONCURRENCY, upper case, the spelling the endpoint has always used). The second is the same cap on expanded comment trees (EXPANDED_COMMENTS_CONCURRENCY). The third is a per-key brake on reads in flight that only engages while the service is degraded (too_many_concurrent_reads, lower case, the spelling the shared error format uses). The spellings differ because they come from different layers; all three carry Retry-After, and none is billed.

Deep comment search: at most 2 at once per account

GET /api/reddit/search/comments/deep has a cap in normal operation. Each call expands several comment trees at once, so one account can run at most 2 of them at the same time. A third call waits up to 3 seconds for a slot, then returns 429 with Retry-After: 2. It is not billed.

{ "error": "DEEP_SEARCH_CONCURRENCY", "message": "At most 2 deep comment searches can run at once per account. Wait for one to finish, then retry.", "limit": "route_in_flight", "scope": "api_key", "in_flight": 2, "max_in_flight": 2, "retry_after": 2 }

Run deep searches two at a time per key and this never fires.

GET /api/reddit/post/{id}/comments/expanded has the same cap for the same reason (one call can make up to 10 reads): at most 2 at once per account, then 429 with "error": "EXPANDED_COMMENTS_CONCURRENCY" and Retry-After: 2, not billed. Every other read endpoint has only the per-key pace above in normal operation.

The per-key brake while the service is degraded

While the service is degraded (rare), a key that already has four reads in flight has its extra reads WAIT up to 2 seconds for one to finish; a read still waiting after that, or arriving when eight are already waiting, receives a 429 with "error": "too_many_concurrent_reads" and Retry-After: 2; it is not billed. Treat it as "slow down": keep at most four reads in flight per key (max_in_flight states the current limit, which a rate tier raises) and retry after the header. Every read refused by this cap is a 429 with "limit": "per_key_in_flight", never a 503. A read still waiting when the service recovers is served, not refused. A 503 upstream_unavailable (below) means "retry this read", so the two are distinguishable by status, by error value and by limit.

{ "error": "too_many_concurrent_reads", "message": "Too many reads are already in flight on this API key. This request was not billed. Retry after 2 seconds, or keep at most 4 reads in flight per key while the service is degraded.", "limit": "per_key_in_flight", "scope": "api_key", "in_flight": 4, "max_in_flight": 4, "retry_after": 2 }

That is a brake on fan-out while the service is degraded, not a quota.

The other retryable statuses

A 503 means we could not complete the call at all. It is also retryable, also carries Retry-After, and is also not billed. A 502 on a GET read is not billed either: it means a hop on our side failed to answer, and a plain retry is the right response. (A write Reddit refused or throttled still bills, see the write endpoints; so does a 502 from a proxy you supplied yourself, and the few reads that use POST, such as DM threads and comment verification, keep their documented billing.)

{ "error": "upstream_unavailable", "message": "This request could not be completed right now. It was not billed. Please retry shortly.", "limit": "shared_reads", "scope": "all_keys", "in_flight": 8, "max_in_flight": null, "note": "Not a limit on your API key: the reads every key shares were momentarily full, so this can happen on a single read.", "retry_after": 12 }

A read 503 names its cause the way a 429 does. limit is shared_reads (scope all_keys) when the reads every key shares were momentarily full, or upstream_unavailable (scope upstream) when Reddit refused the read or answered it unusably. Neither is a limit on your key, so it can happen on a single read: in_flight shows your own count, and a 503 inside a burst means your reads were within your cap. On shared_reads, retry_after is when a read can next be served (never under 5 seconds); otherwise it is the usual wait for that cause.

upstream_timeout means the read did not complete in time, and it is not billed. It comes with one of two statuses:

  • 503 with Retry-After: 5: the service could not serve the read inside its time budget, usually because it is busy. Wait the Retry-After seconds before retrying; an immediate retry lands in the same busy spell.
  • 408 with Retry-After: 2: Reddit did not answer this one read in time. A plain retry is the right response. If your client only retries 5xx, add 408 to its retry list.

Branch on the error value and honour Retry-After either way.

{ "error": "upstream_timeout", "message": "The read did not complete in time. It was not billed. Please retry shortly.", "retry_after": 5 }

Out of credits (402)

A 402 means the balance does not cover the call. Nothing was charged and the request was not served. It carries:

  • Retry-After: 3600. An empty balance does not clear by waiting, so a retry loop only repeats the same answer. Top up, then call again; the next call after a top-up succeeds at once, without waiting out the header.
  • top_up_url in the body, the page where the balance is topped up, so an agent relaying the error can hand its user the link. It opens with an amount already filled in (amount, whole dollars, which the page lets you change) and carries utm_source (api, or mcp when the call came through the MCP server) and utm_medium=402. Treat the value as an opaque URL; the query parameters may change.
{
  "error": "Insufficient credits",
  "top_up_url": "https://www.redditapis.com/dashboard/buy-credits?amount=10&utm_source=api&utm_medium=402",
  "message": "Out of credits. Top up at https://www.redditapis.com/dashboard/buy-credits?amount=10&utm_source=api&utm_medium=402 to continue."
}

Read the balance any time from GET /account/me, which is free and never returns 402.

Error codes and hints

Newer errors name what went wrong in a stable code you can branch on, and most add a hint saying what to send instead and a field naming the parameter. Some older 400s still carry only error, so treat code as optional and fall back to the status and error. error stays a readable sentence, and its wording does not change when a code is added.

The example below is what a query-style alias such as GET /api/reddit/post?id= returns when its parameter is missing: a 404, not billed, like any unknown path. A route's own validation errors use the same shape with status 400. A 400 that a GET read answers from its own parameter check (for example INVALID_PARAM or MISSING_PARAM) is not billed either, because no read was made; a 400 on a write keeps the write endpoints' rules.

{ "error": "id is required", "code": "ID_REQUIRED", "field": "id", "hint": "Pass id=<post id or t3_ fullname> or url=<the post's reddit.com URL>, or call the path form GET /api/reddit/post/{id}." }

Check readiness before a burst

GET /health needs no key and answers { "ok": true, "reads": "ok", "read_rate_usd": <number> }. ok is the service being up; read_rate_usd is the price in US dollars of one standard read, exactly as the API bills it right now; reads is the pass rate of customer reads over the last five minutes, as one of ok, degraded or unknown (too few reads in those five minutes to say; under a very heavy spell it is the last twenty thousand reads). When it reads degraded, expect some 503 and 408 answers and space your calls out instead of retrying hard; it is cached for ten seconds, so poll it no faster than that.

{ "ok": true, "reads": "ok" }

If 429s are constant rather than occasional

That is not normal and it is worth telling us about. Send your API key prefix and a rough timestamp to support and we will look at the traffic directly.

Independent third-party API for developers and researchers. Not affiliated with, endorsed by, or sponsored by Reddit, Inc.

On this page