Reddit Thread Scraper avatar

Reddit Thread Scraper

Pricing

from $0.50 / 1,000 results

Go to Apify Store
Reddit Thread Scraper

Reddit Thread Scraper

Extract Reddit posts and comment threads by subreddit, keyword search or user, ranked by Reddit itself: Top by hour, day, week, month, year or all time, or Hot, New and Rising. Full post text, links and flair in clean JSON for AI data, sentiment and research.

Pricing

from $0.50 / 1,000 results

Rating

0.0

(0)

Developer

Sheshinmcfly

Sheshinmcfly

Maintained by Community

Actor stats

1

Bookmarked

12

Total users

2

Monthly active users

10 days ago

Last modified

Features

Limited permissions

Share

Extract posts and comments from any subreddit — titles, body text, authors, timestamps, permalinks and comment text. No Reddit account, no API key, nothing to set up. Vote counts are not currently available; see Performance below.

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"
scoreAs recorded when the post was archived — not its current score1
numCommentsAs recorded when the post was archived — not its current count1
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, keyword search and user mode)

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

How to use

  1. Open the actor and configure:
    • Subreddits: List subreddit names (e.g. MachineLearning, investing, Python)
    • Sort: top (default) → the most popular posts of the period you choose, with comment text. hot/new/rising → posts the way Reddit lists them right now, without comments. Vote counts are not live — see Performance
    • Time range (top): past hour, day, week, month, year, or all time
    • Max posts: Cap per subreddit — up to 500 in every mode
    • Include comments: Fetch top comments per post (available in top mode, keyword search and user mode)
    • Keyword search (optional): search posts by keyword — inside the subreddits you listed, or across all of Reddit (Search scope). Rank by relevance, top, newest or most comments. Use quotes for exact phrases, e.g. "remote work"
    • Users (optional): extract the posts submitted by specific Reddit users. When set, subreddits and search are ignored
  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 = most popular posts of the chosen period, with comment text; hot/new/rising = Reddit's current listing, no comments
timeFilterstring"week"Period for top: hour, day, week, month, year, all
searchQuerystring""Optional keyword search. Quotes for exact phrases
searchScopestring"listed"listed = search inside subreddits; all = all of Reddit
searchSortstring"relevance"relevance, top, new or comments (uses timeFilter except new)
usernamesstring[][]Optional. Posts submitted by these users (overrides subreddits and search)
maxPostsPerSubredditinteger25Max posts per subreddit, per search or per user (up to 500)
includeCommentsbooleantrueAlso extract top comments (top mode, keyword search and user 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

ModeWhat you getRankingCommentsMax posts/subTypical time
topMost popular posts of the periodReddit's own ranking for the hour/day/week/month/year/allYes, up to your per-post limit500~20s for 2 subreddits × 10 posts with comments
hot / new / risingReddit's current listingExactly as Reddit lists itNo500~5–10s
Keyword searchPosts matching your keywords, in chosen subreddits or all of RedditReddit's search ranking (relevance, top, new, most comments)Yes500~5–16s
UsersPosts submitted by each userTop (by period), Hot or NewYes500 per user~6–14s

About the live ranking. Each run returns Reddit's live order for the first page of its first subreddit, user or search (typically 25 to 100 posts). Additional posts, and further subreddits in the same run, are listed newest first — or by recorded score for top — and the run status tells you how many. For the live order of several subreddits, run them in separate runs or schedules a minute apart. Run one keyword search per run.

About vote counts. The order of posts is Reddit's real ranking, but the score and numComments fields are not live: Reddit stopped serving engagement data to anonymous callers, so these fields hold the values recorded when the post was first published (usually 1), and comment scores work the same way. If you need live vote counts, this Actor cannot give them to you right now, and we would rather say so here than let you find out from the data. Everything else — titles, full post bodies, links, flair, authors, timestamps, permalinks and comment text — comes back complete.


Pricing

This actor charges $0.0005 USD per item extracted (posts and comments each count as one item).

ExampleItemsCost
2 subreddits × 10 top posts, 5 comments each~100≈ $0.05
25 posts with 10 comments each275≈ $0.14
100 posts with 10 comments each1,100≈ $0.55

You can cap the cost of any run with the Max results limit — the run stops exactly there and never charges for more.


FAQ

Do I need a Reddit account or API key? No. Only publicly visible content is read, so there is no login, API key, or credential to provide.

What's the difference between hot/new and top? hot, new and rising return Reddit's current listing, without comments. top returns the most popular posts of the period you choose and includes comment text. All modes go up to 500 posts per subreddit.

Does timeFilter work? Yes. With top, hour, day, week, month, year and all return Reddit's own top ranking for that period.

Can I search Reddit by keyword? Yes. Set Keyword search, then choose Search scope: only the subreddits you listed, or all of Reddit. Results can be ranked by relevance, top, newest or most comments, within your time range. Only posts are returned (not communities).

Can I get the posts of a specific user? Yes. List the usernames in Users. Some profiles return nothing under Top for all time; in that case the run falls back to that user's most recent posts automatically, so you never get an empty result for an active account.

Are scores and comment counts live? No — see the note under Performance. The ranking is real; the numeric counters are not.

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 keyword search, reddit search scraper, reddit user posts, reddit data for AI, reddit sentiment analysis, reddit thread extractor, reddit top posts, social media scraper, NLP training data, reddit market research


More actors

Browse all my scrapers on my Apify profile.


Disclaimer

This actor collects publicly available Reddit posts and comments. It is not affiliated with Reddit.


Changelog

  • v1.7 (2026-11-09) — Faster runs, no more long waits at the end. A run could stay open for over a minute after its data was ready; it now ends as soon as the data is saved (for example 113 s → about 18 s). Comments are collected about twice as fast. The run status now also says when comments for some posts were not available.
  • v1.6 (2026-11-04) — Steadier runs and a clearer status. Each run now takes Reddit's live ranking for the first page of its first subreddit, user or search, and lists everything else newest first (or by recorded score for top); the run status says how many posts are in each group. Keyword searches with no posts in the chosen time range now say so instead of returning an empty run without explanation.
  • v1.5.1 (2026-10-26) — Fix: comments could appear more than once in runs with comments enabled, released earlier the same day. Each comment now appears exactly once.
  • v1.5 (2026-10-26) — Keyword search, user mode, and a lower price. Search posts by keyword inside chosen subreddits or across all of Reddit, ranked by relevance, top, newest or most comments within your time range — only posts are returned, never communities. Extract the posts submitted by specific users, with automatic fallback to their latest posts when a profile has no all-time Top. Comments are available in both new modes. The price per item drops from $0.002 to $0.0005.
  • v1.4 (2026-10-26) — top now follows Reddit's real ranking, and the time range works. top returns the most popular posts of the period you pick — past hour, day, week, month, year or all time — instead of recent posts in an approximate order, and timeFilter is now applied. Runs are about 3× faster (a 2-subreddit, 10-post request with comments went from ~65s to ~19s in testing). hot, new and rising now go up to 500 posts per subreddit (previously 25) and return the full post details — body, link, domain and flair — like top does. Same fields, same price.
  • v1.3 (2026-10-12) — Many more comments per run, and no more empty runs. Three fixes: comment threads are now collected for every post instead of being skipped for most of them (a 5-post request went from a handful of comments to 30 in testing); a transient rate limit from the data source no longer ends the run empty-handed, because it is now retried instead of abandoned; and the Max results limit you set is now enforced across posts and comments together, so a run can never return — or charge for — more items than you allowed.
  • v1.2 (2026-10-06) — Honest documentation of what vote counts actually contain. Earlier versions described top as returning the highest-scoring posts with real scores and comment counts. That is no longer what happens: Reddit stopped serving engagement data to anonymous callers, and the public archives this Actor reads record a post when it first appears, when its score is still 1. The docs now say so plainly, in the field table, the input table, the FAQ and a note under Performance, instead of leaving you to discover it in the output. Text extraction — titles, bodies, authors, timestamps, permalinks, comment text — is unaffected. timeFilter is also marked as accepted but not applied. No change to behaviour or to the fields you get; sort now defaults to top for API callers too, matching what the console already did.
  • v1.1 (2026-07-01) — More reliable, and comments in top mode. Real-time sorts now return the latest posts without needing any credentials, and top mode gained full comment threads plus a higher cap (500 posts per subreddit).
  • v1.0 — Initial release: posts and comments from any subreddit, JSON/CSV/Excel export.