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 ...
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
- 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
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).
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 Comment Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- crawlerbros
- Pricing
- Paid
- Total Runs
- 26
- Active Users
- 11
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