Reddit API Scraper
by comchat
Reddit Scraper is a powerful tool that allows you to extract data from Reddit such as posts by keyword. With Reddit Scraper, you can easily gather val...
Opens on Apify.com
About Reddit API Scraper
Reddit Scraper is a powerful tool that allows you to extract data from Reddit such as posts by keyword. With Reddit Scraper, you can easily gather valuable information from Reddit without the need to log in. You can easily use this Reddit scraper as an alternative API.
What does this actor do?
Reddit API Scraper 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
What is Reddit API Scraper? Reddit API Scraper is a web scraping tool created to extract data from Reddit such as posts and user details by keyword. It can also scrape posts in specific subreddits. This Search API doesn’t need Reddit API keys and is a good fit for you if you need to: - scrape posts from Reddit search by keywords - scrape posts from subreddits by keywords - sort Reddit data by top, newest, most relevant, or most comments first - get up to 250 results per search term - export Reddit data via API or download in JSON, Excel, CSV formats ## What data can I extract from Reddit? With this Reddit API, you will be able to extract the following data from Reddit:
| 📌 Reddit posts | 💬 Reddit comments |
| 👤 User details | 🔍 Subreddit details |
| 📃 Post title and text | ⏱ Timestamps |
| 🔗 Post URL | 🌠 Image URL |
| 🌐 Community URL | 📚 Category |
json { "over18": true, "proxy": { "useApifyProxy": true, "apifyProxyGroups": [ "RESIDENTIAL" ] }, "resultsLimit": 5, "searchList": [ "lake" ], "sortBy": "new", "subRedditList": [ "explainlikeimfive" ] } ## ⬆️ Output example The scraped results will be shown as a dataset which you can find in the Storage tab. Note that the output will be organized as a table for viewing convenience. Here’s a JSON example of one scraped place on Reddit with all the details. You can preview all the fields and download the file with Reddit data in various formats (JSON, CSV, Excel, and more). json { "metaData": { "keyword": "lake", "subRedditName": "explainlikeimfive" }, "id": "15bwpbo", "subreddit": "IdahoNSFW", "title": "Any F or MF looking to hang out on a boat out on lake couer d alene?", "subreddit_name_prefixed": "r/IdahoNSFW", "name": "t3_15bwpbo", "link_flair_text_color": "dark", "subreddit_type": "public", "author_fullname": "t2_61mm5fwpd", "crosspost_parent_list": [ { "approved_at_utc": null, "subreddit": "IdahoSwingers", "selftext": "Taking boat out on the lake this weekend and looking for someone to share in the sun and fun. Maybe boat up to Harrison and take in the sites and have a lot of fun.\nHit me up🏴☠️ SM 6’3 athletic and got looking to enjoy the sun", "author_fullname": "t2_61mm5fwpd", "saved": false, "mod_reason_title": null, "gilded": 0, "clicked": false, "title": "Any F or MF looking to hang out on a boat out on lake couer d alene?", "link_flair_richtext": [], "subreddit_name_prefixed": "r/IdahoSwingers", "hidden": false, "pwls": null, "link_flair_css_class": null, "downs": 0, "top_awarded_type": null, "hide_score": true, "name": "t3_15bwo7l", "quarantine": false, "link_flair_text_color": "dark", "upvote_ratio": 1, "author_flair_background_color": null, "subreddit_type": "public", "ups": 1, "total_awards_received": 0, "media_embed": {}, "author_flair_template_id": null, "is_original_content": false, "user_reports": [], "secure_media": null, "is_reddit_media_domain": true, "is_meta": false, "category": null, "secure_media_embed": {}, "link_flair_text": null, "can_mod_post": false, "score": 1, "approved_by": null, "is_created_from_ads_ui": false, "author_premium": false, "thumbnail": "", "edited": false, "author_flair_css_class": null, "author_flair_richtext": [], "gildings": {}, "content_categories": null, "is_self": false, "mod_note": null, "created": 1690548845, "link_flair_type": "text", "wls": null, "removed_by_category": null, "banned_by": null, "author_flair_type": "text", "domain": "i.redd.it", "allow_live_comments": false, "selftext_html": "<!-- SC_OFF --><div class=\"md\"><p>Taking boat out on the lake this weekend and looking for someone to share in the sun and fun. Maybe boat up to Harrison and take in the sites and have a lot of fun.\nHit me up🏴☠️ SM 6’3 athletic and got looking to enjoy the sun</p>\n</div><!-- SC_ON -->", "likes": null, "suggested_sort": null, "banned_at_utc": null, "url_overridden_by_dest": "https://i.redd.it/qbhmjksndpeb1.jpg", "view_count": null, "archived": false, "no_follow": true, "is_crosspostable": false, "pinned": false, "over_18": true, "all_awardings": [], "awarders": [], "media_only": false, "can_gild": false, "spoiler": false, "locked": false, "author_flair_text": null, "treatment_tags": [], "visited": false, "removed_by": null, "num_reports": null, "distinguished": null, "subreddit_id": "t5_39269d", "author_is_blocked": false, "mod_reason_by": null, "removal_reason": null, "link_flair_background_color": "", "id": "15bwo7l", "is_robot_indexable": true, "report_reasons": null, "author": "tombraider6869", "discussion_type": null, "num_comments": 0, "send_replies": true, "whitelist_status": null, "contest_mode": false, "mod_reports": [], "author_patreon_flair": false, "author_flair_text_color": null, "permalink": "/r/IdahoSwingers/comments/15bwo7l/any_f_or_mf_looking_to_hang_out_on_a_boat_out_on/", "parent_whitelist_status": null, "stickied": false, "url": "https://i.redd.it/qbhmjksndpeb1.jpg", "subreddit_subscribers": 10657, "created_utc": 1690548845, "num_crossposts": 3, "media": null, "is_video": false } ], "link_flair_type": "text", "author_flair_type": "text", "domain": "i.redd.it", "url_overridden_by_dest": "https://i.redd.it/qbhmjksndpeb1.jpg", "subreddit_id": "t5_526k6l", "author": "tombraider6869", "crosspost_parent": "t3_15bwo7l", "permalink": "/r/IdahoNSFW/comments/15bwpbo/any_f_or_mf_looking_to_hang_out_on_a_boat_out_on/", "url": "https://i.redd.it/qbhmjksndpeb1.jpg" }, { "metaData": { "keyword": "lake", "subRedditName": "explainlikeimfive" }, "id": "15bwowb", "subreddit": "r4rbrisbane", "selftext": "(M4F)", "author_fullname": "t2_qa4p5tsc", "title": "26 kiwi male looking for older female to show a good time DM is open (forest lake area) 😏", "subreddit_name_prefixed": "r/r4rbrisbane", "name": "t3_15bwowb", "link_flair_text_color": "dark", "subreddit_type": "public", "link_flair_type": "text", "author_flair_type": "text", "domain": "self.r4rbrisbane", "selftext_html": "<!-- SC_OFF --><div class=\"md\"><p>(M4F)</p>\n</div><!-- SC_ON -->", "subreddit_id": "t5_2ut7l", "author": "New_Stable3679", "permalink": "/r/r4rbrisbane/comments/15bwowb/26_kiwi_male_looking_for_older_female_to_show_a/", "url": "https://old.reddit.com/r/r4rbrisbane/comments/15bwowb/26_kiwi_male_looking_for_older_female_to_show_a/" }, { "metaData": { "keyword": "lake", "subRedditName": "explainlikeimfive" }, "id": "15bworq", "subreddit": "madisonwi", "selftext": "I see tons of construction equipment there. Are they building something on this prime waste of space or is this just a staging area for some other purpose?", "author_fullname": "t2_uw61dro9", "title": "What’s going on with the big parking lot on East Wash by the Capitol?", "subreddit_name_prefixed": "r/madisonwi", "name": "t3_15bworq", "link_flair_text_color": "dark", "subreddit_type": "public", "link_flair_type": "text", "author_flair_type": "text", "domain": "i.redd.it", "selftext_html": "<!-- SC_OFF --><div class=\"md\"><p>I see tons of construction equipment there. Are they building something on this prime waste of space or is this just a staging area for some other purpose?</p>\n</div><!-- SC_ON -->", "url_overridden_by_dest": "https://i.redd.it/yxs39rmsdpeb1.jpg", "subreddit_id": "t5_2r8rz", "author": "scottjones608", "whitelist_status": "all_ads", "permalink": "/r/madisonwi/comments/15bworq/whats_going_on_with_the_big_parking_lot_on_east/", "parent_whitelist_status": "all_ads", "url": "https://i.redd.it/yxs39rmsdpeb1.jpg" }, { "metaData": { "keyword": "lake", "subRedditName": "explainlikeimfive" }, "id": "15bwo7l", "subreddit": "IdahoSwingers", "selftext": "Taking boat out on the lake this weekend and looking for someone to share in the sun and fun. Maybe boat up to Harrison and take in the sites and have a lot of fun.\nHit me up🏴☠️ SM 6’3 athletic and got looking to enjoy the sun", "author_fullname": "t2_61mm5fwpd", "title": "Any F or MF looking to hang out on a boat out on lake couer d alene?", "subreddit_name_prefixed": "r/IdahoSwingers", "name": "t3_15bwo7l", "link_flair_text_color": "dark", "subreddit_type": "public", "link_flair_type": "text", "author_flair_type": "text", "domain": "i.redd.it", "selftext_html": "<!-- SC_OFF --><div class=\"md\"><p>Taking boat out on the lake this weekend and looking for someone to share in the sun and fun. Maybe boat up to Harrison and take in the sites and have a lot of fun.\nHit me up🏴☠️ SM 6’3 athletic and got looking to enjoy the sun</p>\n</div><!-- SC_ON -->", "url_overridden_by_dest": "https://i.redd.it/qbhmjksndpeb1.jpg", "subreddit_id": "t5_39269d", "author": "tombraider6869", "permalink": "/r/IdahoSwingers/comments/15bwo7l/any_f_or_mf_looking_to_hang_out_on_a_boat_out_on/", "url": "https://i.redd.it/qbhmjksndpeb1.jpg" }, { "metaData": { "keyword": "lake", "subRedditName": "explainlikeimfive" }, "id": "15bwlsf", "subreddit": "dirtyr4r", "selftext": "I recently took time off to write a novel, currently staying at a secluded lake house so also trying to socialize! But I’m mainly looking to meet people with interesting stories to tell, or with interesting things to share. Message and inspire me?", "author_fullname": "t2_geq8ixnog", "title": "32 [M4F] NC - Writer seeking inspiration or more", "subreddit_name_prefixed": "r/dirtyr4r", "name": "t3_15bwlsf", "link_flair_text_color": "light", "subreddit_type": "public", "link_flair_text": "male", "link_flair_type": "text", "author_flair_type": "text", "domain": "self.dirtyr4r", "selftext_html": "<!-- SC_OFF --><div class=\"md\"><p>I recently took time off to write a novel, currently staying at a secluded lake house so also trying to socialize! But I’m mainly looking to meet people with interesting stories to tell, or with interesting things to share. Message and inspire me?</p>\n</div><!-- SC_ON -->", "link_flair_template_id": "d897238a-545a-11eb-8db1-0e23163a9deb", "subreddit_id": "t5_2vqun", "link_flair_background_color": "#0079d3", "author": "moonglowing", "permalink": "/r/dirtyr4r/comments/15bwlsf/32_m4f_nc_writer_seeking_inspiration_or_more/", "url": "https://old.reddit.com/r/dirtyr4r/comments/15bwlsf/32_m4f_nc_writer_seeking_inspiration_or_more/" }] ## ❓ FAQ ### Do I need proxies to scrape Reddit? If you run the scraper on the Apify platform, for successful Reddit scraping you will need residential proxies which are included in Apify's monthly Starter plan ($49). For more details about how our pricing works, platform credits, proxies, and usage, see the platform pricing page. ### Want to scrape Reddit by URLs? If you want to scrape Reddit data by direct URLs, for example, you can try out a Reddit scraper made by another developer. ### Can I integrate this Reddit scraper with other apps? Yes. Reddit Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, LangChain, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Reddit Scraper successfully finishes a run. ### Can I use Reddit Scraper data with API? Yes. You can do so using the Apify API which will enable you to manage, schedule, and run Apify scrapers, including this one. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more. To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package. Check out the Apify API reference docs for full details or click on the API tab for code examples. ### Is it legal to scrape Reddit data? It is legal to scrape publicly available data. However, you should be aware that the results from your Reddit web scraping might contain personal information. Personal data is protected by GDPR (EU Regulation 2016/679), and by other regulations around the world. Generally, you should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, please consult your lawyers. You can also read our blog post on the legality of web scraping.
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 API Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- comchat
- Pricing
- Paid
- Total Runs
- 17,877
- Active Users
- 1,410
Related Actors
🏯 Tweet Scraper V2 - X / Twitter Scraper
by apidojo
Instagram Scraper
by apify
TikTok Scraper
by clockworks
Instagram Profile Scraper
by apify
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