Instagram post & comments Scraper

Instagram post & comments Scraper

by logical_scrapers

The only Instagram scraper that can get you all comments. scrapes full post data including metadata and comments from Instagram posts. It takes Instag...

381 runs
56 users
Try This Actor

Opens on Apify.com

About Instagram post & comments Scraper

The only Instagram scraper that can get you all comments. scrapes full post data including metadata and comments from Instagram posts. It takes Instagram post URLs as input and extracts detailed post information with support for authentication.

What does this actor do?

Instagram post & 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 - Post Data & Comments ### The only Instagram scraper capable of fetching post metadata with all comments This Apify actor scrapes full post data including metadata and comments from Instagram posts. It takes Instagram post URLs as input and extracts detailed post information with support for authentication. ## Features - Extract complete post metadata and comments from single or multiple Instagram posts - Support for limiting the number of comments per post - Authentication support using cookies for accessing private posts or more comments - Proxy support to avoid blocks and rate limits - Returns comprehensive post data including: - Post details (ID, shortcode, dimensions, URLs) - Engagement metrics (likes count, comments count) - Content information (captions, carousel media) - Author details (username, verification status, profile picture) - Sponsorship information (paid partnerships, affiliate content) - Location data (when available) - Complete comment threads with user information ## Input Parameters The actor accepts the following input parameters: | Parameter | Type | Default | Description | | ------------- | ------- | ------- | ------------------------------------------------------------------ | | urls | Array | | List of Instagram post URLs to scrape comments from | | maxComments | Integer | 100 | Maximum number of comments to fetch per post | | cookies | Array | | Instagram authentication cookies in JSON format (name-value pairs) | | proxy | Object | | Proxy configuration for avoiding blocks | ## Output The actor saves complete post data to the dataset, with the following structure: json { "id": "3620802609919042803", "shortcode": "DI_rMo2CCTz", "dimensions": { "height": 1350, "width": 1080 }, "display_url": "https://instagram.fbcdn.net/...", "thumbnail_src": "https://instagram.fbcdn.net/...", "is_video": false, "taken_at": 1745853328, "accessibility_caption": "Photo by Username...", "owner": { "id": "58712495227", "username": "account.name", "is_verified": true, "profile_pic_url": "https://instagram.fbcdn.net/..." }, "comments_count": 737, "likes_count": 37704, "is_sponsored": false, "is_affiliate": false, "is_paid_partnership": false, "caption": "Post caption text...", "post_url": "https://www.instagram.com/p/DI_rMo2CCTz/", "location": { "id": "123456789", "name": "Location Name", "city": "City Name", "has_public_page": true }, "carousel_media": [ { "id": "3620802588276444105", "shortcode": "DI_rMUsCEvJ", "display_url": "https://instagram.fbcdn.net/...", "is_video": false, "accessibility_caption": "Image description..." } // More carousel items if present ], "comments": [ { "id": "18052175510201263", "text": "Comment text...", "created_at": 1746331257, "owner": "username", "owner_verified": false, "viewer_has_liked": false, "likes": 0 } // More comments ] } ## Usage Examples ### Scrape post data and comments with authentication json { "urls": [ "https://www.instagram.com/p/DI_rMo2CCTz", "https://www.instagram.com/p/ANOTHER_POST_ID" ], "maxComments": 200, "cookies": [ { "name": "csrftoken", "value": "your-csrftoken-value" }, { "name": "sessionid", "value": "your-sessionid-value" } ], "proxy": { "useApifyProxy": true } } ## Cookie Extraction To extract cookies from Instagram: 1. Install the Cookie Editor extension from Chrome Web Store or Firefox Add-ons 2. Login to Instagram in your browser 3. Click on the Cookie Editor extension icon 4. Export cookies as JSON 5. Paste the exported JSON into the cookies field ## Use Cases - Social media research and analysis - Influencer marketing research - Sentiment analysis of comments - Content performance tracking - Competitor analysis - Lead generation from comments - Sponsored content monitoring ## 🔗 Integration Options - API Access: Simple REST API for programmatic access - Webhooks: Get notified when scraping is complete - Export Formats: JSON, CSV, Excel, and more - MCP: MCP ready! ## 🔍 Related Tools - TikTok Realtime Post Scraper - TikTok Comments Scraper how to scrape instagram, how to get instagram comments, instagram, instagram comments, instagram api, instagram post comments, instagram automation, instagram post metadata, instagram engagement metrics, instagram sponsored posts

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

Start Free Trial

Actor Information

Developer
logical_scrapers
Pricing
Paid
Total Runs
381
Active Users
56
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