Reddit Comments Scraper - Threads & Nested Replies by URL
Pricing
$1.00 / 1,000 comments
Reddit Comments Scraper - Threads & Nested Replies by URL
Scrape every comment of Reddit posts by URL, nested replies included (also the ones Reddit folds behind "more replies"): text, author, score, date, link, depth and parent ID, so the thread can be rebuilt. Up to 500 per post. No login or API key.
Pricing
$1.00 / 1,000 comments
Rating
0.0
(0)
Developer
Renzo Madueno
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
20 hours ago
Last modified
Categories
Features
Share
Reddit Comments Scraper
Paste links to Reddit posts and get every comment the thread shows as one row each: text, author, score, date, a link to the comment, and where it sits in the conversation (depth and parentId). No Reddit account, no API key, no login.
What you give it
| Field | What it does |
|---|---|
postUrls | Links to Reddit posts. www.reddit.com, old.reddit.com and links with tracking parameters all work. A link to a single comment is read as its whole thread. |
maxCommentsPerPost | Upper limit per post, 1 to 500. Default 100. |
{"postUrls": ["https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/"],"maxCommentsPerPost": 200}
urls and startUrls are accepted as other names for postUrls, and each of them can be a list, a block of text with one link per line, or a list of { "url": "..." } objects.
What you get
One row per comment.
| Field | Type | Meaning |
|---|---|---|
dataType | string | Always comment |
redditId | string | Reddit's ID of the comment |
postTitle | string | Title of the post the comment belongs to |
postUrl | string | Link to the post |
subreddit | string | Community the post is in |
author | string | Username, or [deleted] |
body | string | Comment text, up to 5,000 characters |
score | integer or null | Net upvotes. null when Reddit hides it or the comment is deleted |
depth | integer | 0 for a top-level comment, 1 for a reply to it, and so on |
parentId | string | redditId of the comment this one answers. Empty for top-level comments |
url | string | Link to the comment itself |
createdUtc | string | When it was posted, UTC |
scrapedAt | string | When this row was collected |
A few more columns (upvoteRatio, commentCount, flair, domain, isStickied, postType) are present and empty on comment rows. They exist so the output has the same columns as Reddit Scraper and both datasets can be merged without mapping.
Example row:
{"dataType": "comment","redditId": "t1_c60o0iw","postTitle": "I am Barack Obama, President of the United States -- AMA","author": "example_user","subreddit": "IAmA","score": 2816,"body": "What is the first thing you'll do on November 7th, win or lose?","url": "https://www.reddit.com/r/IAmA/comments/z1c9z/comment/c60o0iw/","postUrl": "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states","createdUtc": "2012-08-29T20:35:07.000Z","parentId": "","depth": 0}
The values above illustrate the shape; a run returns what the thread holds at that moment.
Rebuilding the conversation
Rows arrive in thread order: a top-level comment, then the replies shown under it, then the next top-level comment. To rebuild the tree, group by parentId. To keep only the first level, filter depth = 0. To find the comments that started the longest exchanges, count rows per parentId.
Limits, stated plainly
- Up to 500 comments per post. Comments are read in the order the thread shows them with the best first, so on a very large thread you get the most upvoted part of it, not all of it.
- Folded replies are opened. Where Reddit shows "3 more replies", the Actor opens them and puts each reply under the comment it answers. Deleted and removed comments are not returned, so the total can be below the number Reddit shows on the post (Reddit counts those too).
- A post can come back empty. If Reddit does not serve the thread of a post on that try, the run saves nothing for it, charges nothing for it, and names the post in the log and the status message.
- Private, quarantined and removed posts return nothing. The run's status message lists every link that gave no comments and why.
Price
Pay per comment delivered, with no fee per post and no start fee. A link that returns no comments costs nothing, and a run that delivers no comment at all ends as failed instead of looking like a success. You can set a maximum cost per run in the run options: the run stops when it is reached. The current amount is on the Pricing tab.
Posts, subreddits and search
This Actor does one thing: comments of the posts you name. To collect posts from a subreddit, search Reddit by keyword, or get posts together with their comments, use Reddit Scraper. The comment rows are the same in both.
Questions
Does it need my Reddit login? No. It reads public threads only.
Can I run it on a schedule? Yes. Save the input as a task and schedule it; each run returns the thread as it is at that time, so new comments show up in the next run.
The same link twice? Duplicate links in the input are read once.
A link was skipped. Text that is not a link to a post (a subreddit link, a user profile) is skipped and listed in the run's status message.