Example: 25 hot posts from r/programming
Runs the Reddit Subreddit Scraper on r/programming and returns the 25 current hot posts as JSON rows.
Input
Output fields
Sign up on Apify or log in
The Reddit Subreddit Scraper: Hot, New, Top Posts, $2/1K Posts Actor is ready to run with the inputs already set for "Example: 25 hot posts from r/programming". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Example: 25 hot posts from r/programming" task
The Reddit Subreddit Scraper: Hot, New, Top Posts, $2/1K Posts Actor will start running based on the input automatically. You can also change all the input fields, like subreddits, listing sort, and more, to match your specific use case.
Receive the "Example: 25 hot posts from r/programming" 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 ID, subreddit, title, 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 "Example: 25 hot posts from r/programming" task via API.

The r/programming hot posts task returns one post per row: id, subreddit, title, author, score, numComments, flair, nsfw, stickied, createdUtc, url, permalink and selfText. flair appears only when the post has one.
In the r/programming hot posts task, change subreddits to other names without r/ and listingSort to hot, new, top or rising. The saved input is programming, hot, maxItems 25. time applies to top only.
The r/programming hot posts task accepts subreddit feed links in startUrls, such as /r/programming/new/, and the sort in the link wins over listingSort. Links to posts, users or search pages are not read.
The r/programming hot posts task keeps up to maxItems posts per subreddit, 25 in this task. maxItems is capped at 1,000 because Reddit serves about 1,000 posts per feed. One request returns about 25 posts.
Run the r/programming hot posts task on an Apify Schedule with onlyNew on. Posts already delivered to you from the same subreddits, sort and time window are skipped. It can also be called through the Apify API.
The r/programming hot posts task needs no Reddit account or API key. The Actor reads public pages as a logged-out visitor, never logs in, and NSFW posts are skipped unless includeNSFW is true.
The r/programming hot posts task returns posts only and fetches no comments. For a post with its first comments use the Reddit Data Scraper, and for whole threads use the Reddit Comments Scraper.