VOOZH about

URL: https://apify.com/scrapeengine/instagram-comments-scraper

โ‡ฑ Instagram Comments Scraper ยท Apify


Pricing

$19.99/month + usage

Go to Apify Store

Instagram Comments Scraper

๐Ÿ“ธ Instagram Comments Scraper extracts comments from posts at scale โ€” usernames, text, timestamps, likes & replies. ๐Ÿ”Ž Ideal for social listening, UGC mining, sentiment & influencer analysis. โš™๏ธ Fast, reliable, export to CSV/JSON or API. ๐Ÿš€ Boost research & engagement.

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

๐Ÿ‘ ScrapeEngine

ScrapeEngine

Maintained by Community

Actor stats

0

Bookmarked

11

Total users

0

Monthly active users

2 months ago

Last modified

Share

Instagram Comments Scraper

Instagram Comments Scraper is a production-ready Apify actor that extracts structured Instagram comment data at scale โ€” including usernames, comment text, timestamps, likes, and replies โ€” from post and reel URLs. It eliminates manual copyโ€‘paste and turns public conversations into clean, analyzable records. Built for marketers, developers, data analysts, and researchers, this Instagram comments extractor helps you scrape Instagram comments, automate Instagram comment data extraction, and export insights for social listening, UGC mining, sentiment analysis, and influencer tracking โ€” all in a workflow-ready format and an Instagram comments API alternative that scales.

๐Ÿ“Š What data / output can you get?

Below are the exact fields this Instagram comments scraping software outputs for each comment. Data streams in real time to the Apify Dataset and is also saved as a single JSON array under the Key-Value Store key โ€œOUTPUTโ€.

Data typeDescriptionExample value
postUrlSource Instagram post or reel URLhttps://www.instagram.com/p/DN8-GjPkgjS/
commentUrlDirect link to the comment (constructed)https://www.instagram.com/p/DN8-GjPkgjS/c/17894957058162897
idComment ID (string)17894957058162897
textComment text contentSomeone point me to the Instagram logo ferris wheel NEOW!!
timestampUTC ISO date-time string2025-08-29T21:07:02.000Z
ownerUsernameCommenterโ€™s Instagram handlesokarlnerry
ownerProfilePicUrlPublic profile picture URLhttps://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/...jpg
likesCountNumber of likes on the comment12
repliesCountNumber of replies to this comment2
repliesArray of reply objects (same shape: id, text, timestamp, likesCount, ownerUsername, etc.)[ { "id": "18138927151425955", ... } ]
ownerNested owner object with user metadata (public){ "username": "sokarlnerry", "is_verified": false, ... }

Notes:

  • Replies include the same core fields as comments (id, text, timestamp, likesCount, ownerUsername, ownerProfilePicUrl, repliesCount, replies[], owner, commentUrl).
  • Export your dataset to CSV, JSON, or Excel via Apify. A single-file JSON export is available at Key-Value Store key โ€œOUTPUTโ€. This makes it easy to download Instagram post comments and export Instagram comments to CSV.

๐Ÿš€ Key features

  • ๐Ÿงญ GraphQL-powered extraction with replies
    Uses Instagramโ€™s comment GraphQL endpoints to collect comments and, optionally, fetch nested replies per comment for deeper conversation context โ€” ideal for automated Instagram comments scraping.

  • ๐Ÿงฉ Structured records with rich metadata
    Each item includes postUrl, commentUrl, id, text, timestamp, likesCount, repliesCount, replies[], ownerUsername, ownerProfilePicUrl, and a detailed owner object โ€” perfect for Instagram comment data extraction and analytics.

  • ๐Ÿ“ฆ Real-time streaming + single-file export
    Pushes each comment to the Apify Dataset as itโ€™s collected and writes the full result as one JSON array to Key-Value Store key โ€œOUTPUTโ€ โ€” great for bulk Instagram comments downloader workflows and API consumption.

  • ๐Ÿ“š Batch scraping from multiple URLs
    Provide an array of direct post/reel URLs (directUrls) to scrape Instagram comments in bulk in one run. Supports both /p/ and /reel/ URLs for posts and Reels.

  • ๐Ÿงต Reply control and depth limits
    Configure includeNestedComments and maxReplies to tailor how many nested replies are fetched per parent comment.

  • ๐Ÿ”’ Session IDโ€“aware reliability
    Supply your Instagram sessionid cookie (sessionId) for reliable doc_id and media_id detection. Without it, Instagram may serve different content and block extraction โ€” essential for robust runs.

  • ๐Ÿ›ก๏ธ Smart proxy fallback (optional)
    If direct requests are blocked, the actor can automatically fallback to Apify datacenter and then residential proxies (proxyConfiguration) with up to 3 residential retries.

  • ๐Ÿ“ˆ Scoping & pagination controls
    Limit workload with maxComments (per post) and maxReplies (per comment). Internally capped for stability to 500 comments per post and 50 replies per comment.

  • ๐Ÿงญ Sorting behavior (compatibility setting)
    Popular sorting is used. The isNewestComments input is kept for compatibility but is not supported by the current GraphQL endpoint.

๐Ÿช„ How to use Instagram Comments Scraper โ€” step by step

  1. Sign in to Apify
    Create a free Apify account or log in.

  2. Open the Instagram Comments Scraper actor
    Youโ€™ll run it directly on the Apify platform.

  3. Add your input URLs
    Paste post/reel URLs into directUrls (e.g., https://www.instagram.com/p/SHORTCODE/). Only /p/ and /reel/ URLs are supported.

  4. Provide your Instagram Session ID (recommended)
    Set sessionId to your sessionid cookie from instagram.com after logging in. This is required for reliable extraction of doc_id and media_id.

  5. Configure limits and replies

    • maxComments: limit comments per post (runtime cap 500)
    • includeNestedComments: true/false to fetch replies
    • maxReplies: limit replies per comment (runtime cap 50)
  6. (Optional) Configure proxy fallback
    Use proxyConfiguration if you encounter blocks. The actor will attempt datacenter, then residential proxies with up to 3 retries.

  7. Run the actor
    The scraper fetches comments and pushes each record to the Dataset in real time. It also writes a single JSON array to the Key-Value Store key โ€œOUTPUTโ€.

  8. Export results

    • Dataset: export to CSV, JSON, or Excel
    • Key-Value Store: download the single JSON array from key โ€œOUTPUTโ€

Pro tip: Automate runs and pull data via the Apify API to schedule, monitor, and feed downstream pipelines that download Instagram comments, export Instagram comments to CSV/JSON, or sync into analytics tools.

๐ŸŽฏ Use cases

Use caseDescription
Social listening & sentimentMonitor audience tone and topics by scraping IG post comments at scale for brand and campaign tracking.
UGC mining & trend researchExtract comments from Instagram posts to surface ideas, product feedback, and emerging trends.
Influencer & campaign analysisCompare engagement across posts/reels by aggregating comments, likesCount, and repliesCount.
Community managementHighlight FAQs and high-impact feedback to streamline responses and improve engagement.
Competitor monitoringTrack competitor postsโ€™ comments to benchmark sentiment and messaging impact.
Data science & NLPBuild labeled datasets for sentiment or topic models with structured fields (text, timestamp, owner).
Academic & market researchPerform longitudinal studies on public discourse using exportable Instagram comments datasets.
API pipelines & automationOrchestrate bulk Instagram comments downloader workflows and feed CSV/JSON exports into BI or CRM systems.

๐Ÿ’Ž Why choose Instagram Comments Scraper?

This Instagram comment scraper tool prioritizes precision, automation, and reliability for production workflows.

  • ๐ŸŽฏ Accurate, structured extraction with replies for deeper context
  • ๐Ÿ“š Batch-ready input (directUrls) to scrape IG post and Reels comments in bulk
  • ๐Ÿ”Œ Developer-friendly outputs: Dataset per-record + Key-Value Store single JSON array (โ€œOUTPUTโ€)
  • ๐Ÿงฐ Works seamlessly with the Apify API for automation and data delivery
  • ๐Ÿ›ก๏ธ Smart proxy fallback and sessionId support to improve reliability when platforms block direct requests
  • ๐Ÿงญ Clear sorting/limits behavior to keep runs predictable (popular sorting; caps on comments/replies)
  • ๐Ÿงฑ More reliable than browser extensions or unstable scripts โ€” built as a compact Apify actor

In short, itโ€™s a production-grade Instagram comments scraper online that delivers clean, consistent outputs for analytics and automation.

โš–๏ธ Is it legal / ethical to use Instagram Comments Scraper?

Yes โ€” when done responsibly. This actor is intended to collect publicly available Instagram comments for research and analysis.

Guidelines:

  • Only extract publicly visible content.
  • Avoid collecting private or sensitive information.
  • Comply with Instagramโ€™s Terms of Service and applicable data protection laws (e.g., GDPR/CCPA).
  • Use your own session cookie and respect rate limits and platform access policies.
  • Consult your legal team for edge cases or jurisdiction-specific rules.

๐Ÿงฉ Input parameters & output format

Example JSON input

{
"directUrls":[
"https://www.instagram.com/p/DN8-GjPkgjS/"
],
"maxComments":25,
"maxReplies":5,
"sessionId":"YOUR_SESSIONID_COOKIE_HERE",
"includeNestedComments":true,
"isNewestComments":false,
"proxyConfiguration":{
"useApifyProxy":false
}
}

Parameters

FieldTypeDescriptionDefaultRequired
directUrlsarrayInstagram post or reel URLs (e.g. https://www.instagram.com/p/SHORTCODE/)โ€”No
maxCommentsintegerMaximum comments to scrape per URL (1โ€“500)10No
maxRepliesintegerMaximum replies per comment (0โ€“50)5No
sessionIdstringInstagram sessionid cookie. Required for reliable extraction: without it, doc_id and media_id often cannot be found (Instagram serves different content when unauthenticated). Get it from your browser after logging in to instagram.com.โ€”No
includeNestedCommentsbooleanFetch replies for each commenttrueNo
isNewestCommentsbooleanKept for compatibility with provided script. Instagram GraphQL here only supports popular sorting.falseNo
proxyConfigurationobjectOptional. Used only when platform blocks direct requests: fallback to datacenter proxy, then residential proxy (3 retries). By default no proxy is used.โ€”No

Notes:

  • Runtime caps are 500 comments per post and 50 replies per comment for stability.
  • Without sessionId, Instagram may present a login wall or omit required identifiers, leading to incomplete or empty results.

Example JSON output

[
{
"postUrl":"https://www.instagram.com/p/DN8-GjPkgjS/",
"commentUrl":"https://www.instagram.com/p/DN8-GjPkgjS/c/17894957058162897",
"id":"17894957058162897",
"text":"Someone point me to the Instagram logo ferris wheel NEOW!!",
"ownerUsername":"sokarlnerry",
"ownerProfilePicUrl":"https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/example.jpg",
"timestamp":"2025-08-29T21:07:02.000Z",
"repliesCount":2,
"replies":[
{
"id":"18138927151425955",
"text":"NO to AI images! YES to human craftsmanship!",
"ownerUsername":"lizziemontgomerydesign",
"ownerProfilePicUrl":"https://scontent-iad3-1.cdninstagram.com/v/t51.2885-19/example2.jpg",
"timestamp":"2025-08-29T20:48:20.000Z",
"repliesCount":0,
"replies":[],
"likesCount":5,
"owner":{
"fbid_v2":"",
"full_name":"",
"id":"",
"is_mentionable":true,
"is_private":false,
"is_verified":false,
"latest_reel_media":0,
"profile_pic_id":"",
"profile_pic_url":"https://scontent-iad3-1.cdninstagram.com/v/t51.2885-19/example2.jpg",
"username":"lizziemontgomerydesign"
},
"commentUrl":"https://www.instagram.com/p/DN8-GjPkgjS/c/17894957058162897/r/18138927151425955"
}
],
"likesCount":12,
"owner":{
"fbid_v2":"",
"full_name":"",
"id":"",
"is_mentionable":true,
"is_private":false,
"is_verified":false,
"latest_reel_media":0,
"profile_pic_id":"",
"profile_pic_url":"https://scontent-iad3-2.cdninstagram.com/v/t51.2885-19/example.jpg",
"username":"sokarlnerry"
}
}
]

Delivery:

  • Dataset: one record per comment, pushed as they are scraped.
  • Key-Value Store: key โ€œOUTPUTโ€ contains a single JSON array with the same item shape.

Fields that may be empty/unknown:

  • owner.fbid_v2, owner.id, and owner.full_name may be empty when not present in the public response.

โ“ FAQ

Do I need to log in or provide cookies?

โœ… For reliable extraction, provide your Instagram sessionId in the sessionId input. Without it, Instagram may hide required identifiers (doc_id, media_id) or present a login wall, resulting in partial or empty results.

Can I scrape Instagram Reels comments?

โœ… Yes. Provide /reel/ URLs in directUrls to scrape IG Reel comments. Post URLs with /p/ are also supported.

Can I sort comments by newest first?

โŒ Not with this actor. The isNewestComments flag is kept for compatibility, but the current GraphQL endpoint here only supports popular sorting.

How many comments and replies can I extract?

๐Ÿ“ˆ You can set maxComments and maxReplies, but the actor caps runs to 500 comments per post and 50 replies per comment for stability.

Does it fetch replies to comments?

โœ… Yes. Set includeNestedComments to true and control depth with maxReplies. Replies include id, text, timestamp, likesCount, ownerUsername, and more.

How is the output delivered and how can I export it?

๐Ÿ’พ Each comment is pushed to the Apify Dataset during the run, and the full array is saved under Key-Value Store key โ€œOUTPUTโ€. You can export datasets to CSV, JSON, or Excel or access both storages via the Apify API.

Do I need to use a proxy?

๐Ÿ›ก๏ธ Not by default. If the platform blocks requests, enable proxyConfiguration. The actor will fallback to Apify datacenter and then residential proxies with up to 3 retries.

Is there a way to automate and integrate with my stack?

๐Ÿ”Œ Yes. Use the Apify API to trigger runs, fetch the Dataset or the โ€œOUTPUTโ€ JSON, and integrate with pipelines that download Instagram comments or export to CSV for BI/CRM systems.

Is there a free trial?

๐ŸŽŸ๏ธ Apify provides trial minutes, and this actorโ€™s listing includes trial time (e.g., 120 minutes). Check the actorโ€™s page on Apify for current plan details before running large jobs.

๐Ÿš€ Final thoughts

Instagram Comments Scraper is built to extract structured Instagram comment data โ€” complete with replies โ€” from post and reel URLs at scale. Configure limits, add your sessionId for reliability, and stream clean records to the Dataset plus a single-file JSON for fast export. Marketers, developers, analysts, and researchers can automate Instagram comment scraping, export Instagram comments to CSV/JSON, or pull data via API for sentiment and campaign insights. Start today and power automated Instagram comment data extraction with a workflow-ready, production-grade tool.

You might also like

Instagram Comments Scraper

scraperforge/instagram-comments-scraper

๐Ÿ“ธ Instagram Comments Scraper collects public post comments at scale โ€” usernames, text, timestamps, likes, replies & mentions โ€” and exports to CSV/JSON for analysis. โš™๏ธ Perfect for social listening, sentiment, UGC mining & influencer research. ๐Ÿš€

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.

Tiktok Comments Scraper

scrapeflow/tiktok-comments-scraper

๐ŸŽฏ TikTok Comments Scraper extracts comments at scale from videos or hashtags โ€” usernames, timestamps, likes, replies & sentiment. ๐Ÿ“Š Clean export to CSV/JSON for social listening, UGC mining, competitor research & trend analysis. โšก Fast, reliable, API-ready.

Instagram Comments Scraper

scrapemesh/instagram-comments-scraper

๐Ÿ“ธ Instagram Comments Scraper extracts comments from public Instagram postsโ€”usernames, text, timestamps, replies, mentions & hashtagsโ€”and exports to CSV/JSON. ๐Ÿ” Perfect for social listening, UGC mining, sentiment, and campaign tracking. โœ… Compliant, fast, scalable. ๐Ÿš€

Instagram Comments Scraper

scrapepilotapi/instagram-comments-scraper

๐Ÿ“ฒ Instagram Comments Scraper pulls comments from posts & reels โ€” text, usernames, timestamps, likes, mentions & hashtags. ๐Ÿ“ˆ Export CSV/JSON for sentiment, UGC mining, social listening & competitor analysis. โšก Fast, reliable, code-free. Great for marketers & researchers.

Instagram Comments Scraper

scrapium/instagram-comments-scraper

๐Ÿ“ธ Instagram Comments Scraper pulls comments, usernames, timestamps, likes & replies from IG posts. ๐Ÿ” Analyze sentiment, hashtags & mentions; track engagement; find UGC & insights. ๐Ÿ“Š Export CSV/JSON. ๐Ÿš€ Ideal for social listening, influencer research & competitor analysis.

Tiktok Comments Scraper

scrapium/tiktok-comments-scraper

๐Ÿ’ฌ TikTok Comments Scraper extracts video comments at scaleโ€”usernames, timestamps, likes, replies & IDs. ๐Ÿ” Ideal for social listening, sentiment, UGC mining & competitor analysis. ๐Ÿ“ฆ Export CSV/JSON. โšก Fast, reliable & scalable for brands, analysts & creators.

Tiktok Comments Scraper

scrapepilotapi/tiktok-comments-scraper

๐Ÿ’ฌ TikTok Comments Scraper lets you scrape TikTok comments at scale โ€” including replies, usernames, likes, timestamps & video IDs. Export to CSV/JSON. ๐Ÿ” Ideal for social listening, sentiment, UGC mining & competitor analysis. โšก Fast, reliable, API-ready.

Tiktok Comments Scraper

scraply/tiktok-comments-scraper

๐Ÿ“ฑ TikTok Comments Scraper extracts comments, usernames, user IDs, timestamps, likes & replies from videos or hashtags. โšก Fast, reliable, export to CSV/JSON for sentiment, UGC mining, social listening & competitor analysis. ๐Ÿš€ Perfect for marketing, research & moderation.

Instagram Comments Scraper

scrapebase/instagram-comments-scraper

Instagram Comments Scraper extracts comments from Instagram posts. It collects usernames, comment text, likes, timestamps, and reply data. Ideal for audience sentiment analysis, engagement tracking, influencer research, and social media monitoring.