Reddit Subreddit Posts Scraper avatar

Reddit Subreddit Posts Scraper

Pricing

from $2.00 / 1,000 result items

Go to Apify Store
Reddit Subreddit Posts Scraper

Reddit Subreddit Posts Scraper

Get posts from any public subreddit by sort (hot/new/top/rising/controversial) and time filter. Bulk-paginated.

Pricing

from $2.00 / 1,000 result items

Rating

0.0

(0)

Developer

Axery

Axery

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Bulk-fetch posts from any public subreddit by sort order — hot, new, top, rising, controversial — with time-window filtering and full pagination.

Useful for community monitoring, trend tracking within a niche subreddit, and building a training/research corpus from a specific community.

Current access status — read before running

Reddit's own anonymous JSON endpoints (www.reddit.com/r/{sub}/.json, old.reddit.com/r/{sub}/.json) are currently answering every request with a hard login wall, verified directly and consistently across TLS fingerprints as of this Actor's last build — not a rate limit, a login requirement. The one path that still works is Reddit's own official OAuth installed-app grant, which needs a free client_id (no client secret, no personal login) registered once at reddit.com/prefs/apps — choose "installed app" when creating it. Supply that value in the redditClientId input field.

Without a client_id, this Actor will currently fail on every request — that's Reddit's access wall, not a bug here, and it's stated plainly rather than left to be discovered as a silent failure.

What makes this different

All five sort modes in one Actor, including rising — a signal for posts gaining traction right now, not just what's already hot or newest.

Multiple subreddits, one dataset, in one run. Each row carries the subreddit it came from, so a multi-community monitoring run doesn't need one Actor call per subreddit.

A clean, documented schema, not a raw API dump. Reddit's post objects carry several dozen fields, many internal or UI-only; this Actor keeps only the ones with real research value, consistently named.

Input

FieldTypeNotes
subredditsarraySubreddit names, without r/.
sortenumhot, new, top, rising, controversial.
timeFilterenumhour, day, week, month, year, all. Meaningful with top/controversial.
maxPostsintegerPer subreddit.
redditClientIdstringCurrently effectively required — see above.
proxyConfigurationobjectDefaults to Residential.

Output

{
"post_id": "reddit.com:1a2b3c",
"subreddit": "programming",
"title": "Show HN: I built a blazingly fast Rust web server",
"author": "rustacean42",
"score": 1842,
"num_comments": 234,
"created_at": "2026-05-13T10:22:00Z",
"is_self": true,
"link_flair_text": "Show and Tell",
"permalink": "https://www.reddit.com/r/programming/comments/1a2b3c/..."
}

A private, banned, or nonexistent subreddit surfaces as an explicit failure row rather than a silent empty result.

Local development

pip install -r requirements.txt
python test_local.py python --client-id YOUR_CLIENT_ID
python test_local.py python MachineLearning --sort top --time-filter week --max 50

No sample_output.json ships with this Actor — Reddit's current access wall means a live run cannot be produced without a registered client_id, and this project doesn't publish fabricated sample data.