Instagram Comments Scraper

Instagram Comments Scraper

by apify

Need to pull Instagram comments for research, analysis, or monitoring? This scraper is built to do exactly that, without the fuss. Simply paste in the...

3,305,493 runs
21,472 users
Try This Actor

Opens on Apify.com

About Instagram Comments Scraper

Need to pull Instagram comments for research, analysis, or monitoring? This scraper is built to do exactly that, without the fuss. Simply paste in the URLs for Instagram posts or reels, and it will extract the full conversation for you. You'll get the complete comment data: the text of each comment and reply, unique post and comment IDs, timestamps, and the commenter's details like their username, owner ID, and profile picture URL. It captures the entire thread, so you don't miss any nested replies. I use this to export clean datasets directly to formats like JSON or CSV for further analysis. It's incredibly handy for sentiment tracking, understanding audience engagement, or gathering user-generated content. You can run it on-demand through the Apify platform, schedule it to collect data regularly, or trigger it via the API to integrate it into your own workflows and tools. It just works, giving you reliable access to Instagram comment data whenever you need it.

What does this actor do?

Instagram Comments 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

  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

What is Instagram Comment Scraper? Instagram Comment Scraper allows you to extract comments from one or more Instagram post URLs. ## How many results can you scrape with Instagram Comments Scraper? The scraper extracts only the comments shown to Instagram users who are not logged in. That means the results may differ from what you see when logged in to your Instagram account. To try it out, open an incognito window in your browser and copy the post URL. The comments you see there are the ones this Actor will save to a dataset. Usually, the scraper delivers as many comments and replies as it can access. However, scraping Instagram is dynamic and subject to change. There’s no one-size-fits-all number for all use cases. The maximum number of results may vary depending on the complexity of the input, location, and other factors. While we regularly run Actor tests to keep benchmarks in check, results may still fluctuate unexpectedly. The best way to know what to expect for your particular use case is to do a test run yourself. ## Why scrape Instagram comments? Scraping comments on Instagram posts can give you quick insights into how an audience is reacting to marketing campaigns and enable you to spot misinformation or abuse, track audience engagement, or help you monitor how competing content is being received. ## How to scrape Instagram comments and likes Instagram Comment Scraper is designed to be fast and easy to use so there aren't too many parameters or settings. Just follow the steps below: 1. Create a free Apify account. 2. Open Instagram Comment Scraper. 3. Add one or more Instagram post URLs to scrape. 4. Click Start and wait for the datasets to be extracted. 5. Download your data in JSON, XML, CSV, Excel, or HTML. ## Instagram Comment Scraper tutorial If you want more guidance on how to use Instagram Comment Scraper, this video tutorial shows you how to do it in just a few minutes. https://www.youtube.com/watch?v=LY76G1G1_xE ## How much will scraping Instagram comments cost you? This scraper uses a pay-per-result pricing model, so costs are simple to calculate: it will cost you $2.30 to scrape 1,000 Instagram comments, which comes to $0.0023 per comment. With the Apify Free plan, you get $5 free usage credits each month, allowing you to scrape over 2,100 Instagram comments for free with those credits. For regular data extraction, we recommend the $49/month Starter plan — this would let you scrape over 21,000 Instagram comments every month. ## Is it legal to scrape Instagram comments? Our Instagram scrapers are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our scrapers, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog posts on the legality of web scraping and ethical scraping. ## Integrations and Instagram Comment Scraper Instagram Comment Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. Integrate with Make, 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 Instagram Profile Scraper successfully finishes a run. ## Using Instagram Comment Scraper with the Apify API The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. 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. ## Input example The input for Instagram Comment Scraper should be JSON containing the Instagram username or usernames you want to scrape. json { "directUrls": ["https://www.instagram.com/p/CH-MgQOn-7E/"], "resultsLimit": 24 } ## Output example The structure of each item in Instagram posts when scrolling looks like this: json { "id": "17949788698583607", "postId": "CH-MgQOn-7E", "text": "Imagine scrolling to find the end of these comments!😂", "position": 20, "timestamp": "2021-11-19T13:54:13.000Z", "ownerId": "47340566177", "ownerIsVerified": false, "ownerUsername": "gabriel2005120", "ownerProfilePicUrl": "https://scontent-msp1-1.cdninstagram.com/v/t51.2885-19/s150x150/217945584_120518610274794_7725650845991377322_n.jpg?_nc_ht=scontent-msp1-1.cdninstagram.com&_nc_cat=106&_nc_ohc=vJx0Cg9blGUAX9QrHVC&edm=AABBvjUBAAAA&ccb=7-4&oh=9d6174f78b6feee553d365b2c66d22b4&oe=61A5CE72&_nc_sid=83d603" } You can manage the results in any language (Python, PHP, Node.js/NPM). See the Apify API docs to learn more about getting results from the Instagram scraper. ## Integrations and Instagram Comment Scraper Last but not least, Instagram Comment Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, 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 Instagram API Scraper successfully finishes a run. ## Using Instagram Comment Scraper with the Apify API The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. 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. ## Want to scrape Instagram hashtags, posts, or profiles? You can use the other dedicated scrapers below if you want to scrape specific Instagram data. You'll have fewer settings to change and faster results. Just enter one or more Instagram usernames or URLs and click to scrape.
#️⃣ Instagram Hashtag Scraper 📷 Instagram Post Scraper
👤 Instagram Profile Scraper Quick Instagram Posts Checker
🏷️ Instagram Mentions Scraper 🎞️ Instagram Reel Scraper
👥 Instagram Followers Count Scraper 📊 Instagram Hashtag Stats
## Need something more advanced? Try our more advanced Instagram Scraper or Instagram API Scraper if you need more options and are comfortable with changing settings. ## Not your cup of tea? Build your own scraper Instagram Comments scraper doesn’t exactly do what you need? You can always build your own! We have various scraper templates in Python, JavaScript, and TypeScript to get you started. Alternatively, you can write it from scratch using our open-source library Crawlee. You can keep the scraper to yourself or make it public by adding it to Apify Store (and find users for it). Or let us know if you need a custom scraping solution. ## Your feedback We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for Instagram Comments scraper or simply found a bug, please create an issue on the Actor’s Issues tab in Apify Console.

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 Instagram Comments Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
apify
Pricing
Paid
Total Runs
3,305,493
Active Users
21,472
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