Instagram Comments Scraper avatar
Instagram Comments Scraper

Pricing

$9.99/month + usage

Go to Store
Instagram Comments Scraper

Instagram Comments Scraper

Developed by

DataFusionX

Maintained by Community

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

0.0 (0)

Pricing

$9.99/month + usage

0

Monthly users

2

Last modified

4 hours ago

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:
  2. Log in to 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:

1{
2  "postURLs": [
3    "https://www.instagram.com/reel/DHb-b-qOn_M/",
4    "https://www.instagram.com/reel/DFEIBoPR89q/"
5  ],
6  "cookiesID": "your_session_id_here"
7}

📤 Output Example

Each comment is stored in Apify’s dataset and can be exported in multiple formats. Sample output:

1{
2  "CommentID": "1234567890123456789",
3  "CommentText": "Amazing content! Keep it up! 🔥",
4  "CommentDate": "2025-04-20 14:30",
5  "UserID": "987654321",
6  "username": "user_example",
7  "profile_pic_url": "https://instagram.com/.../profile.jpg",
8  "PostID": "DHb-b-qOn_M",
9  "PostURL": "https://www.instagram.com/reel/DHb-b-qOn_M/"
10}

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

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

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.

Pricing

Pricing model

Rental 

To use this Actor, you have to pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage.

Free trial

2 hours

Price

$9.99