Reddit UnOfficial API

Reddit UnOfficial API

by hadidiz

Reddit API Post and Comment and Scrapers

20 runs
2 users
Try This Actor

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

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. 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.

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 Trial

Actor Information

Developer
hadidiz
Pricing
Paid
Total Runs
20
Active Users
2
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support