Reddit Comments Scraper: Full Thread to JSON or CSV
By Datapika · Tested
Actor: Reddit Scraper (openclawai/reddit-scraper on Apify)
Collects posts and attaches each post's comment tree: every comment's author, body, score, depth, parent id and date, so the thread can be rebuilt. Paste any post or subreddit link in startUrls.
Run on Apify opens the actor. Paste the copied input into its JSON tab and press Start.
- Tested on
- November 23, 2026
- Rows in the test
- 5
- Run time
- 16 s
- Test cost
- $0.13 (free plan)
Input
The exact input of the tested run.
- ≡startUrlshttps://www.reddit.com/r/Python/top/?t=month
- ◐includeCommentstrue
- #maxCommentsPerPost200
- #maxItems5
Output fields
Columns every row carries in this view.
- AaTitletitle
- AaSubredditsubreddit
- AaAuthorauthor
- #Scorescore
- #Upvote %upvoteRatio
- #CommentsnumComments
- AaFlairflair
- AaPostedcreatedAt
- AaLinkurl
Sample results
The first rows of the test run on November 23, 2026. Emails and phone numbers are masked. JSON · CSV
| Title | Subreddit | Author | Score | Upvote % | Comments | Flair | Posted |
|---|---|---|---|---|---|---|---|
| Tim Peters has passed away | Python | ExoticMandibles | 2,516 | 0.99 | 77 | News | 2026-11-11T02:33:08Z |
| microsoft agent-framework on PyPI was compromised twice in 33 minutes last night | Python | BattleRemote3157 | 452 | 0.98 | 57 | News | 2026-11-18T03:28:24Z |
| Microsoft's PyPI package got compromised without a GitHub code change. How is this even po… | Python | enterthearena44 | 249 | 0.93 | 54 | Discussion | 2026-11-19T03:43:29Z |
| Python 3.15.2, 3.14.10, 3.13.18, 3.12.16 and 3.11.18 are out | Python | japaget | 233 | 0.96 | 33 | News | 2026-10-26T23:34:42Z |
| PEP 851 – Add list.discard() | Python | kirara0048 | 216 | 0.97 | 56 | News | 2026-10-30T08:05:21Z |
How it works
01
Open the actor on Apify
Click Copy input, then Run on Apify to open the Reddit Scraper. Sign in or create a free account, open the JSON tab of the input form and paste the input.
02
Start the "Reddit Comments Scraper: Full Thread to JSON or CSV" task
Press Start. Change any input field first if you need a different topic, account or size; the fields are listed above.
03
Get the results
Rows arrive in a dataset while the run works. Our test returned 5 rows in 16 seconds.
04
Use the data
Download JSON, CSV or Excel, call the run from the API, schedule it, or let an AI agent run it through MCP.
Run it from your tools
Send the results to a spreadsheet or app with Apify's integrations, call it from code, or let an AI agent run it.
No code
- Zapier
- Make
- n8n
- GSGoogle Sheets
- SSlack
- WWebhook
AI agents (MCP)
- Claude
- ChatGPT
- Cursor
- Gemini
- Perplexity
- LangChain
- MCP
- GitHub Copilot
{
"startUrls": [
"https://www.reddit.com/r/Python/top/?t=month"
],
"includeComments": true,
"maxCommentsPerPost": 200,
"maxItems": 5
}Paste it into the actor's JSON input tab on Apify.
Change it to fit your job
- startUrls takes any reddit.com link: a subreddit, a post, a user or a search page.
- includeComments attaches each post's comment thread; maxCommentsPerPost caps it.
- maxCommentsPerPost sets how many comments come with each post.
- Raise maxItems for a bigger dataset; you pay per result delivered.
Close variants: WallStreetBets Tracker: Top Posts and Comments · r/ClaudeAI Top Posts and Comments This Week · r/ChatGPT Top Posts and Comments This Week
FAQ
How many comments do I get per post?
Set maxCommentsPerPost. Small threads come back complete; very big threads return about 120 to 220 comments per post, the top of the tree first.
Can I paste a single post link?
Yes. Put any reddit.com post URL in startUrls and turn on includeComments to export that one thread.
Do I need a Reddit account or API key?
No. It reads public Reddit data anonymously, with no login, cookie, app registration or API key.
How much does it cost?
You pay per result delivered to your dataset: posts, comments, users or communities. There is no start fee. The current prices are on the Pricing tab.
Data comes from public pages at run time; the sample above is one test run and results change with every run. The input JSON on this page is the exact input we tested: see Input above.