Reddit Scraper & API: Posts, Full Comment Threads, Users avatar

Reddit Scraper & API: Posts, Full Comment Threads, Users

Pricing

from $0.70 / 1,000 posts

Go to Apify Store
Reddit Scraper & API: Posts, Full Comment Threads, Users

Reddit Scraper & API: Posts, Full Comment Threads, Users

Export Reddit posts and full comment threads from subreddits, user profiles and keyword searches: title, text, author, upvotes, comment count, flair and links. No Reddit account needed.

Pricing

from $0.70 / 1,000 posts

Rating

0.0

(0)

Developer

Philip Kirkbride

Philip Kirkbride

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

4

Monthly active users

18 hours ago

Last modified

Categories

Features

Limited permissionsSingle-tenantServer interface

Share

Reddit Scraper

Scrape public Reddit posts from subreddits, user profiles and keyword searches, with their full comment threads, into JSON, CSV or Excel. No Reddit account, login or API key needed, and it keeps working without Reddit's feeds or API: it reads the same public pages you see in a browser.

  • Fast comments: a thread with 100 comments takes about 10 seconds.
  • Full reply threads: top-level comments first, then the replies Reddit folds behind "more replies", each with its parent and depth.
  • No login: public posts, scores and comments, nothing to set up.

Ready to run: everything is preconfigured, so you can press Start with the example input and get posts in about a minute.

Use cases

  • Brand monitoring across public posts and keyword searches.
  • Community and market research with available scores and dates.
  • Discussion and sentiment analysis from post comments.
  • Scheduled comparisons of public posts over time.

Also available

The social media suite: pick the job.

ActorUse when
Reddit (this Actor)Posts and comments from subreddits and searches
X (Twitter)Profiles and latest posts with views
Threads ProfilesThreads followers and post engagement
Bluesky Starter PacksBluesky packs, members, posts and profiles
Telegram Channel PostsPublic channel posts and channel info
SubstackNewsletter posts, likes and free post text

Quick Start

{
"startUrls": ["r/python", "r/datascience"],
"sort": "hot",
"maxPostsPerSource": 25,
"maxItems": 100
}

Each subreddit gives its posts in the order Reddit shows them. Add postedAfter (for example "7 days") to skip older posts, searchQueries to search all of Reddit, or paste a post link to get the post with its comments.

Input

InputTypeDefaultMeaning
startUrlsarray—One per line: a subreddit (r/python or https://www.reddit.com/r/python/), a user (u/name or a profile link), a post link (its comments are included) or a Reddit search link. A sort in a subreddit link, such as https://www.reddit.com/r/python/top/?t=month, is respected.
searchQueriesarray—Searches across all of Reddit, one per line. Add subreddit:name to search inside one community.
sortstringhotOrder of subreddit and user posts: hot, new, top, rising or controversial.
timeFilterstringweekFor Top, Controversial and searches: hour, day, week, month, year or all.
searchSortstringrelevanceOrder of search results: relevance, hot, top, new or comments.
postedAfterstring—Keep only posts created after this point: a date (2026-11-01), a UTC date-time (2026-11-01T12:00:00Z) or a period (24 hours, 7 days, 2 weeks, 1 month). Skipped posts are not charged. With new sorting the listing stops at the first older post.
maxPostsPerSourceinteger25Posts per subreddit, user or search, 1 to 1,000. Collection stops at the visible end of the page; the requested cap is not guaranteed.
includeScoresbooleantrueSubreddit and user pages always retain available displayed metadata. For search results and post links, turning this off sets score, comment count, NSFW flag and post type to null. No separate enrichment requests are made; this does not speed up the browser.
includeCommentsbooleanfalseAlso collect the comments of each post found in subreddits, users and searches. Post links always include their comments.
maxCommentsPerPostinteger100Comments per post, 1 to 500. Top-level comments come first, then deeper replies, including the ones behind "more replies".
includeRemovedCommentsbooleanfalseAlso save comments without text (removed, deleted, or image and GIF replies), flagged with isRemoved and isMediaOnly. Off by default, so every comment row has text.
proxyConfigurationobjectApify RESIDENTIAL, USPreconfigured; keep the default. Other proxy settings are refused with a clear input error before any browsing.
maxItemsinteger100Total cap on rows (posts plus comments) across every source, up to 100,000.

Add your own start link or search. An empty input ({}) collects up to 10 example posts from r/python and says so in the run status. Explicit source lists with no valid entries return no_results with a reason. A run with mixed input collects from the valid entries and reports malformed entries in OUTPUT.skippedSearches. The Console example collects up to 25 posts each from r/python and r/datascience. Scores stay on and comments stay off by default. API calls that omit caps now use 25 posts per source and 100 total rows.

Example queries

  • {"startUrls": ["r/MachineLearning"], "sort": "top", "timeFilter": "month", "maxPostsPerSource": 200, "maxItems": 200}
  • {"searchQueries": ["home espresso machine"], "searchSort": "new", "timeFilter": "week"}
  • {"searchQueries": ["subreddit:personalfinance emergency fund"], "searchSort": "top", "timeFilter": "year"}
  • {"startUrls": ["https://www.reddit.com/r/coolguides/comments/1x4u7iw/"], "maxCommentsPerPost": 500}
  • {"startUrls": ["r/startups/new/"], "includeComments": true, "maxPostsPerSource": 20, "maxCommentsPerPost": 50}
  • {"startUrls": ["r/SaaS", "r/Entrepreneur"], "sort": "new", "postedAfter": "24 hours", "maxPostsPerSource": 200}
  • {"startUrls": ["u/spez"], "sort": "new"}

What it returns

The dataset has one row per post and one row per comment. type tells them apart. Duplicate post and comment IDs are saved once per run. source identifies the input that first delivered the row, and scrapedAt is its collection time in UTC.

Post fieldMeaning
id, titleReddit post ID without its prefix, and title.
author, subreddit, createdAtPublic username, community and UTC creation time; null when unavailable.
url, permalink, domainOutbound target, Reddit post link and target domain (self.<community> for text posts). Search cards have null url and domain because they do not expose the target.
isSelf, selftextWhether the target is the post itself, and available plain text body. Null when unknown, including search cards; link posts have an empty body. A listing may show only a preview.
thumbnailPreview image URL when present; the image itself is not downloaded.
upvotes, commentCountDisplayed net score and comment count. The score is clamped to zero for compatibility; it is not a count of positive votes. Both may be null or hidden.
nsfw, postType, upvoteRatio, flair, stickiedAvailable adult-content flag, post kind, vote ratio, flair and pinned status; null when not exposed.

Search cards supply titles, IDs, permalinks, available authors/dates and displayed vote/comment counters. Other unavailable fields stay null. Search does not open every result for enrichment. includeScores: false sets upvotes, commentCount, nsfw and postType to null for search results and post links; it retains directly available subreddit and user metadata.

Comment rows contain id, postId, postTitle, author, subreddit, createdAt, permalink, body, score, depth, parentId, source and scrapedAt. Scores may be negative or null. Reply depth is zero for top-level comments; parentId is the parent comment ID, or null for a top-level comment, so you can rebuild the whole reply tree. Hidden metadata remains null. With includeRemovedComments, comment rows also carry isRemoved and isMediaOnly.

OUTPUT reports status (complete, partial or no_results), items, posts, comments, postsWithScores, skippedOlder, skippedRemovedComments, errors, and sourceErrors with each failed URL and code. incompleteSources names any source that ended before its cap.

Output example

Rows captured on Apify on November 12, 2026:

{"type": "post", "id": "1xt65ah", "title": "Tim Peters has passed away", "author": "ExoticMandibles", "subreddit": "Python", "createdAt": "2026-11-11T02:33:08Z", "url": "https://www.reddit.com/r/Python/comments/1xt65ah/tim_peters_has_passed_away/", "permalink": "https://www.reddit.com/r/Python/comments/1xt65ah/tim_peters_has_passed_away/", "domain": "self.Python", "isSelf": true, "selftext": "Tim died July 15, at his home in Ashland, Wisconsin. He was 74. We don't know any specifics yet.\nIn case you don't know who Tim Peters is, he was an early pioneer in helping shape the Python language and its runtime. He invented a new sorting algorithm (\"Timsort\"); a descendent of it (\"PowerSort\") is still used in Python today, as well as in Java, and several Javascript runtimes (Chrome, Node). He dashed off The Zen Of Python in response to a Usenet post asking about best practices. So many things in Python are directly due to Tim. Online, he was funny, charming, helpful, and had a depth of knowledge and wisdom that was frankly unmatched. He'll be missed.\nhttps://www.bratleyfamilyfuneralhomes.com/obituary/timothy-peters", "thumbnail": null, "upvotes": 2156, "commentCount": 69, "nsfw": false, "postType": "text", "upvoteRatio": 0.9927, "flair": "News", "stickied": false, "source": "r/python", "scrapedAt": "2026-11-12T19:40:43.530Z"}
{"type": "comment", "id": "19shk1l6irgqo", "postId": "1xt65ah", "postTitle": "Tim Peters has passed away", "subreddit": "Python", "author": "hartmanbrah", "createdAt": "2026-11-11T18:35:22Z", "permalink": "https://www.reddit.com/r/Python/comments/1xt65ah/comment/19shk1l6irgqo/", "body": "I've watched a few interviews with Tim a while back after learning about his work. It was inspired by how down to earth he was. If you met him on the street, you might mistake him for a \"blue collar\" guy. He had a practicality that I really appreciated.\nAnyways, definitely one of the greats, and sad to hear he passed. RIP Tim. I'll try to be a bit more zen.", "score": 2, "depth": 0, "parentId": null, "source": "https://www.reddit.com/r/Python/comments/1xt65ah/tim_peters_has_passed_away/", "scrapedAt": "2026-11-12T19:44:00.987Z"}
{"type": "post", "id": "1xpwoh6", "title": "Hot take: languages like C# and Java are better to learn first than \"beginner friendly\" languages like Python", "author": null, "subreddit": "learnprogramming", "createdAt": "2026-11-07T03:47:20Z", "url": null, "permalink": "https://www.reddit.com/r/learnprogramming/comments/1xpwoh6/hot_take_languages_like_c_and_java_are_better_to/", "domain": null, "isSelf": null, "selftext": null, "thumbnail": null, "upvotes": 792, "commentCount": 247, "nsfw": null, "postType": null, "upvoteRatio": null, "flair": null, "stickied": null, "source": "python", "scrapedAt": "2026-11-12T19:56:41.804Z"}

How fast

A run opens a real browser, so the first posts arrive within about a minute. In November 2026 tests, 100 subreddit posts took about 1.5 minutes, a 25-post keyword search under a minute, and each thread with 100 comments about 10 seconds after the first one.

Use it as an API

Get posts from a subreddit or read a public Reddit thread. Get the answer in JSON from one HTTPS call. Call it from an AI agent through an HTTP-capable MCP tool, or add an HTTP request step in n8n, Make, or Zapier.

curl --get 'https://automatic--reddit-scraper.apify.actor/' \
--header "Authorization: Bearer $APIFY_TOKEN" \
--data-urlencode url=https://www.reddit.com/r/Python/new/ \
--data-urlencode limit=5

Send the same fields as a JSON object with POST /. Results are in data.items and in the run's default dataset. See GET /openapi.json for the request and response definitions.

Price

Pay only for what you get: $1.00 per 1,000 posts and $0.50 per 1,000 comments, plus $0.01 per GB of memory per run ($0.02 at the default 2 GB). Platform usage and the residential proxy are included. Paid Apify plans get volume discounts of up to 40%. Removed and image-only comments are skipped and not charged unless you turn on includeRemovedComments.

ExampleRowsPrice
Console prefill (50 posts)50$0.07
10 posts with 100 comments each1,010$0.53
1,000 posts1,000$1.02

Set Maximum cost per run to cap any run; it stops cleanly at the limit and says so.

Good to know

  • Everything public on Reddit while logged out is available: posts, scores, dates, text and comments. Private, quarantined, age-restricted and login-only pages are not.
  • Comments come in Reddit's thread order with top-level comments first, so on very large threads the cap fills with top-level comments and their first replies. Extremely reply-heavy threads can end before the cap; the run summary says when.
  • A subreddit, user or post that does not exist ends the run with no_results and a clear status message, not an error. If Reddit refuses a page, the run names it in the status and in OUTPUT.sourceErrors and keeps everything already collected.
  • Scores are snapshots; Reddit may hide or fuzz them.

Your feedback

Found a bug, or need a field or filter we don't have yet? Open an issue on this Actor's Issues tab. We read every issue and use them to decide what to build next.