# Instagram Comments Scraper (`automly/instagram-comments-scraper`) Actor

Scrape comments from Instagram posts and reels: text, likes, date and commenter username, newest first. Thousands of comments per post, a date filter for new comments, and a real-time API. No login.

- **URL**: https://apify.com/automly/instagram-comments-scraper.md
- **Developed by:** [Automly](https://apify.com/automly) (community)
- **Categories:** Social media
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 408 total users, 151 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.40 / 1,000 comments

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### What is Instagram Comments Scraper?

**Instagram Comments Scraper** is a tool that lets you **scrape comments from Instagram posts and reels**: comment text, number of likes, publish date, commenter username and ID, verified badge and profile picture. Paste post or reel links, click **Start**, and download the comments as Excel, CSV or JSON.

- ⚡ **Speed:** about 8,000 comments per minute (6,000 comments from 30 posts in 41 seconds in our test)
- 📚 **Depth:** thousands of comments per post, not just the first 15
- 🔔 **New comments only:** get just the comments posted since a date you choose
- 👥 **Commenter profiles (optional):** add each commenter's name, bio, links, followers and following to their comments
- 🔓 **No login:** no Instagram account, cookies or API key needed
- 💸 **Free to try:** the $5 of free usage every Apify account gets each month covers at least 2,500 comments

### What can Instagram Comments Scraper do?

- Scrape comments from any public **Instagram post or reel**
- Get **thousands of comments** from posts with tens of thousands of comments
- Get comments **newest first**, with the exact date and time of each
- Keep only comments **posted after a date** to follow a conversation on a schedule
- Add each **commenter's profile** to their comments: full name, bio, links, followers, following and account type
- Scrape **many posts in one run**, each comment linked to its post
- Get results in seconds over the **real-time API**, without starting a run
- Export to Excel, CSV, JSON, HTML or XML, or send them to Google Sheets, Make, Zapier and more

### What data can you extract from Instagram comments?

| | | |
|---|---|---|
| 💬 Comment text | ❤️ Number of likes | 📅 Publish date and time |
| 👤 Commenter username | 🆔 Commenter ID | ✅ Commenter verified |
| 🖼️ Commenter picture | 🔗 Post link | 🆔 Post ID and shortcode |
| 👥 Commenter followers and following\* | 📝 Commenter name, bio and links\* | 🏢 Commenter account type, private or not\* |

\* With **Add commenter profiles** on.

### How to scrape Instagram comments

1. [Create a free Apify account](https://console.apify.com/sign-up) (no credit card needed).
2. Open **Instagram Comments Scraper**.
3. Paste one or more **post or reel links**, one per line.
4. Choose how many comments you want per post and, if you like, a start date, then click **Start**.
5. When the run finishes, download your comments as Excel, CSV, JSON, HTML or XML.

### How much does it cost to scrape Instagram comments?

You pay **$0.40 per 1,000 comments** (plus $0.00005 when a run starts), and only for the comments you get. For example, 1,000 comments cost $0.40. Every Apify account gets **$5 of free usage each month**, so you can try it at no cost. See the **Pricing** tab for the current prices; paid Apify plans get the same price per comment.

**Add commenter profiles** is charged separately, once per commenter per run: someone who wrote 10 comments counts once, and a profile that cannot be read is not charged. It costs less on higher Apify plans; see the **Pricing** tab.

### ⬇️ Input

Links can be posts (`https://www.instagram.com/p/DdG4RIxIPyf/`) or reels (`https://www.instagram.com/reel/DdG4RIxIPyf/`), with or without extra parameters.

| Setting | What it does |
|---|---|
| Post or reel URLs | The posts and reels to scrape |
| Comments per post | The most comments to get from each post, newest first (default 100) |
| Comments posted after | Only comments posted on or after this date |
| Add commenter profiles | Adds each commenter's profile to their comments (off by default) |

Example: up to 2,000 comments from two posts.

```json
{
  "postUrls": [
    "https://www.instagram.com/p/DdG4RIxIPyf/",
    "https://www.instagram.com/reel/DdHyaYAifb6/"
  ],
  "resultsPerPost": 2000
}
```

Example: only the comments posted since 1 September 2026.

```json
{
  "postUrls": ["https://www.instagram.com/p/DdG4RIxIPyf/"],
  "resultsPerPost": 10000,
  "commentsPostedAfter": "2026-09-01"
}
```

Example: 500 comments with each commenter's profile.

```json
{
  "postUrls": ["https://www.instagram.com/p/DdG4RIxIPyf/"],
  "resultsPerPost": 500,
  "includeCommenterProfiles": true
}
```

Profiles make a run a little longer: in our test, 1,400 comments from 4 posts took 34 seconds with profiles and 26 seconds without.

### ⬆️ Output

You get one row per comment. You can view them as a table in Apify Console or download them as Excel, CSV, JSON, HTML or XML. `postShortCode` and `postUrl` tell you which post each comment belongs to.

```json
{
  "id": "17963476829984376",
  "text": "day 1 telling the @nasa that my first legal name is \"Marte\"😭",
  "createdAt": "2026-09-25T00:18:09Z",
  "likes": 0,
  "ownerUsername": "acepta_solicitud_desempleado",
  "ownerId": "37156140381",
  "ownerVerified": false,
  "ownerProfilePicUrl": "https://scontent-mia3-1.cdninstagram.com/v/t51.82787-19/812...jpg",
  "postShortCode": "DdHyaYAifb6",
  "postId": "3983374110243288826",
  "postUrl": "https://www.instagram.com/p/DdHyaYAifb6/",
  "source": "https://www.instagram.com/reel/DdHyaYAifb6/",
  "fetchedAt": "2026-09-25T00:30:37Z"
}
```

With **Add commenter profiles** on, each comment also has the commenter's profile in `ownerProfile` (empty when the profile could not be read), for example:

```json
"ownerProfile": {
  "username": "travel.with.jane",
  "url": "https://www.instagram.com/travel.with.jane/",
  "id": "1234567890",
  "fullName": "Jane Doe",
  "biography": "Travel photographer",
  "externalUrl": "https://example.com",
  "bioLinks": [{"title": null, "url": "https://example.com"}],
  "followers": 5230,
  "following": 412,
  "verified": false,
  "private": false,
  "accountType": "creator",
  "pronouns": [],
  "hasReels": true,
  "highlights": ["Japan"],
  "profilePicUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/...jpg",
  "threadsUsername": null
}
```

Each run also saves a short report that lists how many posts and comments it covered, and any post it could not scrape with the reason (for example, a deleted post).

### How can I use Instagram comments data?

- **Audience research:** learn what your followers, or a competitor's, love, ask for and complain about
- **Brand monitoring:** follow what people say under your posts and your campaigns
- **Giveaways and contests:** collect every entry from a giveaway post
- **Sentiment analysis and AI:** build comment datasets for sentiment, topic or trend analysis
- **Influencer vetting:** check comment quality and real engagement before you work with a creator

### How to monitor new Instagram comments

1. Add the posts you want to follow.
2. Set **Comments posted after** to the date of your last run (or leave it and use a high **Comments per post**).
3. [Schedule the actor](https://docs.apify.com/platform/schedules) to run every day or every hour, and send the new comments to Slack, email or a spreadsheet with an [integration](https://apify.com/integrations).

### Real-time Instagram comments API

Need comments right away inside your app? Call the actor's API and get the comments back in the response, without starting a run:

```
GET https://<your-actor-standby-url>/comments?url=https://www.instagram.com/p/DdG4RIxIPyf/&limit=200&since=2026-09-01
Authorization: Bearer <YOUR_APIFY_TOKEN>
```

You can also run the actor from your own code with the [Apify API](https://docs.apify.com/api/v2) or the Python and JavaScript clients:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("automly/instagram-comments-scraper").call(run_input={
    "postUrls": ["https://www.instagram.com/p/DdG4RIxIPyf/"],
    "resultsPerPost": 1000,
})
for comment in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(comment["ownerUsername"], comment["text"])
```

### 🤖 Use with AI agents (MCP)

This actor works as a tool for AI agents. Connect any MCP-compatible AI assistant or agent to the Apify MCP server at https://mcp.apify.com (sign in with your Apify account), and it can find this actor, fill in the input and read the results by itself. Ask in plain words, for example *"Get the latest 100 comments on this Instagram post"*, and the agent runs `automly/instagram-comments-scraper` with an input like `{"postUrls": ["https://www.instagram.com/p/DdG4RIxIPyf/"], "resultsPerPost": 100}`. Every input and output field has a plain description, so the agent knows what to type and what each column means. Agent runs cost the same as runs you start yourself.

### ❓FAQ

#### How much does it cost to scrape Instagram comments?

You pay only for the comments you get, per 1,000 comments. See the **Pricing** tab for the current price. Every Apify account gets $5 of free usage each month, so you can try it at no cost.

#### How many comments can I scrape from one Instagram post?

Thousands. Set **Comments per post** to the number you need; the scraper keeps going until it has that many or the post has no more.

#### Why do I get fewer comments than the number shown on the post?

The number Instagram shows on a post includes replies to comments. This scraper collects the comments themselves, not the replies under them. In our tests a post showing 482 comments had 394 comments plus replies.

#### Can I get the commenters' followers and bio?

Yes. Turn on **Add commenter profiles** and each comment gets the commenter's full name, bio, links, followers, following, account type and whether the account is private or verified. Each commenter is charged once per run, however many comments they wrote.

#### In what order do the comments come?

Newest first. That is what makes **Comments posted after** work: the scraper stops as soon as it reaches older comments.

#### Do I need an Instagram account?

No. You don't need an Instagram account, cookies or an API key.

#### Can I scrape comments from private accounts?

No. Only public posts can be scraped. Private, deleted or mistyped posts are skipped and listed in the run report.

#### Can I connect Instagram Comments Scraper to other tools or AI agents?

Yes. Start runs and download results with the Apify API or the Python and JavaScript clients, send results to Make, Zapier, n8n, Google Sheets or Slack with Apify integrations and webhooks, or let AI assistants and agents run it through the Apify MCP server at [mcp.apify.com](https://mcp.apify.com).

#### Is it legal to scrape Instagram comments?

This scraper only collects comments that people chose to post publicly. It does not collect private data such as email addresses or phone numbers. Comments can still contain personal data, which may be protected by laws such as GDPR, so only scrape it for a legitimate reason and ask a lawyer if you are unsure. You can read more in [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

Instagram Comments Scraper is an independent tool. It is not affiliated with, endorsed by or sponsored by Instagram or Meta.

#### Something isn't working. What should I do?

Open the **Issues** tab and tell us the post link and what you expected. We usually reply within a day.

### Scrape more Instagram data

| Actor | What you get |
|---|---|
| [Instagram Posts & Reels Scraper](https://apify.com/automly/instagram-profile-posts-scraper) | A profile's posts and reels, to find the posts worth scraping comments from |
| [Instagram Post Scraper](https://apify.com/automly/instagram-post-details-scraper) | Full details of posts and reels from their links |
| [Instagram Profile Scraper](https://apify.com/automly/instagram-profile-data-scraper) | Bio, followers, following and post count of the commenters |

### ⭐ Your feedback

Ideas, missing fields or problems: open the **Issues** tab and we'll take a look. If Instagram Comments Scraper saved you time, a short review on the **Reviews** tab helps other people find it.

# Actor input Schema

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

Links to Instagram posts or reels, e.g. https://www.instagram.com/p/DdG4RIxIPyf/ or https://www.instagram.com/reel/DdG4RIxIPyf/.

## `resultsPerPost` (type: `integer`):

The most comments to scrape from each post, newest first.

## `commentsPostedAfter` (type: `string`):

Only comments posted on or after this date, e.g. 2026-09-01 (UTC if no offset). Useful for getting just the new comments on a schedule.

## `includeCommenterProfiles` (type: `boolean`):

Adds each commenter's profile to their comments, e.g. full name, bio, links, followers, following, account type and private or verified. Charged once per commenter per run, however many comments they wrote. Runs take a little longer.

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

Proxy settings. The default works for most runs.

## Actor input object example

```json
{
  "postUrls": [
    "https://www.instagram.com/p/DdG4RIxIPyf/"
  ],
  "resultsPerPost": 100,
  "includeCommenterProfiles": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `results` (type: `string`):

No description

## `report` (type: `string`):

No description

# 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/DdG4RIxIPyf/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("automly/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/DdG4RIxIPyf/"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("automly/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/DdG4RIxIPyf/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call automly/instagram-comments-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automly/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/AQOYwXWe5Zmdf5u2P/builds/GQiOLVUpuchxTie5d/openapi.json
