Reddit Comments Scraper | Full Threads with Replies
Pricing
from $1.28 / 1,000 comments
Reddit Comments Scraper | Full Threads with Replies
Get Reddit comments and replies as flat rows: comment text, author, score, date, depth and parent id to rebuild threads, plus post title, subreddit and search term. Post URLs and keyword search in one run, comment sort, reply-depth limit, no login.
Pricing
from $1.28 / 1,000 comments
Rating
0.0
(0)
Developer
Flowo
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share

Get every comment and reply of Reddit posts as a flat table: comment text, author, score, publish date, reply depth and the parent comment's id, so you can rebuild the whole thread. Each row also carries the post context — post title, subreddit, post score and comment count — and, for posts found by Reddit search, the search term that found them.
What does Reddit Comments Scraper do?
You give it Reddit post URLs, search terms, or both in one run. It opens each post, expands the "more comments" and "more replies" links until the thread ends or your limit is reached, and saves one row per comment or reply. Posts themselves are not rows; their details are repeated on every comment row. It is built for brand and market researchers, data and ML teams collecting conversation datasets, community managers following AMAs and launch threads, and AI agents that need "the discussion under this post".
How to scrape Reddit comments

- Open the actor in Apify Console.
- Paste one or more post URLs into Post URLs (e.g.
https://www.reddit.com/r/programming/comments/1xojg3s/), and/or type keywords into Search terms. - Optionally pick a Comment order (Best, Top, New, Controversial, Old or Q&A), a Max comments per post and a Max reply depth.
- Keep the default residential US proxy and click Start.
- Download the comments as JSON, CSV or Excel, or read them through the API.
How much does it cost to scrape Reddit comments?
Price per event by Apify plan:
| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Comment | $1.50 per 1,000 | $1.425 per 1,000 | $1.35 per 1,000 | $1.275 per 1,000 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |
A test run with the API example input below returned 204 rows in 94 s.
You pay $0.0015 per saved comment row (a top-level comment or a reply), that is $1.50 per 1,000 comments on the Free plan, plus Apify's start event of $0.00005 per GB of memory once per run (the actor runs with 256 MB).
Not charged: post pages, search result pages, deleted comments skipped with Include deleted comments off, and failed requests. A post that is not found gives 0 rows and costs nothing.
| Scenario | Comment rows | Cost (Free plan, start included) |
|---|---|---|
Top 50 top-level comments of 10 posts (maxDepth: 0) | 500 | ≈ $0.75 |
| Full threads of 2 posts, default 500 per post | up to 1,000 | up to ≈ $1.50 |
| 10 top posts of the past month for one search term, up to 200 comments each | up to 2,000 | up to ≈ $3.00 |
Deep crawl of one big AMA, maxCommentsPerPost: 5000 | up to 5,000 | up to ≈ $7.50 |
Use Max comments in total (maxItems) or a charge limit on the run to cap the bill exactly.
Input

Give Post URLs, Search terms or both; an empty input stops with an input error.
| Field | What it does |
|---|---|
startUrls | Reddit post URLs. Accepted: https://www.reddit.com/r/<sub>/comments/<id>/<slug>/, /r/<sub>/comments/<id>/, https://redd.it/<id>, a comment permalink (the whole thread of the post is scraped), share links /r/<sub>/s/<code>, and via API a bare id 1xojg3s or t3_1xojg3s. Hosts old., new., np. and m.reddit.com work too. Subreddit, user, search and non-Reddit URLs are skipped with a warning. |
queries | Keywords to search Reddit posts for. Every row carries the term in query. |
maxPostsPerQuery | Posts per search term, 1–100 (default 5). Reddit shows 7 posts per results page; the next pages load as needed. |
searchSort | relevance (default), new, top, comments (most comments), hot. |
searchTime | all (default), year, month, week, day, hour. Works only with relevance, top and comments; with new or hot it is dropped with a warning. |
commentSort | confidence (Best, default), top, new, controversial, old, qa. With a comment limit it decides which comments you get. |
maxCommentsPerPost | Comment rows per post, 1–20,000 (default 500). |
maxDepth | Deepest reply level, 0–50: 0 = top-level comments only, 1 = plus direct replies, and so on. Empty = all levels. |
includeDeleted | Keep rows of deleted or removed comments (default on). When off, they are skipped but their replies are still saved. |
maxItems | Comment rows in the whole run. Works together with maxCommentsPerPost. |
proxyConfiguration | Residential US by default. Other settings are accepted with a warning. |
maxPostsPerQuery, searchSort and searchTime only apply to search terms.
Example input:
{"startUrls": [{ "url": "https://www.reddit.com/r/programming/comments/1xojg3s/" }],"queries": ["mechanical keyboard"],"maxPostsPerQuery": 10,"searchSort": "top","searchTime": "month","commentSort": "top","maxCommentsPerPost": 200,"maxDepth": 1}
What data can you extract from Reddit comments?

| Field | Description |
|---|---|
id | Comment id (t1_…) |
url | Comment permalink |
parentId | Parent comment id (t1_…) for a reply, the post id (t3_…) for a top-level comment |
depth | Reply level, 0 = top-level |
author | Comment author's username; [deleted] for deleted comments |
authorUrl | Author's profile URL; null for deleted authors |
text | Plain text of the comment; null for deleted and GIF-only comments |
score | Comment score as Reddit shows it; null when hidden or deleted |
awardCount | Number of awards |
publishedAt | When the comment was posted (ISO 8601, UTC) |
isSubmitter | True when the commenter is the post's author (OP) |
isDeleted | True for deleted or removed comments |
isCollapsed | True when Reddit collapses the comment by default |
contentType | Content kind as Reddit labels it, e.g. text or giphy |
postId, postTitle, postUrl | The post the comment belongs to |
postLinkUrl | Link target of a link or image post; null for text posts |
postType | Post kind, e.g. text, link, image, video |
subreddit | Subreddit name without r/ |
postAuthor, postScore, postUpvoteRatio, postCommentCount, postPublishedAt | Post author, score, upvote ratio (0–1), comment count shown by Reddit and publish time |
language | Post language detected by Reddit |
query | Search term that found the post; null for posts given by URL |
scrapedAt | When the row was extracted |
Real example row (text shortened):
{"id": "t1_19s6o6quemner","url": "https://www.reddit.com/r/programming/comments/1xojg3s/comment/19s6o6quemner/","parentId": "t1_19s6n1sc3572c","depth": 1,"author": "happyscrappy","authorUrl": "https://www.reddit.com/user/happyscrappy/","text": "I'm with you. NULL returns seemed like the right way to go. …","score": 53,"awardCount": 0,"publishedAt": "2026-11-05T16:09:53.343Z","isSubmitter": false,"isDeleted": false,"isCollapsed": false,"contentType": "text","postId": "t3_1xojg3s","postTitle": "openssh on musl linux has been letting people into password-less accounts since 2016","postUrl": "https://www.reddit.com/r/programming/comments/1xojg3s/openssh_on_musl_linux_has_been_letting_people/","postLinkUrl": "https://sshhole.com/","postType": "link","subreddit": "programming","postAuthor": "ThisMachineIs4","postScore": 697,"postUpvoteRatio": 0.9555555555555556,"postCommentCount": 97,"postPublishedAt": "2026-11-05T14:04:10.276Z","language": "en","query": null,"scrapedAt": "2026-11-08T22:36:34.648Z"}
The dataset has two views: Overview (post, subreddit, author, comment, score, depth, OP flag, date, URL, search term) and Threads (post id, comment id, parent id, depth, author, comment, score, deleted, URL).
Use cases
- Full threads of known posts — export every comment and reply of a launch post or news thread with its parent and depth.
- What Reddit says about a topic — search "mechanical keyboard", take the top posts of the past month and read their threads, each row tagged with the term.
- Top opinions only —
commentSort: "top",maxDepth: 0andmaxCommentsPerPost: 50give the most upvoted top-level comments per post, fast and cheap. - Brand monitoring — search your brand terms sorted by
newand cap the run withmaxItems. - AMA and conversation datasets — crawl a big AMA with
commentSort: "qa"and build question-answer pairs fromparentId.
Limitations
- Residential proxy is needed. Reddit blocks most datacenter IPs; the actor re-warms blocked sessions automatically, but other proxy settings fail more often.
- Threads are never 100% complete.
postCommentCountincludes removed comments, so the saved count is usually a bit lower (e.g. 52 of 53). - Big threads take time. Reddit serves about 10–50 comments per request; a 5,000-comment thread takes roughly 5–10 minutes.
- No single-comment subtrees. A comment permalink scrapes the whole thread of its post.
- Not found, removed or private posts give 0 rows with a warning; share links (
/s/<code>) and NSFW or quarantined threads were not tested. text,score,authorUrlandcontentTypeare null for deleted comments;textis also null for GIF-only comments. Post fields such aspostScoreorlanguagecan be null.- No comment author id or edited flag. Reddit's page layout can change without notice.
Tips and troubleshooting
- 0 rows? Check that the URLs are post URLs (
/comments/<id>/orredd.it/<id>) — subreddit and user pages are skipped — and read the run log: it names every skipped post and empty search. - Fewer comments than expected? Raise
maxCommentsPerPost(default 500) and removemaxDepth. The log showsPost <id>: N of M comments in R requestsfor each post. - Search returns nothing with a short period?
searchTime: "hour"often finds no posts; usedayorweek.searchTimeis ignored withsearchSortneworhot. - Odd search results? Reddit returns loosely related posts even for rare terms; filter rows by
queryandpostTitle. - Want the latest discussion? Use
searchSort: "new"withcommentSort: "new". - The same post found by several URLs or terms is scraped once; comment ids never repeat in a run.
API, MCP and integrations
Run the actor from your code with the same JSON input as in Console. Your API token is in Console → Settings → API & Integrations.
Python (pip install apify-client):
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("genial_candlestand/reddit-comments-scraper").call(run_input={"startUrls": [{"url": "https://www.reddit.com/r/programming/comments/1xojg3s/"}],"queries": ["mechanical keyboard"],"maxPostsPerQuery": 2,"maxCommentsPerPost": 100,})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Node.js (npm install apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('genial_candlestand/reddit-comments-scraper').call({"startUrls": [{"url": "https://www.reddit.com/r/programming/comments/1xojg3s/"}],"queries": ["mechanical keyboard"],"maxPostsPerQuery": 2,"maxCommentsPerPost": 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
HTTP — one request runs the actor and returns the results (runs up to 5 minutes; longer ones: run asynchronously):
curl -X POST "https://api.apify.com/v2/acts/genial_candlestand~reddit-comments-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"startUrls":[{"url":"https://www.reddit.com/r/programming/comments/1xojg3s/"}],"queries":["mechanical keyboard"],"maxPostsPerQuery":2,"maxCommentsPerPost":100}'
AI agents (MCP). Add the actor as a tool of the Apify MCP server. Claude Code:
$claude mcp add --transport http apify "https://mcp.apify.com?tools=genial_candlestand/reddit-comments-scraper"
Claude Desktop, Cursor or VS Code: {"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=genial_candlestand/reddit-comments-scraper"}}}. Then ask, for example:
- "Get all comments and replies of https://www.reddit.com/r/programming/comments/1xojg3s/"
- "What does Reddit say about mechanical keyboard? Scrape comments of the 10 top posts of the past month"
- "Get the 50 most upvoted top-level comments of the r/IAmA post z1c9z"
Integrations. Run it on a schedule with Apify Schedules and send the results to Google Sheets, Slack, Zapier, Make, n8n or your webhook — see Apify integrations.
FAQ
Can I scrape post URLs and search terms in the same run?
Yes. URLs are processed first, then the search terms; rows from search carry the term in query, URL rows have query null.
How do I rebuild the comment tree?
Every row has parentId and depth. Top-level comments have depth 0 and parentId equal to postId; replies point to their parent comment's id.
Do I need a Reddit account or API key?
No. The actor reads public pages without login, cookies or API key.
How is it different from other Reddit comment actors?
It outputs only comment rows, with the post fields on every row, takes post URLs and search terms together, has a reply-depth limit (maxDepth) and a query field per row, and posts and search pages are free: you pay $1.50 per 1,000 comments, against $4 per 1,000 results for the most used Reddit scraper.
Is it legal to scrape Reddit comments?
The actor collects only publicly visible data, without login. Comments contain usernames, which are personal data in many jurisdictions; you are responsible for how you use the data and for following Reddit's terms and laws such as GDPR. Consult a lawyer if unsure.
Also useful
- YouTube Comments Scraper — collect the same discussion on YouTube: comment text, likes, replies and authors per video
- Google Search Scraper — find the Reddit threads Google ranks for a keyword, then scrape their comments here
- Trustpilot Reviews Scraper — add customer reviews with ratings and company replies to your brand research
- Google Trends Scraper — check how interest in the topic you track on Reddit moves over time and by region
- Google News Scraper — pair Reddit reactions with the news articles on the same topic