VOOZH about

URL: https://apify.com/devil_port369-owner/instagram-comments-scraper

โ‡ฑ Instagram Comments Scraper โ€” Extract Comments from Any Post ยท Apify


๐Ÿ‘ Instagram Comments Scraper โ€” Extract Comments in bulk avatar

Instagram Comments Scraper โ€” Extract Comments in bulk

Pricing

from $1.00 / 1,000 results

Go to Apify Store

Instagram Comments Scraper โ€” Extract Comments in bulk

Scrape Instagram comments from posts, reels & IGTV. Extract text, usernames, timestamps & user IDs. Export to JSON, CSV or Excel. No coding needed.

Pricing

from $1.00 / 1,000 results

Rating

1.0

(1)

Developer

๐Ÿ‘ DataFusionX

DataFusionX

Maintained by Community

Actor stats

1

Bookmarked

43

Total users

2

Monthly active users

12 hours ago

Last modified

Share

Instagram Comments Scraper โ€” Extract Comments from Any Instagram Post, Reel & TV

Scrape Instagram comments at scale โ€” text, usernames, timestamps, user IDs, and profile pictures โ€” from any public post, reel, or TV video. Built for marketers, researchers, and data teams who need structured, reliable comment data without writing a single line of code.

๐Ÿ”— Try it free on Apify โ†’


What This Actor Does

The Instagram Comments Scraper connects to Instagram's internal GraphQL API using your session cookie and extracts every comment from the posts you specify. It handles pagination automatically โ€” whether a post has 50 comments or 50,000, the scraper pages through them all and pushes structured results directly to Apify's dataset storage.

Supported URL formats:

  • https://www.instagram.com/p/<shortcode>/
  • https://www.instagram.com/reel/<shortcode>/
  • https://www.instagram.com/tv/<shortcode>/
  • https://www.instagram.com/<username>/reel/<shortcode>/
  • Raw shortcodes (e.g. DXeSaXmk2yg)

Who Is This For?

Digital Marketers โ€” measure real audience sentiment on your posts and competitor content. Know what your audience actually feels, not just how many likes they clicked.

Social Media Researchers โ€” collect longitudinal comment datasets for NLP, trend analysis, and behavioral studies at scale without scraping limits.

Brand Managers โ€” monitor brand mentions, detect negative feedback early, and track campaign performance comment-by-comment.

Content Creators โ€” understand which posts spark real conversations. Read every comment without scrolling endlessly on mobile.

Growth Hackers & Agencies โ€” build outreach lists from engaged commenters, find niche influencers, and discover high-intent leads hiding in comment sections.


Key Features

Handles All Post Types โ€” works on posts (/p/), reels (/reel/), and IGTV (/tv/) URLs. Pass any mix of URL formats in one run.

Full Pagination โ€” automatically fetches all comment pages (50 comments per request). No manual next-page clicking.

Safe Rate Limiting โ€” built-in 3.7-second delay between paginated requests mimics human browsing behaviour and reduces detection risk.

Concurrent Post Scraping โ€” scrapes multiple posts simultaneously (up to 2 in parallel) for faster runs on large URL lists.

Automatic Retry with Backoff โ€” if a request fails, the scraper retries up to 3 times with exponential backoff before moving on.

Deduplication โ€” if you pass the same post in different URL formats, it is only scraped once.

Flexible Comment Limits โ€” set a cap (e.g. 500 comments per run) or, on paid plans, set maximum_comments to 0 to scrape every single comment with no limit.

Multiple Export Formats โ€” download results as JSON, CSV, or Excel directly from Apify's dataset interface.


Input Schema

FieldTypeRequiredDescription
post_urlsarray of stringsโœ… YesOne or more Instagram post/reel/TV URLs or raw shortcodes
cookiesIDstringโœ… YesYour Instagram sessionid cookie value
maximum_commentsintegerโŒ NoMax comments to collect. Defaults to 50 for free users. Paid users: set 0 for unlimited

Example input:

{
"post_urls":[
"https://www.instagram.com/reel/DXeSaXmk2yg/",
"https://www.instagram.com/jacksparrow_0908/reel/DXeSaXmk2yg/",
"https://www.instagram.com/p/DHb-b-qOn_M/",
"https://www.instagram.com/tv/CQMv9tHFBsD/"
],
"cookiesID":"348885830%3AgQY5HtJbSv9iYP%3A4%3AAYf_ylDIe5_uBzR7U_G88TbxHFXGoiCzv8S6WBlx8CKi",
"maximum_comments":0
}

Note on maximum_comments: Free users are always capped at 50 comments regardless of this value. Paid users who set this to 0 get unlimited scraping โ€” every comment on every post.


Output Schema

Results are pushed to Apify's dataset and exportable as JSON, CSV, or Excel.

{
"CommentID":"17858893269000001",
"CommentText":"This is exactly what I needed to see today ๐Ÿ”ฅ",
"CommentDate":"2025-04-20 14:30",
"UserID":"987654321",
"username":"jane_doe_official",
"profile_pic_url":"https://instagram.fxxx1-1.fna.fbcdn.net/.../profile.jpg",
"PostID":"DXeSaXmk2yg",
"PostURL":"https://www.instagram.com/reel/DXeSaXmk2yg/"
}
FieldDescription
CommentIDUnique Instagram comment ID
CommentTextFull text of the comment
CommentDateTimestamp formatted as YYYY-MM-DD HH:MM
UserIDNumeric Instagram user ID of the commenter
usernameInstagram handle of the commenter
profile_pic_urlDirect CDN URL to the commenter's profile picture
PostIDShortcode of the scraped post
PostURLOriginal URL you provided for this post

How to Get Your Instagram Session ID (cookiesID)

The scraper authenticates via your Instagram sessionid cookie. This never exposes your password โ€” it works the same way your browser stays logged in.

Step-by-step (Chrome):

  1. Install Cookie-Editor from the Chrome Web Store
  2. Go to instagram.com and make sure you are logged in
  3. Click the Cookie-Editor icon in your Chrome toolbar
  4. Search for sessionid in the cookie list
  5. Copy the Value field โ€” it looks like: 348885830%3AgQY5HtJbSv9iYP%3A4%3A...
  6. Paste it into the cookiesID field in the Apify actor input

โš ๏ธ Security: Never share your sessionid publicly. It grants access to your account. Rotate it every 2โ€“3 weeks by logging out and back into Instagram.

Alternative (DevTools):

  1. Open Instagram in Chrome โ†’ press F12 โ†’ go to Application tab
  2. Under Storage โ†’ Cookies โ†’ https://www.instagram.com, find sessionid
  3. Copy the value from the Value column

Free vs. Paid Plan

FeatureFree PlanPaid Plan
Max comments per run50Up to your maximum_comments value
Unlimited scraping (maximum_comments: 0)โŒโœ…
Multiple URL supportโœ…โœ…
All post types (post/reel/tv)โœ…โœ…
JSON / CSV / Excel exportโœ…โœ…

Automate with Make.com

Combine this actor with Make.com to build zero-code automated workflows:

  • Scheduled monitoring โ€” run the scraper every 24 hours and push new comments to Google Sheets
  • Sentiment pipeline โ€” route comments through an AI classifier and tag them automatically
  • CRM enrichment โ€” match commenters to leads in your CRM using their username
  • Slack alerts โ€” get notified instantly when a keyword appears in a comment

Tips for Best Results

  • Rotate your session ID every 1โ€“2 weeks to prevent cookie expiration errors
  • Start with 1โ€“5 URLs on your first run to verify everything works before scaling up
  • Use maximum_comments: 0 (paid) to collect everything without worrying about limits
  • Mix URL formats freely โ€” the scraper normalises all formats and deduplicates automatically
  • Check the Apify run log for per-post progress, error details, and retry counts

Troubleshooting

"Expired session" / no data returned Your sessionid has expired. Log out of Instagram, log back in, re-copy the sessionid, and update your actor input.

Private post returns no comments This scraper only works on public posts. Private accounts and age-gated content are not accessible.

Rate limit / temporary ban Instagram flagged unusual activity. Wait 10โ€“15 minutes, reduce the number of URLs per run, and ensure you are not running multiple actor instances simultaneously.

URL not recognised Verify the URL contains /p/, /reel/, or /tv/. Story URLs and profile URLs are not supported.


More Actors by devil_port369-owner


Contact & Support


โš ๏ธ Responsible Use

This actor is built for scraping public Instagram content only. Use it in accordance with Instagram's Terms of Service and your local data protection laws. Do not use it to scrape private accounts, collect data on minors, or build spam lists. The built-in rate limiting protects both your account and Instagram's infrastructure โ€” do not disable or bypass it.


You might also like

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

scraper-engine/instagram-comments-scraper

The Instagram Comments Scraper extracts comments from posts or reels, capturing usernames, text, timestamps, and engagement metrics. Ideal for social listening, sentiment analysis, and audience research, it delivers clean, structured data for insights, analytics, or API integration.

๐Ÿ‘ User avatar

Scraper Engine

93

5.0

Instagram Comments Scraper

scrapesmith/instagram-comments-scraper

โšก Instagram Comments Scraper โ€“ Extract comments, usernames, likes, replies & timestamps from any public post or reel. Bulk scraping, no login needed. Export to JSON, CSV or Excel. Starts at $0.50/1,000 results.

910

4.8

Instagram Comments Scraper

apify/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.

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

pratikdani/instagram-comments-scraper

The Instagram Comments Scraper is a tool designed to extract detailed comments from valid Instagram posts and reels. This actor provides a structured way to gather insights from user interactions on Instagram, making it easier to analyze engagement and sentiment.

579

1.8

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 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