Go to example tasks

Example: a Reddit post with its first 50 comments

Runs the Reddit Comments Scraper on one post and returns the post with the first 50 comments of its thread as JSON.

Try for free
Reddit Comments Scraper: Full Threads, $2/1K Comments
Reddit Comments Scraper: Full Threads, $2/1K Commentsactorforgehq/reddit-comments-scraper
Row type
ID
Post ID
Depth
+8 fields
Text
Number
Boolean
List
Object

Input

Post URLs:https://www.reddit.com/r/learnpython/comments/1rahj9l/what_is_the_most_complex_thing_you_have_ever_coded/
Max comments per post:50
Comment sort:best
Include the post itself:true
Comments after (ISO date):2026-01-01
Comments before (ISO date):2026-06-01
Include NSFW:false
Post links (alternative field)
url:https://www.reddit.com/r/learnpython/comments/1rahj9l/what_is_the_most_complex_thing_you_have_ever_coded/
Proxy configuration:{2 fields}

Output fields

Row type
ID
Post ID
Depth
Parent ID
Author
Score
Body
Title
Created (UTC, ISO)
Permalink
Subreddit

How it works

Sign up on Apify or log in

The Reddit Comments Scraper: Full Threads, $2/1K Comments Actor is ready to run with the inputs already set for "Example: a Reddit post with its first 50 comments". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Example: a Reddit post with its first 50 comments" task

The Reddit Comments Scraper: Full Threads, $2/1K Comments Actor will start running based on the input automatically. You can also change all the input fields, like post urls, max comments per post, and more, to match your specific use case.

Receive the "Example: a Reddit post with its first 50 comments" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as row type, ID, post id, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Example: a Reddit post with its first 50 comments" task via API.

Image

Integrate "Example: a Reddit post with its first 50 comments" into your workflow

Connect "Example: a Reddit post with its first 50 comments" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The Reddit comments example task returns one Reddit post and the first 50 comments of its thread, as set by maxComments 50. The post row is extra and does not count toward maxComments.

The Reddit comments example task returns comment rows with id, postId, subreddit, author, score, body, createdUtc, permalink, depth and parentId. Deleted authors appear as [deleted]. A hidden score is left absent.

In the Reddit comments example task, paste other post links in postUrls and raise maxComments. The default is 1,000 and the hard cap is 10,000 per post. sort decides which comments you get under a limit.

In the Reddit comments example task, depth is 0 for a top-level comment. parentId is t3_ plus the post id for top-level comments and t1_ plus the comment id for replies. Replies always come after their parent.

The Reddit comments example task cannot return comments deleted by authors or removed by moderators and spam filters. Reddit's counter includes them, but Reddit serves them to no one, so rows can be fewer.

The Reddit comments example task loads replies branch by branch, at most 20 requests per minute, so large limits take longer: raise the run timeout for big jobs. Call it through the Apify API, or let AI agents use the Apify MCP server.

The Reddit comments example task needs no Reddit account or API key. The Actor reads public pages as a logged-out visitor. An NSFW post is skipped with its comments unless includeNSFW is true.