Reddit UnOfficial API
by hadidiz
Reddit API Post and Comment and Scrapers
Opens on Apify.com
About Reddit UnOfficial API
Reddit API Post and Comment and Scrapers
What does this actor do?
Reddit UnOfficial API is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Reddit UnOfficial API Not Just a Scraper. A powerful Reddit automation tool to interact with Reddit programmatically. ## đ Features - đ Scrape Posts - Fetch posts from subreddits or user profiles - đ Create Posts - Create new posts in any subreddit - đŦ Comment on Posts - Add comments to Reddit threads - âŠī¸ Reply to Comments - Reply to specific comments - đĄī¸ Anti-Detection - Advanced techniques to avoid bot detection - đ Proxy Support - Residential & Datacenter proxy options --- ## īŋŊ Examples for Each Mode ### đ Scrape Mode Fetch posts from a subreddit or user profile. json { "mode": "scrape", "target": "python", "scrape_type": "subreddit", "sort": "hot", "time_filter": "week", "limit": 25 } Scraping a user's posts: json { "mode": "scrape", "target": "spez", "scrape_type": "user", "sort": "top", "time_filter": "all", "limit": 50 } --- ### đ Create Post Mode Create a new post in a subreddit. Requires cookies. json { "mode": "Create_Post", "target": "test", "title": "My First Automated Post", "body": "This post was created using Reddit UnOfficial API!", "flair": "Discussion", "proxyType": "residential", "proxyCountry": "US", "cookies": [ {"name": "token_v2", "value": "your_token_here", "domain": ".reddit.com"}, {"name": "reddit_session", "value": "your_session_here", "domain": ".reddit.com"} ] } --- ### đŦ Comment on Post Mode Add a comment to an existing post. Requires cookies. json { "mode": "Comment_on_Post", "target": "https://www.reddit.com/r/test/comments/abc123/some_post_title/", "text": "Great post! Thanks for sharing.", "proxyType": "residential", "proxyCountry": "US", "cookies": [ {"name": "token_v2", "value": "your_token_here", "domain": ".reddit.com"} ] } --- ### âŠī¸ Reply to Comment Mode Reply to a specific comment. Requires cookies. json { "mode": "Reply_to_A_Comment", "target": "https://www.reddit.com/r/test/comments/abc123/some_post_title/xyz789/", "text": "I agree with your point!", "proxyType": "residential", "proxyCountry": "AUTO", "cookies": [ {"name": "token_v2", "value": "your_token_here", "domain": ".reddit.com"} ] } > â ī¸ Note: Comment URLs include the comment ID at the end (e.g., /xyz789/). Post URLs don't have this extra segment. --- ## đĒ How to Get Cookies 1. Install a browser extension like "Cookie-Editor" Link: https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm?hl=en-US&utm_source=ext_sidebar 2. Log in to Reddit 3. Open the extension and export cookies as JSON 4. Paste the JSON into the Cookies input field Accepted formats: json // Browser export format (recommended) [ {"name": "token_v2", "value": "...", "domain": ".reddit.com"}, {"name": "reddit_session", "value": "...", "domain": ".reddit.com"} ] // Simple format { "token_v2": "...", "reddit_session": "..." } --- ## đ Proxy Options | Type | Best For | Country Support | |------|----------|-----------------| | Residential | Automation (lower detection) | All countries | | Datacenter | Scraping (budget option) | AUTO only | --- ## đĻ Output - Scraping: Returns list of posts with title, author, score, comments, URL, etc. - Automation: Returns success status, message, post/comment ID, permalink --- ## â ī¸ Disclaimer This tool is for educational and research purposes. Please respect Reddit's Terms of Service. Use automation responsibly to avoid account bans.
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Reddit UnOfficial API now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- hadidiz
- Pricing
- Paid
- Total Runs
- 20
- Active Users
- 2
Related Actors
Video Transcript Scraper: Youtube, X, Facebook, Tiktok, etc.
by invideoiq
Linkedin Profile Details Scraper + EMAIL (No Cookies Required)
by apimaestro
Twitter (X.com) Scraper Unlimited: No Limits
by apidojo
Content Checker
by jakubbalada
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support