Instagram All Comments Scraper avatar

Instagram All Comments Scraper

Pricing

Pay per usage

Go to Apify Store
Instagram All Comments Scraper

Instagram All Comments Scraper

Don’t Miss a Single Word. 🔍 Most tools fail after the first few comments. We deliver the full dataset—every comment, every time. If you need a fully automated system to monitor and collect comments from multiple accounts on a custom schedule, I can help. 📩 Reach out: mstfrsy@gmail.com

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Mustafa

Mustafa

Maintained by Community

Actor stats

0

Bookmarked

13

Total users

5

Monthly active users

24 days ago

Last modified

Share

Unrivaled Instagram Comment Scraper 🕷️

The most robust Instagram comment scraper on Apify. While others fail on long comments or Reels UI, this Actor extracts every single comment perfectly.

How it Works

  1. Input: Takes an Instagram post/reel URL as input.
  2. Execution: Opens the page using Playwright (headless Chrome).
  3. Extraction: Collects all comments through a combination of API interception and robust DOM scraping.
  4. Output: Automatically saves all gathered comments to your Apify Dataset.

Why Choose This Scraper?

  • Unrivaled Accuracy: Full text extraction without UI noise.
  • Mobile-First Logic: Bypasses common blocks with advanced emulation.
  • Deep Discovery: Aggressively expands sections others miss.
  • "Perfect Extraction": Flawlessly handles the latest UI variations.

How to Use

1. Enter Post URL

Paste the link to the Instagram post or Reel.

2. Authenticate (One of two ways)

  • Session ID (Recommended): Provide your sessionid cookie value.
  • Direct Login: Enter your Instagram username and password.

How to get Session ID:

  1. Log in to Instagram.com in your browser.
  2. Press F12 -> Application -> Cookies.
  3. Copy the Value of the sessionid cookie.

3. Click "Start"

Run the Actor to collect every comment into your dataset.

Input Parameters

| Parameter | Type | Required | Default | Description | |-----------|------|-----|-------------| | postUrl | string | ✅ | Link to the Post/Reel | | sessionCookie | string | ❌ | Your sessionid cookie | | username | string | ❌ | Instagram Username | | password | string | ❌ | Instagram Password | | maxComments | int | ❌ | Max comments (Default: 500) |

Output (Dataset)

Each comment is saved as a separate row in the dataset including:

  • Post URL
  • Author (Username)
  • Comment Text
  • Timestamp

Local Development

1. Install Dependencies

$npm install

2. Build TypeScript

$npm run build

3. Run Locally

$npm start

Deploy to Apify

Push the code to Apify using the Apify CLI:

$apify push

Technology Stack

  • Runtime: Node.js 18+
  • Scraping: Playwright (headless Chrome)
  • Platform: Apify Actor
  • Language: TypeScript

Custom Monitoring & Analysis

If you need a tailored application to track and analyze comments from all accounts you follow over specific time periods, we can build a custom solution for you. Contact: mstfrsy@gmail.com


Designed for perfection.