Instagram Comment Scraper
Pricing
from $5.00 / 1,000 results
Go to Apify Store
Under maintenance
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.
Pricing
from $5.00 / 1,000 results
Rating
5.0
(2)
Developer

Crawler Bros
Maintained by Community
Actor stats
0
Bookmarked
11
Total users
6
Monthly active users
14 days ago
Last modified
Categories
Share
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.
-
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).
-
Provide cookies:
- Option A (Recommended): Paste the JSON array into the
cookiesinput field.
- Option A (Recommended): Paste the JSON array into the
How to Run
Input Configuration
Example input configuration:
{"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:
{"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).