Instagram Comments Scraper

by devil_port369-owner

Scrape Instagram comments safely and efficiently with this Apify Actor. Extract comment text, usernames, and timestamps from public posts/reels for in...

262 runs
30 users
Try This Actor

Opens on Apify.com

About Instagram Comments Scraper

Scrape Instagram comments safely and efficiently with this Apify Actor. Extract comment text, usernames, and timestamps from public posts/reels for insights and analysis.

What does this actor do?

Instagram Comments Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Instagram Comments Scraper Effortlessly scrape comments from any public Instagram post or reel with the Instagram Comments Scraper! This Apify Actor extracts detailed comment data—text, usernames, timestamps, and more—without risking your Instagram account. Ideal for marketers, researchers, and businesses, it delivers structured data for sentiment analysis, audience insights, and engagement tracking. 🔗 Try it now: Instagram Comments Scraper ## 🚀 Why Choose Instagram Comments Scraper? - Safe & Secure: Uses only a sessionid cookie, with built-in delays to stay within Instagram’s API limits, reducing ban risks. - No External Proxies Needed: Leverages Apify’s residential proxies for seamless, cost-effective scraping. - High-Speed Extraction: Fetches up to 50 comments per request, with pagination for large comment threads. - Flexible Outputs: Exports data in JSON, CSV, or Excel via Apify’s dataset storage for easy integration. - Rich Data: Captures Comment ID, text, date, user ID, username, profile picture URL, and post ID. ## 🎯 Who Benefits? - Marketers: Gauge audience sentiment to optimize campaigns. - Researchers: Analyze social media trends and user behavior. - Businesses: Track brand mentions and customer feedback. - Content Creators: Understand audience reactions to refine content. ## 📋 Features - Comment Extraction: Pulls text, timestamps, and user details from public posts/reels. - Pagination Support: Handles thousands of comments across multiple pages. - Rate Limiting: Built-in delays to mimic human behavior and avoid detection. - Custom Inputs: Supports multiple post URLs and a single session ID. - Automation Ready: Pair with Make.com for automated data workflows. ## 🛠️ How It Works 1. Join Apify: Sign up at Apify to access powerful scraping tools. 2. Subscribe: Get the Instagram Comments Scraper for premium features. 3. Obtain Session ID: Log into Instagram and extract your sessionid (see below). 4. Input URLs: Add Instagram post/reel URLs to scrape. 5. Run the Actor: Launch the scraper and monitor progress in Apify’s console. 6. Export Data: Download results in JSON, CSV, or Excel, or automate with Make.com. ## 🔐 How to Get Your Instagram Session ID The scraper requires a valid Instagram sessionid cookie. Follow these steps to retrieve it safely: 1. Install Cookie-Editor: - Download the Cookie-Editor Chrome Extension. 2. Log in to Instagram: - Open Chrome and sign into Instagram. 3. Access Cookies: - Click the Cookie-Editor icon in Chrome and find the sessionid cookie. 4. Copy Session ID: - Copy the sessionid value (e.g., 348885830%3AgQY5HtJbSv9iYP%3A4%3AAYf_ylDIe5_uBzR7U_G88TbxHFXGoiCzv8S6WBlx8CKi). 5. Input in Apify: - Paste the sessionid into the cookiesID field in the actor’s input form. Security Note: Never share your sessionid publicly. Refresh it regularly by logging out and back in to maintain account safety. ## 📥 Input Configuration Provide these inputs in the Apify actor interface: - postURLs: Array of Instagram post/reel URLs (e.g., ["https://www.instagram.com/reel/DHb-b-qOn_M/"]). - cookiesID: Your Instagram sessionid (e.g., 348885830%3AgQY5HtJbSv9iYP%3A4%3AAYf_ylDIe5_uBzR7U_G88TbxHFXGoiCzv8S6WBlx8CKi). Example JSON input: json { "postURLs": [ "https://www.instagram.com/reel/DHb-b-qOn_M/", "https://www.instagram.com/reel/DFEIBoPR89q/" ], "cookiesID": "your_session_id_here" } ## 📤 Output Example Each comment is stored in Apify’s dataset and can be exported in multiple formats. Sample output: json { "CommentID": "1234567890123456789", "CommentText": "Amazing content! Keep it up! 🔥", "CommentDate": "2025-04-20 14:30", "UserID": "987654321", "username": "user_example", "profile_pic_url": "https://instagram.com/.../profile.jpg", "PostID": "DHb-b-qOn_M", "PostURL": "https://www.instagram.com/reel/DHb-b-qOn_M/" } ## 🤖 Automate with Make.com Supercharge your workflow by integrating with Make.com, a no-code automation platform. Use Make.com to: - Process Data: Clean, filter, or enrich comment data automatically. - Integrate Tools: Sync scraped data with Google Sheets, CRMs, or email marketing platforms. - Schedule Runs: Set up recurring scrapes for ongoing monitoring. - Trigger Actions: Send notifications or update dashboards based on comment insights. Example Workflow: 1. Run the Instagram Comments Scraper on a schedule. 2. Use Make.com to parse comments and extract sentiment. 3. Push results to a Google Sheet or Slack channel. Learn more at Make.com or watch their scraping tutorial. ## 💡 Tips for Best Results - Start Small: Test with 1–5 URLs to ensure smooth operation. - Use Fresh Session IDs: Refresh your sessionid biweekly to avoid expiration. - Check Logs: Review Apify’s detailed logs for progress and errors. - Export Flexibly: Choose JSON for APIs, CSV for spreadsheets, or Excel for reports. - Automate Wisely: Use Make.com to streamline repetitive tasks. ## 🌟 More Tools by devil_port369-owner Explore my full suite of Instagram and social media scraping tools, all built for speed, safety, and insights. Each actor includes the ?fpr=lklf0 referral link to support my work: - Instagram Followers Scraper: Extract follower data from public profiles for influencer marketing and audience analysis. - Instagram Followers - No Cookies Required: Scrape followers without cookies, perfect for quick, low-risk runs. - Instagram Followings Scraper: Collect following lists for network analysis and competitor research. - Instagram Following: Extract following profile data for influencer and audience insights. - Instagram Posts Scraper: Scrape public posts, hashtags, and metadata for content analysis. - Instagram Profile Scraper: Gather bios, followers, and contact info from profiles. - Instagram Email Phone Scraper: Extract public emails and phone numbers for lead generation. - Instagram Complete Profile Scraper PPR: Deep profile insights with pay-per-result pricing. - Skool Followers Scraper: Scrape follower data from Skool.com communities. ## 🔧 Troubleshooting - Session ID Expired: Refresh your sessionid if authentication fails (see “How to Get Your Instagram Session ID”). - No Data Returned: Verify URLs are public and correctly formatted. Private posts are not supported. - Rate Limit Errors: Pause for 10–15 minutes and reduce the number of URLs per run. - Export Issues: Ensure you’ve selected the correct format (JSON, CSV, Excel) in Apify’s dataset interface. ## 📬 Get in Touch Need help or have questions? Contact me via: - Apify Support: Use the Apify Support Chat. - Upwork: My Upwork Profile. - LinkedIn: My LinkedIn Profile. Happy scraping! 🚀 ## 🚨 Important: Protect Your Instagram Account Using your Instagram account's cookies (sessionid) requires caution to avoid account flagging or burnout. Instagram monitors scraping activity, and excessive or rapid requests can lead to temporary bans or restrictions. To stay safe: - Scrape Slowly: The actor includes a 3.7-second delay between requests, but avoid running multiple tasks simultaneously. - Limit Runs: Process 5–10 URLs at a time to minimize detection risk. - Refresh Session IDs: Update your sessionid every 1–2 weeks by logging out and back into Instagram. - Monitor Activity: Watch for Instagram warnings or login prompts, and pause scraping if detected. - Use Responsibly: Adhere to Instagram’s terms of service to protect your account. By scraping responsibly, you can gather valuable data while keeping your account secure.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Instagram Comments Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
devil_port369-owner
Pricing
Paid
Total Runs
262
Active Users
30
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support