Reddit Scraper avatar

Reddit Scraper

Pricing

$0.50 / 1,000 items

Go to Apify Store
Reddit Scraper

Reddit Scraper

Scrape Reddit posts and comments from subreddits, users, and search: titles, text, scores, comment threads, flairs, and media links. No login or API key.

Pricing

$0.50 / 1,000 items

Rating

0.0

(0)

Developer

Donjuan

Donjuan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

Reddit Scraper: posts and comments from subreddits, users, and search

Reddit Scraper collects public Reddit posts from any subreddit, user profile, or search query, and, if you want them, the full comment threads under each post. For every post you get the title, text, author, score, upvote ratio, comment count, flair, post type, media link, and thumbnail. For every comment you get the text, author, score, time, and its place in the thread.

You don't need a Reddit account, an API key, or any code. Add subreddits or search terms, press Start, and download the results as JSON, CSV, Excel, XML, or HTML.

What can you do with Reddit data?

  • Research a market. See what people ask, complain about, and recommend in the subreddits your customers read.
  • Track a brand or product. Search for your brand and your competitors on a schedule and follow what Reddit says about them.
  • Find content ideas. Pull the top posts of a subreddit for the week or the year and see which topics and formats get upvoted.
  • Analyze sentiment. Post and comment text comes clean, one line per paragraph, ready for sentiment or topic analysis.
  • Study discussions. Every comment carries its parent's ID and its depth, so you can rebuild whole threads.
  • Build datasets. Export thousands of posts and comments for research or for training and evaluating models.

What data does Reddit Scraper extract?

ItemFields
PostID, Reddit URL, link (image, video, or linked page), subreddit, title, text, author, creation time, score, upvote ratio, comment count, flair, post type, NSFW, spoiler, video, and pinned flags, thumbnail, domain
CommentID, Reddit URL, post ID and title, parent comment ID, depth in the thread, author, text, score, creation time

Posts and comments are separate rows in one dataset. The type field says which is which.

How to scrape Reddit

  1. Open the actor and go to the Input tab.
  2. Add subreddits (golang or r/golang), search terms, or Reddit links.
  3. Pick a sort and time range, set Posts per source, and turn on Include comments if you need them.
  4. Press Start. When the run finishes, open the Output tab, or press Export to download the data.

Input

FieldTypeDescription
subredditsarray of stringsSubreddit names, with or without r/.
searchQueriesarray of stringsTerms to search Reddit posts for.
startUrlsarrayReddit links. Accepts subreddits (including /top/?t=week-style links), user profiles, single posts, and search pages.
sortstringhot, new, top, rising, or controversial for subreddits and users. Search takes relevance, hot, top, new, or comments, and uses relevance for anything else.
timestringhour, day, week, month, year, or all. Applies to the top and controversial sorts and to search.
maxPostsPerSourceintegerThe maximum number of posts from each subreddit, user, search query, or start URL.
includeCommentsbooleanAlso scrape the comments and replies of every post.
maxCommentsPerPostintegerThe maximum number of comments and replies per post.
skipNsfwbooleanLeave out posts marked NSFW.
proxyCountryCodestringA two-letter country code such as US to use Apify residential proxy in that country. None uses Apify datacenter proxy.

Input example

{
"subreddits": ["golang", "r/pics"],
"searchQueries": ["apify scraper"],
"startUrls": [{ "url": "https://www.reddit.com/r/AskReddit/top/?t=week" }],
"sort": "new",
"time": "week",
"maxPostsPerSource": 100,
"includeComments": true,
"maxCommentsPerPost": 50,
"skipNsfw": true,
"proxyCountryCode": "None"
}

Output

Post example

A real post from r/golang:

{
"type": "post",
"id": "1x8hzzt",
"url": "https://www.reddit.com/r/golang/comments/1x8hzzt/go_golang_publisher_attestation_and_signature/",
"permalink": "https://www.reddit.com/r/golang/comments/1x8hzzt/go_golang_publisher_attestation_and_signature/",
"subreddit": "golang",
"title": "Go (Golang) Publisher Attestation and Signature Verification",
"text": "What is the recommended approach for verifying publisher attestations and signatures for Go (Golang) packages?",
"author": "No-Strength-2889",
"createdTimeISO": "2026-10-17T18:50:16.695Z",
"score": 1,
"upvoteRatio": 0.6,
"numComments": 4,
"flair": "help",
"postType": "text",
"isNsfw": false,
"isSpoiler": false,
"isVideo": false,
"isStickied": false,
"thumbnail": "",
"domain": "self.golang",
"input": "r/golang"
}

Comment example

A real reply from the same subreddit:

{
"type": "comment",
"id": "phhvana",
"postId": "1x7oe1w",
"parentId": "ph8xw5m",
"depth": 1,
"author": "MizmoDLX",
"text": "I know it's more trendy to hate on Java respectively Java devs, but bad useless comments like this one have nothing to do with the language.",
"score": 1,
"createdTimeISO": "2026-10-18T13:48:19.243Z",
"permalink": "https://www.reddit.com/r/golang/comments/1x7oe1w/comment/phhvana/",
"subreddit": "golang",
"postTitle": "Estonia's election system is mostly programmed in Go. I came across the open source github repo and wanted to share.",
"input": "r/golang"
}

Output fields

FieldDescription
typepost or comment.
idReddit ID without the t3_ or t1_ prefix.
urlPosts: where the post points. An image, a video, a linked article, or the post itself for text posts.
permalinkThe post or comment on Reddit.
subredditSubreddit name without r/.
titlePosts: the title.
textThe post body or the comment, one line per paragraph.
authorUsername without u/.
createdTimeISOCreation time in UTC.
scoreScore as Reddit shows it.
upvoteRatioPosts: the share of upvotes, from 0 to 1.
numCommentsPosts: the comment count Reddit shows.
flairPosts: flair text.
postTypePosts: text, link, image, gallery, video, gif, multi_media, or crosspost.
isNsfw, isSpoiler, isVideo, isStickiedPost flags.
thumbnailPosts: preview image.
domainPosts: domain of the link, or self.<subreddit> for text posts.
postId, postTitleComments: the post the comment belongs to.
parentIdComments: the comment this one replies to. Empty for top-level comments.
depthComments: 0 for top-level comments, 1 for replies to them, and so on.
inputThe subreddit, search term, or URL that led to the item.

The Output tab has two tables: Posts and Comments. Both show every row, so filter on type when you work with the export in a spreadsheet.

What search results include

Reddit shows a captcha instead of a post's page after a few dozen page visits from one IP. To keep search fast and reliable, the actor takes search results from the results pages themselves. Search results include the ID, title, subreddit, author, creation time, score, comment count, thumbnail, and NSFW and spoiler flags. They leave out the post text, flair, upvote ratio, post type, domain, and link. Subreddit and user posts include everything.

The same applies to single post links in startUrls: when Reddit shows a captcha instead of the post, you get the post's ID, subreddit, and Reddit URL, and its comments still come in full.

How many posts can I get?

The actor sets no limit of its own. Reddit's listings usually end at about 1,000 posts per sort and time range, as on the site. To collect more from one subreddit, combine sorts and time ranges, for example top for week, month, and year.

Very large threads load their comments in batches. The actor follows every "more replies" and "more comments" link until it reaches maxCommentsPerPost.

How fast is it?

The actor reads Reddit's pages over plain HTTP, without a browser. In our tests, 100 posts from a subreddit took about 5 seconds, and 150 comments from a large thread took about 7 seconds.

How much does it cost?

You pay per item in the dataset: $0.50 per 1,000 posts and comments. A run with 100 posts and 50 comments under each post makes 5,100 items and costs $2.55. Without comments, the same 100 posts cost $0.05.

Export and integrations

The results go into an Apify dataset. From there you can:

  • download them as JSON, CSV, Excel, XML, HTML, or RSS from the Output tab;
  • send them to Google Sheets, Slack, Zapier, Make, and other tools through Apify integrations;
  • schedule runs, for example every morning, to track a subreddit or a search over time;
  • start runs and read the results from your own code through the Apify API.
curl -X POST "https://api.apify.com/v2/acts/<username>~reddit-scraper/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"subreddits": ["golang"], "sort": "top", "time": "week", "maxPostsPerSource": 25}'

FAQ

Do I need a Reddit account or API key?

No. The actor reads the same public pages a logged-out visitor sees.

Can I scrape private or quarantined subreddits?

No. The actor sees what a logged-out visitor sees.

Why do search results have no post text?

Reddit puts a captcha in front of post pages after a few dozen visits from one IP, so the actor takes search results from the results pages, which show no post text. Scrape the subreddit instead when you need the text.

Why are some comments missing?

Reddit hides comments that were removed or deleted, and collapses some low-score ones. The actor collects what a logged-out visitor can open.

The actor collects only public data that anyone can see without logging in. Public posts can still contain personal data, so make sure you have a legitimate reason to collect it and follow the GDPR and other laws that apply to you. If you're not sure, ask a lawyer.

Disclaimer

This actor is provided as is, without warranty. You're responsible for how you use it and for following Reddit's terms of service and the laws that apply to you. Reddit isn't affiliated with this actor.