Reddit Scraper π₯
Pricing
$7.00/month + usage
Reddit Scraper π₯
Skip the homework. Scraping Reddit used to mean wrestling with APIs, fighting rate limits, and begging for OAuth tokens. Not anymore.
Pricing
$7.00/month + usage
Rating
0.0
(0)
Developer

No-Code Venture
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 days ago
Last modified
Categories
Share
Skip the homework. Scraping Reddit used to mean wrestling with APIs, fighting rate limits, and begging for OAuth tokens. Not anymore.
This Actor logs into Reddit like a real user, browses subreddits, searches for keywords, and extracts posts with comments β all without touching a single API endpoint.
β οΈ Important: Do not use regular datacenter proxies for Reddit scraping.
Reddit aggressively blocks non-residential IPs; always use residential proxies if scraping at scale, otherwise you will be blocked quickly.
β¨ Features
- π Search Mode β Search all of Reddit or within a specific subreddit by keyword
- π Login Support β Uses your Reddit credentials to access content as an authenticated user
- π Infinite Scroll β Automatically scrolls to load more posts (unlimited)
- π¬ Comments Extraction β Grabs threaded comments with author, upvotes, and timestamps
- πΌοΈ Full Post Details β Extracts text, images, videos, galleries, and external links
- π Stealth Mode β Uses Camoufox (stealthy Firefox fork) to avoid detection
- π Flexible Filtering β Sort by Hot, New, Top, or Rising
π Getting Started
π Two Modes: Browse vs Search
This Actor supports two modes of operation:
| Mode | When to Use | Required Fields |
|---|---|---|
| Browse | Scrape posts from a specific subreddit feed | subreddit (required) |
| Search | Find posts by keyword across Reddit | searchQuery (required) |
π Search Mode
Search for posts by keyword β either across all of Reddit or within a specific subreddit.
Search All of Reddit
{"searchQuery": "artificial intelligence","searchSort": "relevance","searchTimeFilter": "week","postCount": 20,"redditSessionCookie": "your-session-cookie-here"}
Search Within a Subreddit
{"searchQuery": "renewable energy","subreddit": "technology","searchSort": "top","searchTimeFilter": "month","postCount": 15,"redditSessionCookie": "your-session-cookie-here"}
Search Sort Options:
relevanceβ Best matches first (default)hotβ Currently trending resultstopβ Highest upvotednewβ Most recentcommentsβ Most discussed
Time Filter Options:
allβ All time (default)hourβ Past hourdayβ Past 24 hoursweekβ Past weekmonthβ Past monthyearβ Past year
π Browse Mode
Scrape posts from a subreddit feed with your preferred sorting.
{"subreddit": "technology","filter": "hot","postCount": 25,"redditSessionCookie": "your-session-cookie-here"}
π Authentication (Two Options)
You can authenticate in two ways:
Option 1: Session Cookie (Recommended β)
Use a session cookie for faster, more reliable scraping. The cookie is valid for ~6 months.
π‘ Tip: With a valid session cookie, you can try running without a proxy β it often works! This saves costs and speeds up your scrapes.
{"subreddit": "technology","filter": "hot","postCount": 25,"redditSessionCookie": "your-session-cookie-here"}
Option 2: Email & Password
Use credentials to login (requires residential proxy). The session cookie will be printed in the logs so you can copy it for future runs.
{"subreddit": "technology","filter": "hot","postCount": 25,"redditEmail": "your-email@example.com","redditPassword": "your-password","proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}}
π How to Get Your Session Cookie
There are two ways to get your Reddit session cookie:
Method A: Run the Actor with Login (Automated)
- Run the Actor with your Reddit email/password AND a residential proxy enabled
- After successful login, look for this in the logs:
============================================================SESSION COOKIE FOR FUTURE USE (copy this value):eyJhbGciOiJSUzI1NiIsImtpZCI6IlNIQTI1N...============================================================
- Copy the entire cookie value (it's a long string)
- Save it somewhere safe β this cookie is valid for ~6 months!
Method B: Extract from Your Browser (Manual)
If you prefer not to share your password, you can grab the session cookie directly from your browser:
Chrome / Edge:
- Open Reddit and log in to your account
- Press
F12(or right-click β "Inspect") to open Developer Tools - Go to the Application tab (or "Storage" tab in some browsers)
- In the left sidebar, expand Cookies β click
https://www.reddit.com - Find the cookie named
reddit_sessionin the list - Double-click the Value column to select it, then copy the entire value
Firefox:
- Open Reddit and log in to your account
- Press
F12to open Developer Tools - Go to the Storage tab
- Expand Cookies β click
https://www.reddit.com - Find
reddit_sessionand copy its value
β οΈ Important: The cookie value is a very long encoded string (starts with something like
eyJ...). Make sure you copy the entire value β don't truncate it!
For all future runs:
- Just paste the cookie into
redditSessionCookie - No proxy needed! No login needed! Much faster!
π‘ Why use the cookie? It skips the login process entirely, making runs faster and more reliable. Reddit's login page has CAPTCHAs and rate limits that can cause failures.
Input Parameters
Search Mode Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
searchQuery | String | Search term to find posts. Enables search mode. | β |
searchSort | String | Sort results: relevance, hot, top, new, comments | relevance |
searchTimeFilter | String | Time range: all, hour, day, week, month, year | all |
Browse Mode Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
subreddit | String | Subreddit name without "r/" (required for browse, optional for search) | β |
filter | String | Post sorting: hot, new, top, rising | hot |
Common Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
postCount | Integer | Number of posts to scrape (0 = all) | 1 |
commentsPerPost | Integer | Comments per post (0 = all) | 5 |
extractDetails | Boolean | Extract full post content (text/images/videos) and comments | true |
redditSessionCookie | String | Session cookie (recommended, valid ~6 months) | β |
redditEmail | String | Reddit email/username (only needed to get cookie) | β |
redditPassword | String | Reddit password (only needed to get cookie) | β |
proxyConfiguration | Object | Proxy settings (required for login, optional with cookie) | Disabled |
π Output Example
{"id": "1h2abc3","title": "Scientists discover new renewable energy source","author": "u/sciencefan42","subreddit": "r/technology","upvotes": 15420,"commentCount": 892,"postedTime": "5 hours ago","url": "https://www.reddit.com/r/technology/comments/1h2abc3/...","details": {"fullTitle": "Scientists discover new renewable energy source that could power cities","contentType": "link","textContent": null,"imageUrl": null,"videoUrl": null,"externalUrl": "https://example.com/article","galleryUrls": []},"comments": [{"id": "kx7def8","author": "techguru99","content": "This could change everything!","upvotes": "2.1k","postedTime": "4 hours ago","depth": 0,"permalink": "/r/technology/comments/..."}]}
π― Use Cases
- Brand Monitoring β Search for your company/product name across all of Reddit
- Market Research β Track trends, sentiment, and discussions in your industry
- Content Curation β Find viral posts and popular topics for content ideas
- Competitor Analysis β Search for competitor mentions and discussions
- Academic Research β Collect data for social media studies with keyword filtering
- Lead Generation β Find engaged communities and discussions relevant to your product
βοΈ How It Works
With Session Cookie (recommended):
- Authenticate β Injects your session cookie before any navigation
- Navigate β Goes directly to your target (subreddit or search results)
- Scroll β Loads posts dynamically until reaching your target count
- Extract β Visits each post to grab full details and comments
- Output β Saves everything to a clean, structured dataset
With Email/Password:
- Login β Authenticates with your Reddit credentials using a real browser
- Log Cookie β Prints the session cookie for you to copy for future runs
- Navigate β Goes to your target subreddit or search results page
- Scroll & Extract β Same as above
Search vs Browse:
- Search Mode (
searchQueryprovided) β Navigates to Reddit's search page with your query, optionally scoped to a subreddit - Browse Mode (no
searchQuery) β Navigates directly to the subreddit feed with your chosen filter
π‘οΈ Proxy Support
When do you need a proxy?
- β First run with email/password β Required! Use residential proxy to login and get your session cookie
- β Future runs with session cookie β Not required! Cookie-based auth works without proxy
For the initial login, use residential proxies:
{"proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}}
β οΈ Important: Regular datacenter proxies will NOT work for Reddit. Always use residential proxies for the login step.
π‘ Tips
- Use the session cookie for faster, more reliable scraping (see instructions above)
- Search tip: Use quotes in
searchQueryfor exact phrase matching (e.g.,"data center") - Search tip: Combine
searchQuerywithsubredditto search within a specific community - Start with a small
postCount(5-10) to test your setup - Use
commentsPerPost: 0to get ALL comments (slower but complete) - Enable
extractDetailsfor text posts, images, and video URLs - First run: Use residential proxy with email/password to get your session cookie
- Future runs: Use session cookie only β no proxy needed!
π Legal & Ethical Use
This Actor is intended for legitimate data collection purposes. Please:
- Respect Reddit's Terms of Service
- Don't scrape personal or sensitive information
- Use reasonable delays and limits
- Comply with applicable data protection laws
π€ Support
Having issues? Found a bug? Want a feature?
- Open an issue on the Actor's page
- Contact the developer through Apify
Built by nocodeventure β’ Made with β€οΈ for the Apify community