Reddit UnOfficial API
Pricing
Pay per event
Pricing
Pay per event
Rating
5.0
(2)
Developer

Ahmed Elhadidi
Actor stats
2
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
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
- Install a browser extension like "Cookie-Editor" Link: https://chromewebstore.google.com/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm?hl=en-US&utm_source=ext_sidebar
- Log in to Reddit
- Open the extension and export cookies as JSON
- 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
| 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.