Instagram Comment Scraper avatar

Instagram Comment Scraper

Pricing

from $2.99 / 1,000 results

Go to Apify Store
Instagram Comment Scraper

Instagram Comment Scraper

Scrape Instagram comments from posts or reels. Just add one or more Instagram post URLs to get comment text, post and comment IDs, replies, timestamp, owner IDs, usernames, profile pics. Export scraped datasets, run the scraper via API, schedule and monitor runs or integrate with other tools.

Pricing

from $2.99 / 1,000 results

Rating

0.0

(0)

Developer

ScrapeAI

ScrapeAI

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Instagram Comment Scraper 💬

Extract comments and replies from Instagram posts or reels effortlessly. Just input one or more Instagram post or reel URLs to scrape comment text, post & comment IDs, nested replies, timestamp, commenter profile pics, usernames, owner IDs, and verification status.


🌟 Key Features

  • Post & Reel Support: Extract comments from regular image posts, carousels, and Instagram Reels.
  • Rich Comment Data: Retrieve comment text, comment ID, parent ID, creation timestamp, and likes count.
  • User & Profile Details: Extract commenter username, display name, user ID, profile picture URL, and verified status.
  • Nested Replies Extraction: Option to scrape nested comment replies with configurable limits (includeReplies & maxReplies).
  • Flexible Export: Export your datasets in JSON, CSV, Excel, XML, or HTML formats.
  • API & Integrations: Run programmatically via Apify API, webhooks, or schedule automated recurring runs.

📥 Input Parameters

ParameterTypeRequiredDefaultDescription
directUrlsArrayYes[]List of Instagram post or reel URLs (e.g., https://www.instagram.com/p/C3x9Z1yL8kM/).
resultsLimitIntegerNo20Maximum number of top-level comments to scrape per post.
includeRepliesBooleanNotrueWhether to extract reply comments for each comment.
maxRepliesIntegerNo3Maximum number of replies to fetch per comment.
proxyConfigurationObjectNoautoApify proxy settings (Residential proxies recommended).
debugLogBooleanNofalseEnable verbose debugging logs.

Example Input JSON

{
"directUrls": [
"https://www.instagram.com/p/C3x9Z1yL8kM/",
"https://www.instagram.com/reel/C8XyZ9vN2kP/"
],
"resultsLimit": 10,
"includeReplies": true,
"maxReplies": 2,
"debugLog": false
}

📤 Output Data Format

The scraped data is saved to the default dataset. Below is an example of an extracted comment object:

{
"id": "c_C3x9Z1yL8kM_14523",
"text": "This is absolutely stunning! Love the details in this post. 🔥",
"postId": "post_C3x9Z1yL8kM_1854",
"postShortCode": "C3x9Z1yL8kM",
"postUrl": "https://www.instagram.com/p/C3x9Z1yL8kM/",
"ownerId": "user_id_4821",
"ownerUsername": "user_4821",
"ownerFullName": "User 4821",
"ownerProfilePicUrl": "https://instagram.fcdn.net/v/t51.2885-19/s150x150/4821_avatar.jpg",
"ownerIsVerified": false,
"likesCount": 42,
"repliesCount": 2,
"replies": [
{
"id": "c_C3x9Z1yL8kM_14523_reply_1",
"parentCommentId": "c_C3x9Z1yL8kM_14523",
"postId": "post_C3x9Z1yL8kM_1854",
"postShortCode": "C3x9Z1yL8kM",
"text": "Totally agree with you!",
"ownerId": "user_id_9120",
"ownerUsername": "replier_9120",
"ownerFullName": "Replier 9120",
"ownerProfilePicUrl": "https://instagram.fcdn.net/v/t51.2885-19/s150x150/reply_9120.jpg",
"ownerIsVerified": true,
"likesCount": 5,
"timestamp": "2026-08-06T13:30:00.000Z"
}
],
"timestamp": "2026-08-06T11:00:00.000Z",
"scrapedAt": "2026-08-06T15:13:00.000Z"
}

⚡ How to Run via Apify API

You can trigger runs of this Actor using the Apify API:

curl -X POST "https://api.apify.com/v2/acts/instagram-comment-scraper/runs?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"directUrls": ["https://www.instagram.com/p/C3x9Z1yL8kM/"],
"resultsLimit": 25,
"includeReplies": true
}'

🔒 License & Support

For issues, custom features, or questions, please open an issue in the Apify Console or repository.