Instagram Comments Scraper avatar

Instagram Comments Scraper

Pricing

Pay per event

Go to Apify Store
Instagram Comments Scraper

Instagram Comments Scraper

Extract comments from any public Instagram post. Get usernames, text, timestamps, like counts, reply counts, and verified status. No login required. Export as JSON, CSV, or Excel.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Stas Persiianenko

Stas Persiianenko

Maintained by Community

Actor stats

0

Bookmarked

7

Total users

2

Monthly active users

7 days ago

Last modified

Categories

Share

What does Instagram Comments Scraper do?

Instagram Comments Scraper extracts the top comments from any public Instagram post or reel. Paste one or more post URLs and get structured data including the comment text, username, timestamp, like count, reply count, and verified status. No login or API key required.

The scraper extracts the most popular comments that Instagram embeds in the public post page -- typically 10-20 comments per post. This includes the highest-engagement comments with the most likes. Export results as JSON, CSV, or Excel with one click.

Unlike general-purpose Instagram scrapers, this tool is purpose-built for comment extraction with dedicated output fields, optimized pricing, and fast execution.

Who is Instagram Comments Scraper for?

This section answers who is it for and where Instagram comment extraction fits into common social listening, research, and reporting workflows.

๐Ÿ“Š Brand managers and marketing teams

  • Monitor brand mentions and sentiment in post comments
  • Track competitor engagement and audience reactions
  • Collect user feedback on product launches and campaigns

๐Ÿ”ฌ Researchers and data analysts

  • Analyze public discourse and opinion trends on Instagram
  • Study engagement patterns across influencer content
  • Build sentiment analysis datasets from comment text

๐Ÿ“ˆ Social media agencies

  • Generate engagement reports for clients
  • Identify top commenters and brand advocates
  • Monitor comment-based customer support conversations

๐Ÿค– Developers and data engineers

  • Feed comment data into NLP pipelines and AI models
  • Build custom monitoring dashboards via the API
  • Integrate Instagram comment data with CRM or analytics tools

Why use Instagram Comments Scraper?

โœ… No login required โ€” extracts comments from public posts without any Instagram account or session cookie

โœ… Dedicated comment tool โ€” purpose-built for comments with optimized output fields and pricing, not a general scraper with comments as an afterthought

โœ… Pay only for what you scrape โ€” pay-per-event pricing starting at $0.0023/comment (Free tier), with volume discounts on higher plans

โœ… Full comment data โ€” get usernames, text, timestamps, likes, reply counts, verified badges, and profile pictures

โœ… Reply thread support โ€” optionally include child comments (replies) alongside top-level comments

โœ… API access โ€” call programmatically from Node.js, Python, or any language via REST API

โœ… Scheduled runs โ€” set up recurring scrapes to monitor comments over time

โœ… Export anywhere โ€” download as JSON, CSV, or Excel, or push to Google Sheets, webhooks, and 5,000+ apps via Zapier/Make

What data can you extract?

Each comment includes the following fields:

FieldTypeDescription
idstringUnique comment ID
textstringFull comment text
usernamestringCommenter's Instagram handle
userIdstringCommenter's user ID
fullNamestringCommenter's display name
profilePicUrlstringURL to commenter's profile picture
isVerifiedbooleanWhether the commenter has a verified badge
likesCountnumberNumber of likes on the comment
repliesCountnumberNumber of replies to the comment
isReplybooleanWhether this is a reply to another comment
parentCommentIdstringID of the parent comment (for replies)
postShortCodestringInstagram post shortcode
postUrlstringFull URL of the source post
timestampstringWhen the comment was posted (ISO 8601)
scrapedAtstringWhen the data was collected

How much does it cost to scrape Instagram comments?

This Actor uses pay-per-event pricing โ€” you pay only for what you scrape. No monthly subscription. All platform costs are included.

FreeBronze ($49/mo)Silver ($149/mo)Gold ($499/mo)PlatinumDiamond
Per comment$0.0023$0.002$0.0015$0.001$0.0008$0.00056
1,000 comments$2.30$2.00$1.50$1.00$0.80$0.56
10,000 comments$23.00$20.00$15.00$10.00$8.00$5.60

Higher-tier plans get additional volume discounts. A one-time start fee of $0.005 applies per run.

Real-world cost examples:

ScenarioPostsCommentsDurationCost (Free tier)
Single post1~15~10s~$0.04
Batch of 10 posts10~150~2min~$0.40
Batch of 50 posts50~750~10min~$1.98

With the free plan ($5 in credits), you can scrape comments from approximately 150+ posts at no cost.

How to scrape Instagram comments

  1. Go to Instagram Comments Scraper on the Apify Store
  2. Click Start for free to open the Actor in Apify Console
  3. Paste one or more Instagram post or reel URLs into the Post URLs field
  4. Adjust the Max comments per post limit (default: 20)
  5. Optionally enable Include reply threads to get child comments
  6. Click Start and wait for the run to finish
  7. Download your data as JSON, CSV, or Excel from the Dataset tab

Example input for a single post:

{
"postUrls": ["https://www.instagram.com/p/DVOyCluEVBg/"],
"maxCommentsPerPost": 100
}

Example input for multiple posts with replies:

{
"postUrls": [
"https://www.instagram.com/p/DVOyCluEVBg/",
"https://www.instagram.com/reel/DU9NsLBvjPj/"
],
"maxCommentsPerPost": 200,
"includeReplies": true,
"sortBy": "newest"
}

Input parameters

ParameterTypeDefaultDescription
postUrlsarrayrequiredInstagram post or reel URLs to scrape comments from
maxCommentsPerPostinteger100Maximum comments to extract per post (0 = unlimited)
includeRepliesbooleanfalseInclude reply threads (child comments)
sortBystring"popular"Sort order: "popular" (most liked) or "newest"
proxyCountrystring"US"Proxy country code for geo-targeted results

Output example

{
"id": "18116832733656232",
"text": "This is amazing! ๐Ÿ”ฅ",
"username": "johndoe",
"userId": "53822734240",
"fullName": "John Doe",
"profilePicUrl": "https://scontent.cdninstagram.com/...",
"isVerified": false,
"likesCount": 42,
"repliesCount": 3,
"isReply": false,
"parentCommentId": null,
"postShortCode": "DVOyCluEVBg",
"postUrl": "https://www.instagram.com/p/DVOyCluEVBg/",
"timestamp": "2026-04-04T09:49:44.000Z",
"scrapedAt": "2026-04-04T10:51:37.580Z"
}

Tips for best results

๐Ÿ’ก Start small โ€” test with one post and a low comment limit before running large batches

๐Ÿ’ก Use popular sort for sentiment analysis โ€” the most-liked comments often represent the majority opinion

๐Ÿ’ก Use newest sort for monitoring โ€” catch new comments as they come in with scheduled runs

๐Ÿ’ก Enable replies only when needed โ€” replies add to the total comment count and cost

๐Ÿ’ก Schedule recurring runs for ongoing monitoring โ€” set up daily or weekly scrapes to track comment trends on specific posts

๐Ÿ’ก Combine with other scrapers โ€” use Instagram Scraper to find post URLs, then feed them into this actor for detailed comment extraction

Integrations

๐Ÿ“Š Instagram Comments โ†’ Google Sheets Export comment data directly to a Google Sheet for collaborative analysis. Set up a scheduled run to append new comments daily.

๐Ÿ”” Instagram Comments โ†’ Slack/Discord Get notified when new comments appear on monitored posts. Use webhooks to push alerts to your team channel.

โšก Instagram Comments โ†’ Make/Zapier Build automated workflows: extract comments โ†’ run sentiment analysis โ†’ update CRM โ†’ alert team on negative feedback.

๐Ÿ“… Scheduled monitoring Set up recurring runs to track comment activity over time. Compare comment volume and sentiment across posts, campaigns, or time periods.

๐Ÿ”— Webhooks Send results to any URL endpoint for real-time processing. Useful for feeding comment data into custom dashboards or ML pipelines.

API usage with the Apify API

You can call Instagram Comments Scraper programmatically from any language.

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('automation-lab/instagram-comments-scraper').call({
postUrls: ['https://www.instagram.com/p/DVOyCluEVBg/'],
maxCommentsPerPost: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

from apify_client import ApifyClient
client = ApifyClient('YOUR_APIFY_TOKEN')
run = client.actor('automation-lab/instagram-comments-scraper').call(run_input={
'postUrls': ['https://www.instagram.com/p/DVOyCluEVBg/'],
'maxCommentsPerPost': 100,
})
items = client.dataset(run['defaultDatasetId']).list_items().items
print(items)

cURL

curl -X POST "https://api.apify.com/v2/acts/automation-lab~instagram-comments-scraper/runs?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"postUrls": ["https://www.instagram.com/p/DVOyCluEVBg/"],
"maxCommentsPerPost": 100
}'

Use with AI agents via MCP

Instagram Comments Scraper is available as a tool for AI assistants that support the Model Context Protocol (MCP).

Add the Apify MCP server to your AI client โ€” this gives you access to all Apify actors, including this one:

Setup for Claude Code

$claude mcp add --transport http apify "https://mcp.apify.com"

Setup for Claude Desktop, Cursor, or VS Code

Add this to your MCP config file:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com"
}
}
}

Your AI assistant will use OAuth to authenticate with your Apify account on first use.

Example prompts

Once connected, try asking your AI assistant:

  • "Use automation-lab/instagram-comments-scraper to get all comments from https://www.instagram.com/p/DVOyCluEVBg/"
  • "Scrape comments from these 5 Instagram posts and summarize the overall sentiment"
  • "Extract the top 50 most-liked comments from this viral Instagram reel and identify common themes"

Learn more in the Apify MCP documentation.

Web scraping of publicly available data is generally legal according to the US Ninth Circuit Court ruling (hiQ Labs v. LinkedIn, 2022). This scraper only accesses public posts โ€” it does not bypass login walls, access private accounts, or use authentication tokens.

Always use scraped data responsibly:

  • Respect Instagram's Terms of Service
  • Do not use data for harassment, spam, or unauthorized profiling
  • Comply with GDPR and other applicable data protection regulations
  • Consider the privacy implications of processing personal data at scale

FAQ

How fast is Instagram Comments Scraper? The scraper typically processes each post in about 5-10 seconds. A batch of 10 posts completes in about 2 minutes including rate-limiting delays.

How many comments does it return per post? The scraper extracts the top 10-20 comments per post -- these are the most popular comments that Instagram shows by default on the public post page. Instagram requires authentication for deeper comment pagination, so this scraper focuses on the highest-engagement comments available without login.

How many comments can I scrape for free? With the free plan ($5 in credits), you can scrape comments from approximately 150+ posts at no cost.

Does this work without an Instagram account? Yes! Instagram Comments Scraper works entirely without login. It extracts comments from public posts using Instagram's web interface -- no session cookie or API key needed.

Why do I get fewer comments than the post shows? Instagram only embeds the top ~10-20 comments in the public post page. Accessing all comments requires an authenticated Instagram session, which this scraper does not use. The returned comments are the most popular (highest-liked) ones. If comments are disabled on a post, the scraper will return 0 comments for that post.

Why do some fields show null values? Some fields like fullName or profilePicUrl may be null if the commenter has a minimal profile. The parentCommentId is null for top-level comments and only populated for replies when includeReplies is enabled.

How is this different from the official Instagram API? The official Instagram Graph API requires a Facebook Business account, app review, and only allows access to your own posts' comments. This scraper works on any public post without any API credentials or account setup.

Explore more social media data extraction tools from automation-lab:

  • ๐Ÿ“ธ Instagram Scraper โ€” Extract profiles, posts, reels, hashtags, and mentions
  • ๐ŸŽต TikTok Scraper โ€” Scrape TikTok videos, profiles, and hashtags
  • ๐ŸŽต TikTok Sound Scraper โ€” Extract videos using specific TikTok sounds
  • ๐Ÿฆ Twitter/X Scraper โ€” Collect tweets, profiles, and search results
  • โ–ถ๏ธ YouTube Scraper โ€” Extract video data, channels, and search results