VOOZH about

URL: https://apify.com/thenetaji/instagram-media-comments-scraper

⇱ Instagram Comments Scraper Β· Apify


Pricing

Pay per event

Go to Apify Store

Instagram Comments Scraper

Scrape instagram comments with ease. Fast, efficient and with filters. Try Now!

Pricing

Pay per event

Rating

0.0

(0)

Developer

πŸ‘ The Netaji

The Netaji

Maintained by Community

Actor stats

3

Bookmarked

119

Total users

26

Monthly active users

4 days ago

Last modified

Share

Instagram Media Comments Scraper

This actor allows you to scrape comments from Instagram posts. It's useful for analyzing engagement, sentiment analysis, monitoring customer feedback, or collecting user-generated content from specific posts.

Features

  • βœ… Scrape comments from Instagram posts
  • βœ… Support for multiple post URLs
  • βœ… Flexible sorting options (popular, recent, verified)
  • βœ… Configurable item limits per post
  • βœ… Structured JSON output with engagement metrics

Input Configuration

FieldTypeDescriptionRequiredDefault
typestringMust be set to media_commentsYesmedia_comments
postUrlsarrayList of Instagram post URLs to get comments fromYes-
maxItemnumberMaximum number of comments to scrape per postNo100
sortOrderenumSorting order for comments: popular, recent, verifiedNopopular

Sort Order Options

  • popular: Comments sorted by engagement (likes and replies)
  • recent: Comments sorted by creation time (newest first)
  • verified: Comments from verified accounts prioritized

Example Input

{
"type":"media_comments",
"postUrls":[
"https://www.instagram.com/p/DDPp2UWzWEm/",
"https://www.instagram.com/p/CxYzAbCdEfG/",
"DDPp2UWzWEm"
],
"maxItem":200,
"sortOrder":"popular"
}

Supported URL Formats

The actor accepts various Instagram post formats:

  • Full URLs: https://www.instagram.com/p/DDPp2UWzWEm/
  • Short codes: DDPp2UWzWEm
  • Mobile URLs: https://www.instagram.com/p/DDPp2UWzWEm/?igshid=...

Output Format

The actor returns an array of comment objects with detailed information about each comment, including author details, engagement metrics, and reply threads.

Example Output

[
{
"pk":"12345678901234567890",
"user_id":"987654321",
"text":"Amazing post! Love this content πŸ”₯",
"type":0,
"created_at":1699123456,
"created_at_utc":1699123456,
"content_type":"comment",
"status":"Active",
"bit_flags":0,
"did_report_as_spam":false,
"share_enabled":true,
"user":{
"pk":"987654321",
"username":"user_example",
"full_name":"Example User",
"is_private":false,
"profile_pic_url":"https://instagram.com/profile.jpg",
"profile_pic_id":"123456789_123456789",
"is_verified":false,
"follow_friction_type":0,
"has_anonymous_profile_picture":false,
"latest_reel_media":0
},
"comment_like_count":45,
"comment_index":1,
"has_liked":false,
"preview_child_comments":[],
"child_comment_count":0,
"inline_composer_display_condition":"impression_trigger",
"has_translation":false
},
{
"pk":"12345678901234567891",
"user_id":"123456789",
"text":"First! πŸ₯‡",
"type":0,
"created_at":1699123400,
"created_at_utc":1699123400,
"content_type":"comment",
"status":"Active",
"user":{
"pk":"123456789",
"username":"early_commenter",
"full_name":"Early Bird",
"is_private":false,
"profile_pic_url":"https://instagram.com/profile2.jpg",
"is_verified":true,
"follow_friction_type":0
},
"comment_like_count":12,
"comment_index":2,
"has_liked":false,
"preview_child_comments":[
{
"pk":"12345678901234567892",
"user_id":"555666777",
"text":"Nice catch!",
"created_at":1699123500,
"user":{
"username":"replier_user",
"full_name":"Reply User"
},
"comment_like_count":3
}
],
"child_comment_count":1
}
]

Use Cases

1. Engagement Analysis

Analyze comment sentiment and engagement patterns:

{
"type":"media_comments",
"postUrls":["https://www.instagram.com/p/DDPp2UWzWEm/"],
"sortOrder":"popular",
"maxItem":500
}

2. Customer Feedback Monitoring

Monitor comments on brand posts for customer service:

{
"type":"media_comments",
"postUrls":[
"https://www.instagram.com/p/product-launch/",
"https://www.instagram.com/p/brand-announcement/"
],
"sortOrder":"recent",
"maxItem":100
}

3. Influencer Campaign Analysis

Analyze comments on sponsored content:

{
"type":"media_comments",
"postUrls":[
"https://www.instagram.com/p/sponsored-post-1/",
"https://www.instagram.com/p/sponsored-post-2/"
],
"sortOrder":"verified",
"maxItem":300
}

4. Content Research

Collect user reactions and feedback for content strategy:

{
"type":"media_comments",
"postUrls":["DDPp2UWzWEm","CxYzAbCdEfG"],
"sortOrder":"popular",
"maxItem":200
}

Key Output Fields

FieldDescription
pkUnique comment identifier
textComment text content
created_atComment creation timestamp
userComment author information
comment_like_countNumber of likes on the comment
child_comment_countNumber of replies to this comment
preview_child_commentsSample of reply comments
has_likedWhether the current user has liked this comment
comment_indexPosition in the comment thread

Limitations

  • Only public posts and comments are accessible
  • Some comments may be filtered by Instagram's spam detection
  • Comments are fetched in real-time during actor run

Best Practices

1. Reasonable Limits

Set appropriate maxItem limits to balance completeness with processing time:

  • Small posts: 50-100 comments
  • Viral posts: 500-1000 comments
  • Analysis projects: 100-300 comments

2. Sort Order Selection

Choose sort order based on your analysis needs:

  • Popular: For engagement analysis
  • Recent: For real-time monitoring
  • Verified: For credible feedback

3. Batch Processing

Process multiple posts efficiently:

{
"postUrls":["post1","post2","post3"],
"maxItem":100
}

Troubleshooting

No comments returned:

  • Check if the post is public
  • Verify the URL format is correct
  • Ensure the post actually has comments

Incomplete comment threads:

  • Instagram may limit reply depth in some cases
  • Try running with different sort orders

Support

For assistance with the Instagram Media Comments Scraper, check the actor run logs for detailed information about any issues.

You might also like

Instagram Comments Scraper

scrapier/instagram-comments-scraper

Scrape Instagram post comments with the Instagram Comments Scraper. Extract usernames, comment text, likes, replies, and timestamps. Ideal for engagement analysis, sentiment tracking, and audience insights. Fast, reliable, and scalable for single posts or bulk scraping.

Instagram Comments Scraper

api-empire/instagram-comments-scraper

Instagram Comments Scraper extracts comments from any public Instagram post. Capture usernames, text, timestamps, likes, and replies in structured format. Ideal for sentiment analysis, research, audience insights, and automated workflows needing clean comment data.

49

5.0

Instagram Comments Scraper

simpleapi/instagram-comments-scraper

Instagram Comments Scraper extracts comments from any public Instagram post, including usernames, comment text, timestamps, likes, replies, and comment IDs. Perfect for sentiment analysis, audience research, trend monitoring, and automating large-scale Instagram comment data collection.

Instagram Post Comments Scraper

nifty.codes/instagram-comments-scraper

Extract Instagram comment text, dates, likes, and author details from post pages. Powered by Instagram Scraper.

Instagram post & comments Scraper

logical_scrapers/instagram-post-comments-scraper

The only Instagram scraper that can get you all comments. scrapes full post data including metadata and comments from Instagram posts. It takes Instagram post URLs as input and extracts detailed post information with support for authentication.

119

4.8

Instagram Comments Scraper

scraply/instagram-comments-scraper

πŸ“· Instagram Comments Scraper pulls structured comments from public postsβ€”usernames, text, timestamps, likes & repliesβ€”fast. πŸ“Š Export CSV/JSON for sentiment, UGC mining, social listening & influencer research. ⚑️ Perfect for marketers, analysts & researchers.

Instagram Comments Scraper - No cookies

globular_fatherhood/instagram-comments-scraper---no-cookies

Scrape comments from public Instagram posts, reels, and videos. Get clean JSON with text, likes, and timestamps β€” no authentication needed.

Instagram Comments Scraper

rakser/instagram-comments-scrapper

Easily scrape comments from any public Instagram post. Just add one or more Instagram post URLs, and the scraper will extract: Comment text, Post IDs, Comment position, Timestamps, Owner IDs, Usernames, Profile pictures, Profile URLs. Perfect for AI Integration, analytics, or engagement tracking.

Instagram Comment Scraper

futurizerush/instagram-comment-scraper

Extract comments and replies from any Instagram post or reel. Get comment text, usernames, timestamps, reply content, and post context. Up to 50 posts per run. (Beta)