Reddit Subreddit Post & Comment Harvester avatar

Reddit Subreddit Post & Comment Harvester

Pricing

from $0.49 / 1,000 results

Go to Apify Store
Reddit Subreddit Post & Comment Harvester

Reddit Subreddit Post & Comment Harvester

Pull posts from any subreddit with score, media, flairs, awards and moderation flags, plus optional nested comment threads. Filter by date, score, keyword, author, post type and more. No API key or login.

Pricing

from $0.49 / 1,000 results

Rating

0.0

(0)

Developer

vexaloom-labs

vexaloom-labs

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

Harvest public Reddit posts, nested comment threads, subreddit rules and subreddit discovery data without an API key, login, cookies or proxy setup. The actor reads the free Arctic Shift archive API first and falls back to Reddit's public Atom RSS listings when Arctic Shift is rate-limited or unreachable.

What this actor does

  • Six collection modes — posts from subreddits, comments from subreddits, comment trees for specific posts, specific posts by ID, subreddit search and subreddit rules
  • Any public subreddit — bare name (python), r/-prefixed name (r/python) or full Reddit URL; multiple subreddits in one run
  • Posts with media and context — score, upvote ratio, comment count, author, flair, self-text, images, galleries, video (MP4 + HLS), polls and crosspost parents
  • Nested comment trees — depth, parent links, reply paths, OP flags, edited/deleted flags, awards and six sibling orders
  • Rich filters — dates, scores, comment counts, upvote ratio, post type, flair, keyword, author, domain, awards, content length, archived/locked/removed/original-content flags and moderator badges
  • ID lookup — paste post IDs or full Reddit URLs to refresh specific posts and their discussions
  • Subreddit discovery — prefix search with subscriber ranges, plus each community's moderation rules
  • Clean output — empty values are omitted at every depth; records never contain null, "", [] or {}

Data source and fallback

Primary: Arctic Shift (https://arctic-shift.photon-reddit.com). It is a free, cookieless archive of public Reddit data with no API key. The actor uses:

  • /api/posts/search for subreddit listings
  • /api/comments/search for subreddit-wide comment collection
  • /api/comments/tree for full nested comment trees
  • /api/posts/ids for specific posts
  • /api/subreddits/search for subreddit discovery
  • /api/subreddits/rules for moderation rules

Arctic Shift applies dynamic rate limits and may time out heavy queries. The actor backs off on HTTP 429 using the reset header, retries 5xx responses, and on a query timeout it reduces the page size and splits the requested time range into shorter windows before giving up.

Fallback: Reddit Atom RSS (/r/<subreddit>/new/.rss, hot, top, rising, controversial). If Arctic Shift still fails for a listing, the actor parses the public Atom feed for titles, links, authors, publication dates and rendered content. RSS has no scores, comment counts, media metadata or comment threads, so those fields are omitted rather than guessed. RSS usually returns only the latest ~25 entries and is not available for comment modes.

Reddit's anonymous .json endpoints and old.reddit pages are not used: they return HTTP 403 or an anti-bot challenge from datacenter IPs. The actor is fully cookieless.

Freshness caveat (important)

Arctic Shift archives a post the moment it is created, then refreshes its score, upvote ratio and comment count roughly 36 hours later. A post younger than ~36 hours can therefore show score: 1 and num_comments: 0 even when it is popular on Reddit. The actor never invents final values. RSS fallback rows have no score fields at all. Filters that need a missing value (for example minScore on an RSS row) exclude the record instead of guessing.

Output per post

  • dataType — always post
  • subreddit, subreddit_prefixed, subreddit_id
  • post_id, post_name, title
  • author, author_id, author_flair
  • url, permalink, content_url, domain
  • is_self, post_type (self/link/image/video/gallery/poll), post_type_raw
  • score, upvote_ratio, num_comments, num_crossposts
  • link_flair, link_flair_background_color, flair_url
  • content, content_html
  • thumbnail_url, images[], gallery_images[], gallery_count
  • video_url (MP4), video_hls_url (HLS)
  • poll_data — options, option ids, vote counts, total votes, closing time
  • created_utc, created_at (ISO-8601 UTC)
  • is_stickied, is_nsfw, is_spoiler, is_crosspost
  • is_archived, is_locked, is_original_content
  • distinguished, removed_by_category, gilded
  • total_awards_received, top_award_id, top_award_icon_url
  • media_type, has_media
  • crosspost_parent_id, crosspost_parent_subreddit, crosspost_parent_url
  • language, crawled_at, source (arctic-shift or reddit-rss)

Output per comment

  • dataType — always comment
  • subreddit, subreddit_prefixed, subreddit_id
  • post_id, post_url, post_title, link_id
  • comment_id, comment_name, parent_id, parent_kind
  • author, avatarUrl
  • body, body_html
  • score, total_awards_received
  • depth (0 = top-level), position, parentPositions
  • is_op, collapsed, contentType
  • isCommentDeleted, isAuthorDeleted, isHighlighted, hasPaidAward — present only when true
  • created_utc, created_at, edited, edited_at
  • permalink, crawled_at, source

Output per subreddit and rule

Subreddit search records use dataType: "subreddit" and include subreddit, subreddit_prefixed, subreddit_id, title, description, description_html, subscribers, is_nsfw, created_utc, created_at, url, earliest_post_utc, earliest_comment_utc, num_posts, num_comments, crawled_at and source.

Rule records use dataType: "subredditRule" and include subreddit, subreddit_prefixed, rule_index, rule_priority, rule_kind, short_name, description, violation_reason, created_utc, created_at, url, crawled_at and source.

Modes

modeWhat it returnsRequired input
subredditPostsPosts from one or more subreddits, optionally with comment treessubreddits
subredditCommentsComments across one or more subredditssubreddits
postCommentsThe parent posts plus their nested comment treespostIds
postsByIdsSpecific posts onlypostIds
subredditSearchSubreddit profiles, optionally with rulessubredditQuery or subreddits
subredditRulesModeration rules for the listed subredditssubreddits

Input

FieldTypeDefaultDescription
modeenumsubredditPostsCollection mode (table above)
subredditsarray–Names, r/ names or full URLs. Required for subreddit post/comment/rules modes.
postIdsarray–Post IDs or full Reddit post URLs
subredditQuerystring–Prefix for subreddit discovery
includeRulesboolfalseAdd rules when searching subreddits
sortenumnewnew, old, hot, top, rising, controversial, best
timeFilterenumdayRanking window: hour, day, week, month, year, all
maxPostsint25Maximum matching posts per subreddit (1–5,000)
maxItemsint10,000Global cap on posts + comments
fullSubredditboolfalsePage through the reachable history instead of stopping early
includeCommentsboolfalseFetch comment trees for posts
maxCommentsPerPostint0Comments kept per post (defaults to 100 in postComments mode)
commentSortenumconfidenceconfidence, top, new, controversial, old, qa
postedAfterdate–Created on/after this UTC date
postedBeforedate–Created on/before this UTC date
includeNSFWboolfalseInclude NSFW/18+ records
onlyWithFlairboolfalseDrop posts without a link flair
postTypeenum–text, link, image, video, gallery, poll, crosspost, multi_media
minScoreint–Minimum score
maxScoreint–Maximum score
minCommentsint–Minimum comment count
maxCommentsint–Maximum comment count
minUpvoteRationumber–Minimum upvote ratio (0–1)
excludeStickiedboolfalseDrop pinned posts
excludeCrosspostsboolfalseDrop crossposts
excludeSpoilersboolfalseDrop spoilers
excludeArchivedboolfalseDrop archived posts
excludeLockedboolfalseDrop locked posts
excludeRemovedboolfalseDrop removed posts
onlyOriginalContentboolfalseKeep original-content posts only
distinguishedenumanyany, moderator, admin, special
titleContainsstring–Title substring
contentContainsstring–Self-text substring
searchQuerystring–Title/body substring for posts, body substring for comments
flairContainsstring–Link flair substring
authorFlairContainsstring–Author flair substring
urlContainsstring–Link target/permalink substring
authorsarray–Keep only these authors
excludeAuthorsarray–Drop these authors
excludeKeywordsarray–Drop matching title/body/flair
domainstring–Link domain substring
minAwardsint–Minimum total awards
excludeDeletedAuthorboolfalseDrop deleted/removed authors
minContentLengthint–Minimum self-text length
maxContentLengthint–Maximum self-text length
subredditSortenumsubscriberssubscribers, name, created
minSubscribersint–Minimum subscriber count
maxSubscribersint–Maximum subscriber count

Examples

25 new posts from r/Python

{
"subreddits": ["python"],
"maxPosts": 25,
"sort": "new"
}

60 posts with pagination

{
"subreddits": ["programming"],
"maxPosts": 60,
"maxItems": 100,
"sort": "new"
}
{
"subreddits": ["pics"],
"maxPosts": 50,
"sort": "top",
"timeFilter": "week",
"postType": "gallery"
}

Posts plus comment trees

{
"subreddits": ["technology"],
"maxPosts": 20,
"includeComments": true,
"maxCommentsPerPost": 100,
"commentSort": "top"
}

Comment trees for specific posts

{
"mode": "postComments",
"postIds": ["1xv3n8h", "https://www.reddit.com/r/Python/comments/1xv34e5/"],
"maxCommentsPerPost": 200
}

Comments across a subreddit

{
"mode": "subredditComments",
"subreddits": ["Python"],
"maxItems": 500,
"sort": "new",
"postedAfter": "2026-10-01"
}

Discover subreddits and their rules

{
"mode": "subredditSearch",
"subredditQuery": "ask",
"minSubscribers": 10000,
"subredditSort": "subscribers",
"includeRules": true
}

Brand monitoring with filters

{
"subreddits": ["startups", "Entrepreneur", "SaaS"],
"maxPosts": 100,
"sort": "new",
"postedAfter": "2026-10-01",
"minScore": 5,
"excludeAuthors": ["AutoModerator"],
"excludeKeywords": ["megathread", "giveaway"]
}

Limitations

  • Provisional scores for ~36 hours. Arctic Shift refreshes score/comment counts about 36 hours after a post is archived. Very recent rows can show score: 1 and num_comments: 0; the actor does not alter them.
  • RSS fallback is intentionally partial. Atom feeds provide titles, links, authors, dates and content only — no score, upvote ratio, comment count, media list, gallery or comments. Those fields are omitted. RSS usually returns ~25 entries per listing and has no pagination.
  • Comment data has no RSS fallback. If Arctic Shift is unavailable, comment modes return fewer records and say so in the status message.
  • Ranked sorts are computed after download. Arctic Shift sorts by created_utc; hot, top, rising, controversial and best are ranked by the actor over the selected timeFilter window, not by Reddit's own ranking service. Use fullSubreddit plus a larger maxPosts for deeper ranked scans.
  • Keyword filters are applied after download. This keeps them reliable on very active subreddits where Arctic Shift's keyword search can time out. A keyword filter scans at most the normal safety window unless fullSubreddit is enabled.
  • Subreddit index freshness. Arctic Shift's subreddit index is refreshed less often than post data; subscriber counts can lag Reddit.
  • Source ceilings. Arctic Shift pages at 100 records per request and limits comment trees to 25,000 comments per request. Extremely popular threads and very deep histories can take longer; the actor stops at maxItems.
  • Private, banned or misspelled subreddits return no records. The run continues with the remaining subreddits.
  • No credentials or proxy configuration. The actor is cookieless and uses no proxy. If Arctic Shift and RSS are both unreachable from the run's network, it reports the failure instead of returning fabricated data.

FAQ

Do I need a Reddit API key or login? No. The actor uses the free Arctic Shift archive API and Reddit's public Atom RSS feed. No API key, OAuth, login, cookies or account is required.

Do I need to configure a proxy? No. There is no proxy input and no proxy setup. The actor makes direct public requests.

Why do some fields disappear from RSS rows? RSS does not carry scores, comment counts, media metadata or comment threads. The actor omits those fields rather than inventing values. Run the same query again when Arctic Shift is available for the full record.

Why is a brand-new post's score only 1? Arctic Shift archives the post immediately and refreshes engagement metrics roughly 36 hours later. Re-run after that window for final scores.

How many records can I get? Up to maxPosts per subreddit and maxItems in total. fullSubreddit keeps paging through the reachable archive. Arctic Shift returns at most 100 posts or comments per request, and the actor follows the API's time cursor automatically.

Why did my keyword or score filter return fewer rows? Filters are applied after download. Filters that require a value the source does not provide (for example minScore on an RSS row) exclude the record instead of guessing. Loosen the filter or use fullSubreddit for a deeper scan.

Can I schedule recurring runs? Yes — create an Apify schedule for daily or weekly monitoring. Use sort: "new" or postedAfter to collect only recent items.

How do I export or integrate the data? Download JSON, CSV, Excel or HTML from the run, call the dataset API, or connect to n8n, Make, Zapier or the Apify MCP server.