Reddit Post Comments
Pricing
$0.005 / actor start
Reddit Post Comments
π¬ Reddit Post Comments | Every comment under a post, with the thread structure kept Paste a Reddit post id or URL and get each comment as a row β with depth and parentCommentId intact, so you can rebuild who replied to whom instead of a flat pile of text.
Pricing
$0.005 / actor start
Rating
0.0
(0)
Developer
wang wei
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
16 days ago
Last modified
Categories
Features
Share
π¬ Reddit Post Comments
Every comment under a Reddit post β flattened, but never scrambled:
depthandparentCommentIdsurvive.
β¨ What you get
One dataset row per comment:
| Field | What it is |
|---|---|
body | the comment text |
depth | 0 = top-level comment, 1 = a reply, and so on |
parentCommentId | the comment it replies to β rebuild the tree in one pivot |
author / authorId / isSubmitter | who wrote it, and whether it is the original poster |
score | upvotes, or null when Reddit does not report it |
isRemoved | flagged, not silently dropped β a removed comment still shows where a thread was moderated |
postId / postTitle / subreddit | which post the comment belongs to |
createdAt | timestamp |
Plus one thread_report per post: comments collected vs the thread's own reported count, top-level vs reply split, unique authors, removed count, median and total score.
The run summary adds a coverage note, top keywords and the highest-scoring comments.
πΌ Use cases
- Rebuilding a conversation as a tree for analysis β
depth(0 = top-level, 1 = a reply) andparentCommentIdsurvive on every row, so one pivot turns a flat export back into the real exchange. That is how you find the sub-thread where a claim was actually challenged instead of where it was asserted. - Measuring how much of a thread you actually got β each post gets a
thread_reportwith comments collected against the thread's own reported count, plus the top-level vs reply split, unique authors, removed count and median score. Run it before you quote a number about that discussion. - Telling an OP apart from the crowd β
isSubmittermarks the original poster, so you can pull the seller's own replies (warranty claims, "which model is this?") out of the noise and read how the brand handled objections. - Deciding whether a thread is worth mining at all β with
sortBy: confidenceyou get Reddit's own ranking instead of the upvote sort, which surfaces the replies people found useful rather than the ones that won an argument. Useful when you want a fair read before you build a vocabulary or a FAQ from the thread.
β Who this is for
- User researchers who need the actual exchange under a launch or complaint thread, not a summary of it, and who need to know which replies changed the OP's mind.
- Community managers preparing an AMA or a support macro pack, who need to see how moderators treated the thread β
isRemovedmarks every moderated comment instead of quietly dropping it. - Content and SEO teams mining one thread for the vocabulary real users use, who need
depthto separate an original observation from a reply that only exists because someone disagreed. - Analysts auditing a discussion who must state their coverage honestly and can cite the thread report's collected-vs-reported gap in the writeup.
β Who this is NOT for
- Whole-thread extraction β you get the first page of the comment forest only. Deeper pages need an authenticated Reddit session, which this Actor does not use. When the
thread_reportshows 300 comments reported and 100 collected, the missing 200 are not an error you can configure away. - Anyone averaging the
scorecolumn β a null score is kept as null and never coerced to 0, because Reddit frequently omits it, especially deep inside nested reply forests. Average over the rows that have scores or your numbers will be silently wrong; a null means unknown, not zero. - Reading
sortBy: scoreas "the best comments" β sorting by score and bytopare close but not identical, and Reddit'sconfidenceranking is its own algorithm. The same thread yields a different set of top comments under each, so do not compare counts across runs that used different sorts. - Sentiment or complaint mining at scale β a single post's comment forest is not a sample of the product's reception, and Reddit is not a review platform: it captures pre-purchase doubts and arguments, not post-purchase ratings. One viral thread can be entirely one-sided argument about an unrelated issue.
- Bulk subreddit research β this needs specific
t3_β¦post ids. To discover which posts exist in a community first, run the subreddit posts Actor and chain itspostIdvalues in here.
π Quick start
- Open the Actor and press Start (defaults to one r/ProductManagement thread).
- The post id is the
t3_β¦part of a Reddit URL β paste either the id or the whole URL. - Pivot on
depthandparentCommentIdto rebuild the conversation.
π₯ Input parameters
| Parameter | Type | Default | What it does |
|---|---|---|---|
postIds | list | one public thread | Post ids (t3_β¦) or full post URLs, one per line, up to 50 per run. |
sortBy | select | top | top (most upvoted), confidence (Reddit's own pick), new, hot, controversial, old. |
maxCommentsPerPost | number | 100 | Cap on collected comments per post (1β500). Cost scales linearly with posts. |
π€ Output
- Dataset β comment rows + one
thread_reportper post (or a notice when nothing was collected) - SUMMARY β thread stats, coverage note, top keywords, most-upvoted comments, warnings
βοΈ How it works
- Each input is reduced to a
t3_β¦post id (full URLs and/comments/<id>/paths both work). - The comment forest is walked recursively, so nested replies are included and tagged with their depth and parent.
- Reddit reports a total comment count per thread but does not hand out a usable cursor on this leg, so the summary states the gap instead of implying full coverage.
π° Billing
Billed per run. A single apify-actor-start charge applies when the run begins, at the price shown on this Actor's page. A run that returns 300 rows costs the same as one that returns 3. There is no daily run cap.
Free plan limit. One run collects 5 posts over 2 pages, 100 comments each. That is a hard ceiling on the upstream cost, so it cannot be raised from the input form. A capped run still succeeds: it writes a notice row to the dataset, sets appliedLimits.capped: true in SUMMARY, and logs why. Any paid Apify plan lifts the cap to 50 posts over 4 pages.
β FAQ
Do I get the whole thread? You get the first page of the comment forest β the reported total is in the thread report so you can see the gap. Deeper pages need an authenticated Reddit session, which this Actor does not use.
Why is score sometimes null?
Reddit omits the score for some comments (and inside nested reply forests it is often absent). A null score is kept as null, never turned into 0, so your averages stay honest.
Why are removed comments included?
Because knowing a thread was moderated is data. Filter on isRemoved when you only want readable comments.
Can I get the post itself (title, votes, subreddit)? The title and subreddit ride along on every comment row, and the thread report repeats them per post.
Does the order of rows matter?
It follows the sort you asked for. Sorting by score and by top are close but not identical β Reddit's "confidence" ranking is its own algorithm.
π Resources
- Reddit public comment data (no login required)
- Apify free plan: monthly credit covers usage, no separate daily cap
