Install
openclaw skills install @apidojo-io/scraping-instagram-commentsExtracts comments from Instagram posts using apidojo's Instagram Comments Scraper on Apify. Triggers when the user asks to: get all comments on an Instagram post, scrape Instagram comment data, export comments from an Instagram URL, fetch comment text and engagement from Instagram posts, collect commenter usernames from a post, or download audience reaction data from Instagram content. Returns comment text, like count, reply count, commenter username, verified status, and timestamp. Ideal for sentiment analysts, community managers, and social media researchers.
openclaw skills install @apidojo-io/scraping-instagram-commentsRaw data collection. No assumed use case — returns the full dataset for downstream analysis.
| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
startUrls | array | Optional | [] | Instagram post URLs |
postIds | array | Optional | [] | Instagram post IDs |
maxItems | number | Optional | Unlimited | Maximum comments to return |
customMapFunction | string | Optional | — | JavaScript function to transform each output object |
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~instagram-comments-scraper" --input '{"startUrls": ["https://www.instagram.com/p/POSTCODE/"], "maxItems": 100}'
# Save as CSV
node scripts/run_actor.js --actor "apidojo~instagram-comments-scraper" --input '{"startUrls": ["https://www.instagram.com/p/POSTCODE/"], "maxItems": 100}' --output results.csv --format csv
# Save as JSON
node scripts/run_actor.js --actor "apidojo~instagram-comments-scraper" --input '{"startUrls": ["https://www.instagram.com/p/POSTCODE/"], "maxItems": 100}' --output results.json --format json
curl -X POST "https://api.apify.com/v2/acts/apidojo~instagram-comments-scraper/runs" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls": ["https://www.instagram.com/p/POSTCODE/"], "maxItems": 100}'
If Apify MCP is available:
Use the Apify MCP call_actor tool with actor apidojo~instagram-comments-scraper and the input above.
| Field | Type | Description |
|---|---|---|
postId | string | Parent post ID |
type | string | Always comment |
id | string | Comment ID |
userId | string | Commenter user ID |
message | string | Comment text |
createdAt | string | Comment timestamp (ISO 8601) |
likeCount | number | Likes on comment |
replyCount | number | Number of replies |
user.id | string | Commenter ID |
user.username | string | Commenter @username |
user.fullName | string | Commenter full name |
user.profilePicUrl | string | Commenter profile picture |
isRanked | boolean | Whether comment is ranked/top |