# Instagram Comments Scraper 💰 $0.5/1K · No Login · Alerts (`first-penguin/instagram-comments-scraper`) Actor

Scrape comments from public Instagram posts and reels without login, past the first 15. Paste post links or usernames (latest posts). Monitor mode returns only new comments and alerts Slack, Discord or a webhook. $0.5 per 1,000 comments; posts with no comments are free.

- **URL**: https://apify.com/first-penguin/instagram-comments-scraper.md
- **Developed by:** [First Penguin](https://apify.com/first-penguin) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.50 / 1,000 comments

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Instagram Comments Scraper — No Login, Past the First 15, New-Comment Alerts

Give it Instagram post or reel links — or just usernames — and get **one row per comment**: text, time, likes, and who wrote it (username, ID, verified badge, profile picture).

No Instagram account, no cookies, no login. You pay only for comments returned: **$0.5 per 1,000**. Posts with no comments are free.

Turn on **monitor mode** and each run returns only the comments posted since the last run, and sends them to Slack, Discord or your webhook.

**What it does not do (read first)**

- **No replies.** Instagram does not show replies to visitors who are not logged in, and this Actor never logs in.
- **Newest first only** — no "most liked first" order, for the same reason.
- The comment count Instagram shows on a post **includes replies**, so you will get fewer rows than that number.
- No comments from private accounts' posts.

### How it works

1. **Give post links or usernames** — `instagram.com/p/<code>/`, `instagram.com/reel/<code>/`, links with `?igsh=…`, or just the code. Or give usernames (`nasa`, `@nasa`) and it takes each account's latest posts. Duplicates are removed, so you are never charged twice.
2. **It reads comments the way Instagram's own page does for a logged-out visitor** — newest first, page after page, until the end or your limit.
3. **One row per comment.** A post with no comments, or one that can't be read, comes back as one row with the reason — not charged.

### What's different

| When you need… | This Actor | A typical Instagram comments Actor |
|---|---|---|
| **More than the first 15 comments** | ✅ Keeps paging to the end of what logged-out visitors can see | ⚠️ "Only 15 comments" is a common complaint; some limit the free plan to 10–15 |
| **Only new comments, every day** | ✅ Monitor mode remembers what you already got and returns only new comments | ❌ Returns everything every time. You remove duplicates yourself |
| **To hear about new comments right away** | ✅ Slack, Discord, or any webhook (Zapier, Make, n8n) | ❌ No alerts |
| **Comments from an account's latest posts** | ✅ Give usernames; it picks the latest posts | ❌ Usually post links only |
| **Paying only for what you get** | ✅ $0.5 / 1,000 comments, no start fee, posts with no comments free | ⚠️ Some add a fee per post or per run |
| Replies / most-liked order | ❌ Not visible without login | ✅ Some offer them |

### Use cases

- **Brand monitoring** — run your brand's and competitors' latest posts every morning in monitor mode. Get a Slack message with only the new comments: complaints, questions, praise.
- **Campaign reaction** — collect every comment on a launch post and send it to a sentiment or topic model.
- **Giveaways** — collect all entry comments on a contest post and pick a winner from the list.
- **Find engaged people** — see who comments on posts in your niche (username, verified badge).
- **Datasets for AI** — newest-first comment text with timestamps, ready for NLP.

### Pricing

| Event | Price |
|---|---|
| Comment returned | $0.5 / 1,000 ($0.0005 each) |
| Post with no comments, post not found, invalid input | Free |
| Actor start | Free |

Use `maxCommentsPerPost` or `commentsSince` to control spend. In monitor mode you pay only for new comments.

### Input

| Field | What it does |
|---|---|
| `postUrls` | Post or reel links (or codes). Duplicates are removed |
| `profiles` | Usernames or profile URLs — scrape their latest posts |
| `maxPostsPerProfile` | How many latest posts per username (1–12, default 3) |
| `maxCommentsPerPost` | Newest first. `0` = every comment visible without login (default 100) |
| `commentsSince` | Stop at comments older than this date (YYYY-MM-DD) |
| `monitor` / `monitorName` | Return only comments not seen in earlier runs; keep separate watch lists |
| `slackWebhookUrl` / `discordWebhookUrl` / `webhookUrl` | Where to send new comments (monitor mode) |
| `rereadOnEarlyEnd` | When Instagram ends the list early, read once more and add what was missed (default on, never charged twice) |

Minimal input:

```json
{ "postUrls": ["https://www.instagram.com/p/Df5WFYiJXmA/"] }
```

From usernames, new comments only:

```json
{ "profiles": ["nasa"], "maxPostsPerProfile": 3, "monitor": true, "slackWebhookUrl": "https://hooks.slack.com/services/…" }
```

### Output

Example (made-up data):

```json
{
  "status": "ok",
  "postUrl": "https://www.instagram.com/p/Df5WFYiJXmA/",
  "postCode": "Df5WFYiJXmA",
  "position": 1,
  "commentId": "18012345678901234",
  "text": "Where can I buy this? 😍",
  "createdAt": "2026-11-20T08:15:42.000Z",
  "likeCount": 3,
  "ownerUsername": "example.shopper",
  "ownerId": "1234567890",
  "ownerIsVerified": false,
  "ownerProfilePicUrl": "https://scontent.cdninstagram.com/…",
  "hasGif": false,
  "commentUrl": "https://www.instagram.com/p/Df5WFYiJXmA/c/18012345678901234/",
  "fromProfile": null,
  "scrapedAt": "2026-11-21T09:00:00.000Z"
}
```

A post with nothing to return (not charged):

```json
{ "status": "no_comments", "postUrl": "https://www.instagram.com/p/DdExample01/", "detail": "No comments visible to logged-out visitors (none posted, or comments turned off)." }
```

Other statuses: `no_new_comments` (monitor mode) · `failed` with `reason`: `not_found` (deleted post or private account) · `unavailable` (Instagram did not answer after several tries) · `profile_not_found` · `not_a_post_url` · `not_a_profile_url` · `invalid_input`

The run summary (`RUN_SUMMARY` in the key-value store) lists every post with how many comments came back and why reading stopped (`end`, `limit`, `since`, `seen`).

### Monitor mode

- The first run returns the comments (up to your limit) and remembers their IDs. Later runs return only comments not seen before, and stop reading a post as soon as they reach comments already seen — so a daily run is cheap.
- **Seen comment IDs are stored only in your own Apify account** (a named key-value store). The developer stores nothing.
- Use Apify's scheduler to run it daily or hourly.
- If an alert fails to send, the first row of that post keeps the error in `notifyErrors` — the data is never lost.

### Measured results

60 posts from Instagram accounts picked at random from Wikidata (a public, crowd-edited database) — not just celebrities — November 2026, no comment limit:

| | Posts |
|---|---|
| Comments returned | 48 |
| No comments visible (free) | 12 |
| More than 15 comments returned | 22 |
| More than 100 comments returned | 8 (largest: 582) |

3,741 comments in total, every post read to the end of what logged-out visitors can see. A busy post (2,245 comments) came back in full in the same run. No request was asked to log in.

Monitor mode: a second run 2 minutes after the first returned 0 rows and was charged nothing; it stopped on each post's first page because everything there had been seen already.

### FAQ

**Why do I get fewer comments than Instagram shows?** Instagram's number includes replies, which are not visible without login.

**Why no replies?** Instagram shows replies only to logged-in users. This Actor never logs in or uses anyone's account.

**Can my Instagram account get blocked?** This Actor doesn't log in and doesn't use cookies, so your account is never involved.

**Does it need a proxy?** Yes, a residential proxy (the default, included in the price).

### Use with AI agents

Call it through the [Apify MCP server](https://mcp.apify.com) (`first-penguin/instagram-comments-scraper`).

- **Auth:** your Apify API token
- **Minimal input:** `{ "postUrls": ["https://www.instagram.com/p/<code>/"] }`
- **Output:** one row per comment (`text`, `createdAt`, `likeCount`, `ownerUsername`, `postUrl`, …) or a `no_comments` / `failed` row
- **Billing:** `comment` $0.0005 each; everything else free

### Disclaimer

- This Actor reads only what Instagram shows publicly to visitors who are not logged in.
- Results contain personal data (usernames, profile pictures, comment text). You are responsible for having a legitimate reason to process it under GDPR and other laws. The developer is not the controller of your data.
- Not affiliated with, endorsed by, or sponsored by Instagram or Meta Platforms, Inc.

### Related Actors

- [Instagram Profile Monitor](https://apify.com/first-penguin/instagram-profile-monitor) — followers, bio and links of any public account, with change alerts

### Keywords

instagram comments scraper, instagram comment scraper, scrape instagram comments, instagram comments export, instagram reel comments, instagram comment monitor, instagram new comments alert, instagram giveaway comments, instagram comments api, instagram comments no login

# Actor input Schema

## `postUrls` (type: `array`):

Links to Instagram posts or reels: instagram.com/p/<code>/, instagram.com/reel/<code>/, or just the code. Duplicates are removed.

## `profiles` (type: `array`):

Usernames or profile URLs (nasa, @nasa, instagram.com/nasa/). The Actor takes each account's latest posts as shown on the profile (pinned posts come first) and scrapes their comments.

## `maxPostsPerProfile` (type: `integer`):

How many of each account's latest posts to scrape (1–12).

## `maxCommentsPerPost` (type: `integer`):

Newest first. Set 0 to get every comment Instagram shows to logged-out visitors.

## `commentsSince` (type: `string`):

Optional date (YYYY-MM-DD). The Actor stops reading a post when it reaches older comments, so you only pay for the new ones.

## `monitor` (type: `boolean`):

Remember which comments were already returned and output only new ones on the next run. Run it on a schedule to get new comments every day. Seen comment IDs are stored only in your own Apify account (a named key-value store).

## `monitorName` (type: `string`):

Use different names to keep separate watch lists.

## `slackWebhookUrl` (type: `string`):

Optional. In monitor mode, sends a message when a post gets new comments.

## `discordWebhookUrl` (type: `string`):

Optional. In monitor mode, sends a message when a post gets new comments.

## `webhookUrl` (type: `string`):

Optional. In monitor mode, receives a JSON POST per post with new comments: event, postUrl, newCount and the comment rows.

## `rereadOnEarlyEnd` (type: `boolean`):

Instagram sometimes stops the logged-out comment list before the end. When on, the Actor reads the post once more from a different connection and adds comments it missed (never charged twice).

## `maxConcurrency` (type: `integer`):

How many posts to read at the same time.

## `proxyConfiguration` (type: `object`):

Residential proxy is required (included in the price).

## Actor input object example

```json
{
  "postUrls": [
    "https://www.instagram.com/p/Df5WFYiJXmA/"
  ],
  "maxPostsPerProfile": 3,
  "maxCommentsPerPost": 100,
  "monitor": false,
  "monitorName": "default",
  "rereadOnEarlyEnd": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `comments` (type: `string`):

One row per comment, plus one row per post with no comments or that could not be read (not charged).

## `summary` (type: `string`):

Posts checked, comments returned, how each post ended, retries.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "postUrls": [
        "https://www.instagram.com/p/Df5WFYiJXmA/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("first-penguin/instagram-comments-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "postUrls": ["https://www.instagram.com/p/Df5WFYiJXmA/"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("first-penguin/instagram-comments-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "postUrls": [
    "https://www.instagram.com/p/Df5WFYiJXmA/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call first-penguin/instagram-comments-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,first-penguin/instagram-comments-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/5zO2KM6rcdO51KcRU/builds/N8Tmwkg6FoMvrhyZn/openapi.json
