Instagram All Comments Scraper
Pricing
Pay per usage
Instagram All Comments Scraper
Don’t Miss a Single Word. 🔍 Most tools fail after the first few comments. We deliver the full dataset—every comment, every time. If you need a fully automated system to monitor and collect comments from multiple accounts on a custom schedule, I can help. 📩 Reach out: mstfrsy@gmail.com
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Mustafa
Actor stats
0
Bookmarked
13
Total users
5
Monthly active users
24 days ago
Last modified
Categories
Share
Unrivaled Instagram Comment Scraper 🕷️
The most robust Instagram comment scraper on Apify. While others fail on long comments or Reels UI, this Actor extracts every single comment perfectly.
How it Works
- Input: Takes an Instagram post/reel URL as input.
- Execution: Opens the page using Playwright (headless Chrome).
- Extraction: Collects all comments through a combination of API interception and robust DOM scraping.
- Output: Automatically saves all gathered comments to your Apify Dataset.
Why Choose This Scraper?
- Unrivaled Accuracy: Full text extraction without UI noise.
- Mobile-First Logic: Bypasses common blocks with advanced emulation.
- Deep Discovery: Aggressively expands sections others miss.
- "Perfect Extraction": Flawlessly handles the latest UI variations.
How to Use
1. Enter Post URL
Paste the link to the Instagram post or Reel.
2. Authenticate (One of two ways)
- Session ID (Recommended): Provide your
sessionidcookie value. - Direct Login: Enter your Instagram
usernameandpassword.
How to get Session ID:
- Log in to Instagram.com in your browser.
- Press F12 -> Application -> Cookies.
- Copy the Value of the
sessionidcookie.
3. Click "Start"
Run the Actor to collect every comment into your dataset.
Input Parameters
| Parameter | Type | Required | Default | Description |
|-----------|------|-----|-------------|
| postUrl | string | ✅ | Link to the Post/Reel |
| sessionCookie | string | ❌ | Your sessionid cookie |
| username | string | ❌ | Instagram Username |
| password | string | ❌ | Instagram Password |
| maxComments | int | ❌ | Max comments (Default: 500) |
Output (Dataset)
Each comment is saved as a separate row in the dataset including:
- Post URL
- Author (Username)
- Comment Text
- Timestamp
Local Development
1. Install Dependencies
$npm install
2. Build TypeScript
$npm run build
3. Run Locally
$npm start
Deploy to Apify
Push the code to Apify using the Apify CLI:
$apify push
Technology Stack
- Runtime: Node.js 18+
- Scraping: Playwright (headless Chrome)
- Platform: Apify Actor
- Language: TypeScript
Custom Monitoring & Analysis
If you need a tailored application to track and analyze comments from all accounts you follow over specific time periods, we can build a custom solution for you. Contact: mstfrsy@gmail.com
Designed for perfection.


