Instagram Comment Scraper

Instagram Comment Scraper

by crawlerbros

Extract comments from Instagram posts and reels with complete metadata including replies, likes, and author details. Features smart pagination, reply ...

26 runs
11 users
Try This Actor

Opens on Apify.com

About Instagram Comment Scraper

Extract comments from Instagram posts and reels with complete metadata including replies, likes, and author details. Features smart pagination, reply threading, and safe browser automation.

What does this actor do?

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

Instagram Comment Scraper Extract comments from Instagram posts and reels with complete metadata (author, likes, replies, timestamps). ## Features - Complete Data: Extracts text, author info, likes, replies, and timestamps. - Reply Threading: Automatically expands and captures nested replies. - Smart Pagination: Handles "Load More" buttons to get as many comments as possible. - Safe & Reliable: Uses browser automation with built-in rate limiting. ## Setup & Authentication This scraper requires Instagram cookies to work. 1. Get your cookies: * Log into Instagram.com in your browser. * Open Developer Tools (F12) -> Application -> Cookies. * Copy the cookies for https://www.instagram.com. * Format them as a JSON array (or use a browser extension like "EditThisCookie" to export as JSON). 2. Provide cookies: * Option A (Recommended): Paste the JSON array into the cookies input field. ## How to Run ### Input Configuration Example input configuration: json { "postUrls": [ "https://www.instagram.com/p/C4g4BqBPrXx/" ], "maxCommentsPerPost": 100, "includeReplies": true, "maxRepliesPerComment": 20 } ### Parameters | Parameter | Type | Default | Description | | :--- | :--- | :--- | :--- | | postUrls | Array | [] | List of Instagram post/reel URLs. | | maxCommentsPerPost | Integer | 100 | Max comments to scrape per post. Set to 0 for unlimited. | | includeReplies | Boolean | true | Whether to expand and scrape replies. | | cookies | Array | [] | Your Instagram cookies (JSON format). | ## Output The scraper produces a dataset where each item represents a comment: json { "comment_id": "1798...", "comment_text": "Great post!", "author_username": "user123", "likes_count": 42, "is_reply": false, "created_at": "2024-03-20T10:00:00" } ## Troubleshooting - No comments extracted? Check if your cookies are valid and not expired. Try logging out and back in to refresh them. - "Login required"? Your cookies might be invalid. Update them. - Missing comments? For posts with thousands of comments, the scraper extracts the most recent/relevant ones first (typically ~30-50).

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

Start Free Trial

Actor Information

Developer
crawlerbros
Pricing
Paid
Total Runs
26
Active Users
11
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