Reddit UnOfficial API avatar

Reddit UnOfficial API

Under maintenance

Pricing

from $2.00 / 1,000 scrape-results

Go to Apify Store
Reddit UnOfficial API

Reddit UnOfficial API

Under maintenance

Reddit API Post and Comment and Scrapers

Pricing

from $2.00 / 1,000 scrape-results

Rating

5.0

(1)

Developer

Ahmed Elhadidi

Ahmed Elhadidi

Maintained by Community

Actor stats

2

Bookmarked

12

Total users

1

Monthly active users

a year ago

Last modified

Security

Limited permissions

Share

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.

{
"mode": "scrape",
"target": "python",
"scrape_type": "subreddit",
"sort": "hot",
"time_filter": "week",
"limit": 25
}

Scraping a user's posts:

{
"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.

{
"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.

{
"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.

{
"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:

// 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

TypeBest ForCountry Support
ResidentialAutomation (lower detection)All countries
DatacenterScraping (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.