PRAW errors & limits (429 Too Many Requests, 1,000-result cap, comment.replies empty): how do I fix them?
Three PRAW issues trip up almost every Reddit data script: HTTP 429 when threads or multiple scripts share one OAuth client (PRAW is not thread-safe, and free-tier OAuth caps around 100 requests/min), Reddit's hard ~1,000-item listing cap where before/after stops returning cursors, and comment.replies arriving empty whenever a comment is fetched outside its submission unless you call comment.refresh(). Use one PRAW instance per process and slice queries by time—or read public Reddit posts and comments without a Reddit OAuth app via XTikAPI at $0.002 a call.
Updated 2026-11-25
Three PRAW problems and how to fix each
HTTP 429 Too Many Requests on reads (issue #2023)
Cause in PRAW docs & issues: Free OAuth tier (~100 req/min per client) exhausted by ThreadPoolExecutor or multiple scripts sharing one client ID; ratelimit_seconds does not cover read 429s
Fix inside PRAW: Run one PRAW instance per process (no thread pool on one client) and give each script its own OAuth app
Search/listing stops at ~1,000 posts even with limit=None (issue #614)
Cause in PRAW docs & issues: Reddit's API caps every listing at ~1,000 items and omits after past that point
Fix inside PRAW: Split queries into smaller time windows (time_range=day) and collect up to 1,000 per slice
comment.replies is always [] (issue #413)
Cause in PRAW docs & issues: Comments fetched from a queue, inbox, search, or reddit.comment(id) do not include replies
Fix inside PRAW: Call comment.refresh() per comment (costs 1 API call each), or load from submission.comments.replace_more()
Reading public Reddit data without managing OAuth apps
- Search by time window:
reddit.posts.searchwithkeyword,sort(relevance,new,top),time_range(hour,day,week,month,year,all), andaftercursor—runningtime_range=daydaily avoids the 1,000-post ceiling. - Subreddit listings:
reddit.subreddit_posts.listwithsubreddit_name. - Comments & replies directly:
reddit.comments.list(postid,sort,after) andreddit.comment_replies.list(postid, replycursor) without fetching an entire comment tree.
Cost check: 10 keywords × 5 pages daily for 30 days = 1,500 calls × $0.002 = $3; 100 threads × 5 comment pages = 500 calls = $1.
Why XTikAPI
- XTikAPI reads Reddit with 11 endpoints from $0.002 a call, and a failed call is not charged.
- Fewer tokens for AI: across 9 recorded live Reddit calls (2026-11-18), raw platform JSON is ~102k tokens vs ~8k via XTikAPI REST (91.9% fewer) and ~9k via MCP (91.4% fewer).
- See before you pay: 192 of 229 endpoints show a recorded real response on their page (11 of 11 for Reddit).
- One shape: posts, comments and accounts from 19 platforms come back as the same objects, author in author and counts in metrics, so another platform needs no new parser.
- Free trial: a verified account gets $0.50, no card.
Endpoints
Each with its price; the endpoint page has parameters, fields and a recorded response.
- Reddit post search API$0.002 a callSearch Reddit posts by keyword.
- Reddit subreddit posts API$0.002 a callPosts in a subreddit: hot, new or top.
- Reddit comments API$0.002 a callComments on a Reddit post.
- Reddit comment replies API$0.002 a callReplies under one Reddit comment.
- Reddit post details API$0.002 a callOne Reddit post by ID.
Sources
What this page says about other products comes from their own pages and docs, read on 2026-11-25.
More about Reddit
Questions
Does raising `ratelimit_seconds` stop HTTP 429 errors on reads?
No. `ratelimit_seconds` only controls wait/retry on write-action limits (posting, commenting); read 429s come from Reddit's per-client quota (issue #2023).
Does `comment.refresh()` count against my Reddit rate limit?
Yes—each `refresh()` sends an extra API request.
One key. Start now.
19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.
Start free