Use the Reddit Scraper Subreddit Scraper
Maxime Dupré
Reddit Scraper
This Subreddit Scraper task reads the newest posts in the r/OpenAI subreddit. It saves a community row and up to 25 post rows with titles, authors, scores, times, and Reddit links. It does not collect comments.
Input
Output fields
Sign up on Apify or log in
The Reddit Scraper Actor is ready to run with the inputs already set for "Use the Reddit Scraper Subreddit Scraper". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Use the Reddit Scraper Subreddit Scraper" task
The Reddit Scraper Actor will start running based on the input automatically. You can also change all the input fields, like find content by, subreddits: names, and more, to match your specific use case.
Receive the "Use the Reddit Scraper Subreddit Scraper" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as type, post title, comment, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Use the Reddit Scraper Subreddit Scraper" task via API.

The Subreddit Scraper task collects the feed posts and community facts of a subreddit. It saves a community row and post rows to the dataset, with the Reddit link of each row.
The Subreddit Scraper task uses subredditNames, which takes a subreddit name or an r/name handle. This example uses OpenAI. You can change it and the row limits.
The Subreddit Scraper task returns up to the row limits you set. This example uses 25 for each row type it saves. Set a limit to 0 to save all available rows.
The Subreddit Scraper task costs $0.0013 per post or comment row on the free plan, and $0.00135 per community row. Paid plans cost less. Each run has a $0.005 start charge.
The Subreddit Scraper task needs no Reddit account, login, cookies, or Reddit API key. It reads public Reddit data only.
The Subreddit Scraper task reads the hot, new, top, or rising feed of a subreddit. Set subredditSort to choose one. This task uses new. For top, the time input sets the window.
The Subreddit Scraper task saves one community row per subreddit. It has the name, title, description, creation date, NSFW flag, and Reddit link, when Reddit shows them.
The Subreddit Scraper task can also collect comments. Turn on includeComments to save the comment threads under each post. This task leaves it off, so it saves posts only.
The Subreddit Scraper task skips NSFW content in this example, because includeNSFW is false. Set includeNSFW to true if you want rows that Reddit marks as NSFW.
The Subreddit Scraper task saves rows to an Apify dataset. Export it as JSON, CSV, Excel, XML, RSS, or HTML, or read it through the Apify API. Each row has a rowType field.