Loading...
Loading...
Extracts 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.
npx skill4agent add apidojo-io/apidojo-skills scraping-instagram-comments| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| array | Optional | | Instagram post URLs |
| array | Optional | | Instagram post IDs |
| number | Optional | Unlimited | Maximum comments to return |
| 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 jsoncurl -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}'call_actorapidojo~instagram-comments-scraper| Field | Type | Description |
|---|---|---|
| string | Parent post ID |
| string | Always |
| string | Comment ID |
| string | Commenter user ID |
| string | Comment text |
| string | Comment timestamp (ISO 8601) |
| number | Likes on comment |
| number | Number of replies |
| string | Commenter ID |
| string | Commenter @username |
| string | Commenter full name |
| string | Commenter profile picture |
| boolean | Whether comment is ranked/top |