Reddit Thread Scraper avatar

Reddit Thread Scraper

Pricing

Pay per usage

Go to Apify Store
Reddit Thread Scraper

Reddit Thread Scraper

Extract posts and comments from any subreddit via Reddit's public JSON API. Filter by sort order (hot, new, top, rising), time range, and optionally include full comment threads. Perfect for AI training data, sentiment analysis, and market research.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Sheshinmcfly

Sheshinmcfly

Maintained by Community

Actor stats

1

Bookmarked

4

Total users

3

Monthly active users

a day ago

Last modified

Share

Extract posts and comments from any subreddit — real-time via Reddit's Atom feeds or top-all-time via the PullPush archive. No authentication, no API key, no residential proxies required.

Perfect for AI training datasets, sentiment analysis, market research, and trend monitoring.


What data does it extract?

Posts

FieldDescriptionExample
typeRecord type"post"
idReddit post ID"1sa4rlx"
subredditSubreddit name"MachineLearning"
titlePost title"New paper on LLM reasoning"
authorUsername"researcher123"
scoreUpvotes - downvotes (top mode)1420
numCommentsTotal comment count (top mode)83
selftextPost body text"We propose a new..."
urlLink URL"https://arxiv.org/..."
permalinkReddit post URL"https://reddit.com/r/..."
flairPost flair label (top mode)"Research"
createdAtPost creation/update time"2026-04-21T10:00:00Z"
extractedAtExtraction timestamp"2026-04-21T12:00:00Z"

Comments (top mode only)

FieldDescriptionExample
typeRecord type"comment"
idComment ID"abc123"
postIdParent post ID"1sa4rlx"
authorUsername"user456"
bodyComment text"Great work, but..."
scoreUpvotes - downvotes342
depthNesting level (0 = top-level)0
permalinkDirect link to comment"https://reddit.com/..."
createdAtComment creation time"2026-04-21T10:05:00Z"

Use cases

  • AI training data: Clean text from expert communities for LLM fine-tuning
  • Sentiment analysis: Monitor brand mentions and user opinions in real time
  • Market research: Track trends and discussions in niche communities
  • Competitive intelligence: See what problems users are discussing
  • RAG pipelines: Feed domain-specific knowledge into retrieval systems
  • Content research: Find all-time top-performing posts for content strategy

How to use

  1. Open the actor and configure:
    • Subreddits: List subreddit names (e.g. MachineLearning, investing, Python)
    • Sort: top (default) → best posts with real score, upvote ratio and comment counts. hot/new/rising → real-time posts via RSS, but without engagement metrics (score and comment counts are 0 — a Reddit limitation for non-authenticated access)
    • Max posts: Cap per subreddit (max 25 for RSS modes)
    • Include comments: Fetch top comments per post (available in top mode)
  2. Click Start
  3. Download results as JSON, CSV, or Excel

Agent-ready via x402: AI agents can run this actor directly with USDC on Base — no Apify account needed. See x402 protocol docs.


Input parameters

ParameterTypeDefaultDescription
subredditsstring[]["MachineLearning"]Subreddit names to scrape (without the r/ prefix)
sortstring"top"top = archive by score (real metrics); hot/new/rising = real-time RSS (score & comment counts are 0)
timeFilterstring"week"Time range for top sort: hour, day, week, month, year, all
maxPostsPerSubredditinteger25Max posts to extract per subreddit
includeCommentsbooleantrueAlso extract top comments (only in top mode)
maxCommentsPerPostinteger10Max top-level comments per post

Example output (JSON)

[
{
"type": "post",
"id": "1sa4rlx",
"subreddit": "MachineLearning",
"title": "[D] New method achieves SOTA on reasoning benchmarks",
"author": "ml_researcher",
"score": 1420,
"upvoteRatio": 0.97,
"numComments": 83,
"selftext": "We introduce a novel approach...",
"url": "https://arxiv.org/abs/2504.12345",
"permalink": "https://www.reddit.com/r/MachineLearning/comments/1sa4rlx/",
"flair": "Research",
"createdAt": "2026-04-21T10:00:00.000Z",
"extractedAt": "2026-04-21T12:00:00.000Z"
},
{
"type": "comment",
"id": "kxyz789",
"postId": "1sa4rlx",
"subreddit": "MachineLearning",
"author": "deep_learner",
"body": "Impressive results. Did you test on out-of-distribution benchmarks?",
"score": 342,
"depth": 0,
"permalink": "https://www.reddit.com/r/MachineLearning/comments/1sa4rlx/comment/kxyz789/",
"createdAt": "2026-04-21T10:05:00.000Z",
"extractedAt": "2026-04-21T12:00:00.000Z"
}
]

Performance

ModeData sourceFreshnessCommentsMax posts/sub
hot / new / risingReddit RSS AtomReal-timeNo25
topPullPush archiveHistorical (all-time best)Yes500

Note: The top mode uses the PullPush public archive, which indexes Reddit's historical content. Posts returned are ranked by all-time score — ideal for AI training and research. The hot/new/rising modes fetch live data from Reddit's public RSS feeds.


Pricing

This actor charges $0.002 USD per item extracted (posts and comments each count as one item). Extracting 100 posts with 10 comments each = 1,100 items ≈ $2.20 USD.



FAQ

Do I need a Reddit account or API key? No. This actor uses Reddit's public RSS feeds and the PullPush public archive — no login, API key, or credentials required.

What's the difference between hot/new and top? hot, new, and rising fetch live posts from Reddit's RSS feeds (data from today, up to 25 posts per subreddit). top fetches all-time highest-scored posts from the PullPush historical archive (with comments, up to 500 posts per subreddit).

Why doesn't top return posts from this week? top mode uses the PullPush archive, which indexes historical Reddit content. For recent posts, use hot or new.

Can I scrape private or NSFW subreddits? No. This actor only accesses publicly available posts visible to anonymous visitors. Private, quarantined, and restricted subreddits are not accessible.

What export formats are available? JSON, CSV, and Excel — download from the run's dataset or pull via the Apify API.


Keywords

reddit scraper, subreddit posts extractor, reddit comments scraper, reddit data for AI, reddit sentiment analysis, reddit thread extractor, social media scraper, reddit RSS scraper, NLP training data, reddit market research


This actor extracts publicly available data only from Reddit and the PullPush public archive, in compliance with Chilean Law 19.628 on the Protection of Private Life (Ley 19.628 sobre Protección de la Vida Privada).

What this actor does NOT collect:

  • Private messages or non-public posts
  • Email addresses or personal contact information
  • Data from private or restricted subreddits
  • Any data not freely visible to anonymous visitors

What this actor collects:

  • Post titles, body text, and metadata (public content)
  • Publicly visible usernames and comment text
  • Engagement metrics (score, upvotes, comment counts)

All data is publicly accessible without authentication. Users are solely responsible for ensuring their use of this data complies with applicable laws and Reddit's terms of service.


Changelog

  • v1.1 (2026-07-01) — Switched data sources: RSS Atom feeds for real-time hot/new/rising posts; PullPush archive for top mode with full comment support. No authentication, no proxies required — higher reliability at lower cost.
  • v1.0 — Initial release using Reddit's official JSON API.