# 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

| Symptom | Cause in PRAW docs & issues | Fix inside PRAW |
| --- | --- | --- |
| HTTP 429 Too Many Requests on reads (issue #2023) | 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 | 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) | Reddit's API caps every listing at ~1,000 items and omits `after` past that point | Split queries into smaller time windows (`time_range=day`) and collect up to 1,000 per slice |
| `comment.replies` is always `[]` (issue #413) | Comments fetched from a queue, inbox, search, or `reddit.comment(id)` do not include replies | 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

1. Search by time window: `reddit.posts.search` with `keyword`, `sort` (`relevance`, `new`, `top`), `time_range` (`hour`, `day`, `week`, `month`, `year`, `all`), and `after` cursor—running `time_range=day` daily avoids the 1,000-post ceiling.
2. Subreddit listings: `reddit.subreddit_posts.list` with `subreddit_name`.
3. Comments & replies directly: `reddit.comments.list` (post `id`, `sort`, `after`) and `reddit.comment_replies.list` (post `id`, reply `cursor`) 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

- [Reddit post search API](https://xtikapi.com/apis/reddit/posts/search) ($0.002 a call): Search Reddit posts by keyword.
- [Reddit subreddit posts API](https://xtikapi.com/apis/reddit/subreddit_posts/list) ($0.002 a call): Posts in a subreddit: hot, new or top.
- [Reddit comments API](https://xtikapi.com/apis/reddit/comments/list) ($0.002 a call): Comments on a Reddit post.
- [Reddit comment replies API](https://xtikapi.com/apis/reddit/comment_replies/list) ($0.002 a call): Replies under one Reddit comment.
- [Reddit post details API](https://xtikapi.com/apis/reddit/posts/detail) ($0.002 a call): One Reddit post by ID.

## More about Reddit

- [Reddit API](https://xtikapi.com/apis/reddit)
- [Why do Reddit .json URLs return 403 Forbidden from my server?](https://xtikapi.com/answers/reddit-json-endpoint-403-forbidden)
- [Pushshift is moderator-only now: what can I use for Reddit data?](https://xtikapi.com/answers/pushshift-alternative-reddit)
- [What does the Reddit API cost, and how else can I read Reddit data?](https://xtikapi.com/answers/reddit-api-pricing-alternative)
- [How do I pull Reddit posts into n8n now that Reddit requires API approval?](https://xtikapi.com/answers/n8n-reddit-posts)

## Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-25.

- [PRAW issue #2023 (Fetch rate limit with ThreadPoolExecutor)](https://github.com/praw-dev/praw/issues/2023)
- [PRAW issue #614 (search pagination past 1,000 items)](https://github.com/praw-dev/praw/issues/614)
- [PRAW issue #413 (Comment.replies always empty)](https://github.com/praw-dev/praw/issues/413)
- [PRAW docs: Ratelimits & Comment Extraction](https://praw.readthedocs.io/en/stable/getting_started/ratelimits.html)

## 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.

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/praw-reddit-limits-and-errors) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
