Instagram Comment Scraper

Instagram Comment Scraper

by muhammetakkurtt

Scrape comments from Instagram posts effortlessly. This actor collects usernames, comment content, timestamps, user IDs, profile pictures, like counts...

3,708 runs
166 users
Try This Actor

Opens on Apify.com

About Instagram Comment Scraper

Scrape comments from Instagram posts effortlessly. This actor collects usernames, comment content, timestamps, user IDs, profile pictures, like counts, and more. Ideal for social media analysis, sentiment tracking, and engagement monitoring. Easy to use with customizable depth and sort settings.

What does this actor do?

Instagram Comment 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 Comment Scraper # Instagram Comment Scraper This Apify actor is designed to scrape comments from a specific Instagram post. ## Features - Scrapes comments from a specific Instagram post. - Collects information such as username, comment content, timestamp, user ID, profile picture URL, comment like count, and child comment count from the comments. - Supports different comment sorting options (Default, Newest, Meta Verified) ### Obtaining Cookie Information You can use the Cookie Editor extension to obtain Instagram cookie information. Follow these steps: 1. Add the Cookie Editor extension to your Chrome browser. 2. Log in to Instagram. 3. Click on the Cookie Editor icon in the top right corner of your browser. 4. Click the "Export" button to export your cookie information in JSON format. 5. Use this JSON string as the cookiesJson input. Note: If you encounter errors or if 0 comments are processed, ensure that your account is functioning normally and log in again to obtain new cookies to use as input. ## Usage 1. Run this actor in the Apify console. 2. Provide the desired inputs: - instagramUrl: The URL of the Instagram post you want to scrape comments from. - Post: https://www.instagram.com/p/POST_ID/ - Reel: https://www.instagram.com/reel/POST_ID/ - cookiesJson: A JSON string containing your Instagram account's cookie information. - maxDepth: Set the maximum comment depth. Each depth contains about 10-15 comments (0 = unlimited). - sortBy: Select how comments should be sorted: - "For You" (Default): Shows comments based on Instagram's default algorithm - "Newest": Shows the newest comments first - "Meta Verified": Shows comments from verified accounts first ## Output The scraped comments are saved to the Apify dataset. The output data includes: - pk: Comment ID - user.is_verified: Is verified account? - user.id: User ID - user.pk: User PK - user.is_unpublished: Is unpublished account? - user.profile_pic_url: Profile picture URL - user.username: Username - user.fbid_v2: Facebook ID v2 - is_covered: Is covered? - child_comment_count: Child comment count - restricted_status: Restriction status - has_translation: Has translation? - has_liked_comment: Has liked comment? - text: Comment content - giphy_media_info: GIF information - created_at: Creation date - parent_comment_id: Parent comment ID - comment_like_count: Like count - post_url: Direct URL to the Instagram post - comment_url: Direct URL to the specific comment ## Example Output json { "pk": "17866614198483438", "user": { "is_verified": true, "id": "49400013487", "pk": "49400013487", "is_unpublished": null, "profile_pic_url": "https://scontent-iad3-1.cdninstagram.com/v/t51.2885-19/467329435_590865806699122_7136532624242942542_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-iad3-1.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2QG2LStBiJIcXaa2eDxJp_EChxkVKh76TH1d1_DBZEIB-As48-SAjrirU6xF8RhFzA4&_nc_ohc=KFfnMK1CAEMQ7kNvwH7tq0C&_nc_gid=M7mSokllNb1XeE8c8-UShw&edm=AKp6CbIBAAAA&ccb=7-5&oh=00_AfiHjiuCjjYz-LfjKVsSRT1Qr4eI9fz2NxJbqtTpPIaJkQ&oe=6926561F&_nc_sid=d62176", "username": "sqvdthegod919", "fbid_v2": "17841449364635001" }, "is_covered": false, "child_comment_count": 2, "restricted_status": null, "has_translation": true, "has_liked_comment": false, "text": "lol how tf did u know you could do that 😂🔥", "giphy_media_info": null, "created_at": "2025-11-19 17:48:00 UTC", "parent_comment_id": null, "comment_like_count": 0, "post_url": "https://www.instagram.com/p/DRPv9YSADxG/", "comment_url": "https://www.instagram.com/p/DRPv9YSADxG/c/17866614198483438/" } This example output shows the structure of a single comment. The actual output will be a list of similar objects for all scraped comments. ## Notes - In some cases, the first 15-20 comments can exist twice in the dataset. - When using "Newest" or "Meta Verified" sorting options, the first 15-20 comments will not be duplicated. - Nested comments or comments marked as spam may not be scraped. - The collected data is stored in Apify's default data store.

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 Comment Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
muhammetakkurtt
Pricing
Paid
Total Runs
3,708
Active Users
166
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