# Instagram Comment Scraper V2 (`myagizm/instagram-comment-scraper-v2`) Actor

Scrape all comments from Instagram posts and reels with guaranteed delivery. Returns comment text, author, author verification, like count, reply count, pinned flag and timestamps. Deep pagination, no login.

- **URL**: https://apify.com/myagizm/instagram-comment-scraper-v2.md
- **Developed by:** [MYM](https://apify.com/myagizm) (community)
- **Categories:** Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.94 / 1,000 instagram comment scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Instagram Comment Scraper — export IG comments with authors & likes (No API Key, No Login)

<p align="center">
  <a href="https://apify.com/myagizm/instagram-comment-scraper-v2"><img src="https://img.shields.io/badge/Apify-Actor-00b96b?logo=apify&logoColor=white" alt="Apify Actor"></a>
  <img src="https://img.shields.io/badge/No%20API%20Key-required-blue" alt="No API Key required">
  <img src="https://img.shields.io/badge/No%20Login-needed-blue" alt="No Login needed">
  <img src="https://img.shields.io/badge/No%20Cookies-needed-blue" alt="No cookies needed">
  <img src="https://img.shields.io/badge/Export-JSON%20%7C%20CSV%20%7C%20Excel%20%7C%20XML-orange" alt="Export formats">
  <img src="https://img.shields.io/badge/MCP-AI%20agents-8A2BE2" alt="MCP AI agents">
  <img src="https://img.shields.io/badge/Pricing-pay%20per%20result-success" alt="Pay per result">
</p>

**Scrape the comments of any public Instagram post or reel** — no login, no cookies, no Graph API app, no access token. Paste post URLs and the Instagram Comment Scraper returns every comment as a structured row: text, author username and numeric ID, avatar, verified badge, likes on the comment, reply count, pinned flag, and an ISO timestamp. Perfect for sentiment analysis, giveaway winner picking, spam detection, and mining customer feedback. Export to JSON, CSV, Excel, or XML.

> **Get your first comments free in under 2 minutes** — paste a post URL, click Start. No configuration, no credit card to try.

---

### Table of contents

- [What can it do?](#what-can-it-do)
- [Who uses it?](#who-uses-it)
- [What data can I scrape?](#what-data)
- [How to use it](#how-to)
- [Input example](#input-example)
- [Output example](#output-example)
- [Pricing](#pricing)
- [Tips](#tips)
- [Want other Instagram data?](#want-other-data)
- [AI agents (MCP)](#mcp)
- [Integrations & API](#integrations)
- [Support](#support)
- [FAQ](#faq)
- [Related searches](#related-searches)
- [Disclaimer](#disclaimer)
- [Resources](#resources)

---

### What can the Instagram Comment Scraper do? {#what-can-it-do}

- 💬 **Scrape all public comments** from a post or reel URL.
- 👤 **Get the comment author** — handle, numeric ID, avatar, and verified badge.
- ❤️ **Get likes per comment** so you can rank what the audience agreed with.
- 🧵 **See reply counts** to find the threads that sparked discussion.
- 📌 **Detect pinned comments** chosen by the post owner.
- 🕒 **Get exact timestamps** in ISO and epoch form for time-series analysis.
- 🗂️ **Queue many post URLs** in one run — every row carries its `postUrl`.
- 🎁 **Pick giveaway winners** from a complete, de-duplicated comment export.
- 🚫 **Spot spam and bot patterns** by grouping on author and text.
- 📤 **Export** to JSON, CSV, Excel, or XML, or pull live via API.

Go beyond the limits of the official Instagram API: no OAuth app, no app review, no quota juggling — paste your input and collect publicly available data.

---

### Who uses the Instagram Comment Scraper? {#who-uses-it}

- 😀 **Sentiment & CX teams** — mine unfiltered customer opinions at scale.
- 🎁 **Marketing teams** — run transparent giveaways with a verifiable entrant list.
- 🛡️ **Moderation & trust teams** — detect spam waves, bot comments, and coordinated abuse.
- 🤝 **Influencer marketers** — check whether comments look organic before paying for a placement.
- 🧑‍💻 **AI & NLP teams** — build labelled comment datasets for classification models.

---

### What data can I scrape? {#what-data}

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Comment ID. |
| `text` | string | Comment text. |
| `username` | string | Comment author's handle. |
| `userId` | string | Author's numeric ID. |
| `userProfilePic` | string | Author's avatar URL. |
| `userVerified` | boolean | Whether the author is verified. |
| `likes` | number | Likes on the comment. |
| `replyCount` | number | Number of replies to the comment. |
| `isPinned` | boolean | Whether the post owner pinned the comment. |
| `createdAt` | string | Comment timestamp (ISO). |
| `createdAtEpoch` | number | Timestamp as Unix epoch. |
| `postShortcode` | string | Short code of the post the comment belongs to. |
| `postUrl` | string | URL of the post the comment belongs to. |

> Fields reflect what Instagram exposes publicly for that item. Values that do not exist for a given item are returned as `null` rather than dropped, so your schema stays stable.

---

### How to scrape Instagram comments {#how-to}

1. **Open the Instagram Comment Scraper** on [Apify](https://apify.com/myagizm/instagram-comment-scraper-v2).
2. **Paste post or reel URLs** into *Post / reel URLs*.
3. *(Optional)* Set **Max comments** to cap the run.
4. Click **▶ Start**, then export to JSON, CSV, Excel, or XML.

No login, no cookies, no proxy configuration. Start with one input to see the output shape, then scale the same run — the fields stay identical, so code written against a test run keeps working.

---

### Input example {#input-example}

```json
{
  "startUrls": [
    "https://www.instagram.com/p/DbDxyjdDKp1/"
  ],
  "resultsLimit": 1000
}
````

- **startUrls** — post or reel URLs. Queue as many as you need.
- **resultsLimit** — hard cap on comments returned per run.

***

### Output example {#output-example}

```json
{
  "id": "18070078022448749",
  "text": "Reminds me of the 80s carpet but way more spectacular! The wonders of our universe.",
  "likes": 61,
  "userId": "25772722598",
  "postUrl": "https://www.instagram.com/p/DbDxyjdDKp1/",
  "isPinned": false,
  "username": "matthew_medi_galaxy",
  "createdAt": "2026-07-21T15:09:23Z",
  "replyCount": null,
  "sourceType": "instagram",
  "userVerified": false,
  "postShortcode": "DbDxyjdDKp1",
  "createdAtEpoch": 1784646563,
  "userProfilePic": "https://scontent-bos5-1.cdninstagram.com/v/t51.82787-19/710572785_18103156690858599_7584284778424610067_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=109&ig_cache_key=GPF6WipnMt_fuVBAABOtZp3SykBpbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=MzcTkttYWkgQ7kNvwGVs3Dr&_nc_oc=Adq6_Dd-lriE3j7RRAAcpP7WpUsfLwVRlcgHIc1QPw9yrGZj5bx6YZUMldH5usIPhio&_nc_ad=z-m&_nc_cid=1155&_nc_zt=24&_nc_ht=scontent-bos5-1.cdninstagram.com&_nc_gid=FuiT06RMjJE9wq7VZhRGWQ&_nc_ss=703ba&oh=00_AQC94tuzn8hmvZVZK-iuFiwUxJkqnihNjnOyMeS_RIrTKA&oe=6A6E14FF"
}
```

Every run produces a clean dataset you can page through in the Apify Console or pull via API. Export to JSON, CSV, Excel, or XML in one click.

***

### How much will it cost? {#pricing}

Simple, predictable **pay-per-result** pricing — you pay for the comments you actually receive, not for compute time.

- 💸 **Pay per comment** — budget is just comments × rate, so you can estimate spend up front.
- 📉 **Volume discounts** — Bronze, Silver, Gold, Platinum, and Diamond Apify plans get progressively lower rates.
- 🆓 **Free to try** — new Apify accounts include monthly free usage, so your first run costs nothing.
- 🚫 **No hidden fees** — no proxy add-on, no per-request API charge, no minimum spend.

See the live rate on the [Apify store page](https://apify.com/myagizm/instagram-comment-scraper-v2).

***

### Tips {#tips}

- 🎁 **For giveaways, export to CSV and de-duplicate on `username`** before drawing a winner.
- ❤️ **Sort by comment `likes`** to surface the feedback the audience actually endorsed.
- 🚫 **Group by `username` to spot bots** — the same account commenting many times is a signal.
- 🕒 **Use `createdAtEpoch`** for clean time-bucketing in spreadsheets and SQL.
- 🧵 **High `replyCount` marks the interesting threads** worth reading manually.
- 🔁 **Re-run on a schedule** if you are monitoring a live campaign post.

***

### Want other Instagram data? {#want-other-data}

- 👤 **[Instagram Profile Scraper](https://apify.com/myagizm/instagram-profile-scraper-v2)** — followers, following, posts count, bio, external link and verified flag in bulk.
- 🖼️ **[Instagram Post Scraper](https://apify.com/myagizm/instagram-post-scraper-v2)** — posts with likes, comments, captions, hashtags and media URLs.
- 🎬 **[Instagram Reel Scraper](https://apify.com/myagizm/instagram-reel-scraper-v2)** — reels with plays, likes, comments, duration and video URLs.
- \#️⃣ **[Instagram Hashtag Scraper](https://apify.com/myagizm/instagram-hashtag-scraper-v2)** — top or recent posts for any hashtag.
- 🧑‍🤝‍🧑 **[Instagram Followers Scraper](https://apify.com/myagizm/instagram-followers-scraper-v2)** — the follower or following list of an account.
- ❤️ **[Instagram Post Likers Scraper](https://apify.com/myagizm/instagram-likers-scraper-v2)** — the accounts that liked a post.
- 📸 **[Instagram Stories Scraper](https://apify.com/myagizm/instagram-stories-scraper-v2)** — active stories with media URLs before they expire.

Building a multi-platform dataset? The same no-login, pay-per-result approach covers the other networks:

- 🎵 **[TikTok Profile Scraper](https://apify.com/myagizm/tiktok-profile-scraper-v2)** · **[TikTok Video Scraper](https://apify.com/myagizm/tiktok-video-scraper-v2)** · **[TikTok Hashtag Scraper](https://apify.com/myagizm/tiktok-hashtag-scraper-v2)** · **[TikTok Comments Scraper](https://apify.com/myagizm/tiktok-comments-scraper-v2)**
- 🐦 **[X (Twitter) Tweets Scraper](https://apify.com/myagizm/x-tweets-scraper)** · **[X Profile Scraper](https://apify.com/myagizm/x-profile-scraper)** · **[X Trends Scraper](https://apify.com/myagizm/x-trends-scraper)**
- 👔 **[LinkedIn Profile Scraper](https://apify.com/myagizm/linkedin-profile-scraper)** · **[LinkedIn Company Scraper](https://apify.com/myagizm/linkedin-company-scraper)** · **[LinkedIn Jobs Scraper](https://apify.com/myagizm/linkedin-jobs-scraper)**
- 🤖 **[Reddit Scraper](https://apify.com/myagizm/reddit-scraper-v2)** · **[Reddit Search Scraper](https://apify.com/myagizm/reddit-search-scraper-v2)** · **[Reddit Subreddit Scraper](https://apify.com/myagizm/reddit-subreddit-scraper-v2)**
- ▶️ **[YouTube Channel Scraper](https://apify.com/myagizm/youtube-channel-scraper)** · **[YouTube Comment Scraper](https://apify.com/myagizm/youtube-comment-scraper)** · **[YouTube Transcript Scraper](https://apify.com/myagizm/youtube-transcript-scraper)**
- 🗺️ **[Google Maps Scraper](https://apify.com/myagizm/google-maps-scraper)** · **[Google News Scraper](https://apify.com/myagizm/google-news-scraper)**

Browse everything on the **[myagizm store profile](https://apify.com/myagizm)**.

***

### Use the data with AI agents (MCP) {#mcp}

The Instagram Comment Scraper is available through the **Apify MCP server**, so AI assistants can call it as a tool and pull Instagram comments on demand.

- 🧩 **Claude** — add the Apify MCP server and let Claude fetch and analyse the data.
- 🤖 **ChatGPT** — use the actor as a tool inside research and reporting workflows.
- 🖊️ **Cursor** — pull structured results straight into your coding sessions.

Common AI-agent recipes:

- 😀 **Sentiment summary** — "read these comments and summarise the top three complaints."
- 🎁 **Giveaway draw** — "list unique commenters who mentioned a friend."
- 🚫 **Spam check** — "flag comments that look automated."
- 🗣️ **Voice-of-customer** — "extract feature requests from this comment set."

***

### Integrations & API {#integrations}

Connect the actor to the tools you already use: **Make, Zapier, n8n, Slack, Airbyte, Gumloop, CrewAI, IFTTT, Lindy, GitHub, Google Sheets, and Google Drive** — plus webhooks, Apify Schedules, and the MCP server.

#### Run synchronously and get the dataset (Apify API)

```bash
curl -X POST "https://api.apify.com/v2/acts/myagizm~instagram-comment-scraper-v2/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.instagram.com/p/DbDxyjdDKp1/"], "resultsLimit": 1000}'
```

#### Start a run asynchronously

```bash
curl -X POST "https://api.apify.com/v2/acts/myagizm~instagram-comment-scraper-v2/runs?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.instagram.com/p/DbDxyjdDKp1/"], "resultsLimit": 1000}'
```

#### Fetch dataset items later

```bash
curl "https://api.apify.com/v2/acts/myagizm~instagram-comment-scraper-v2/runs/last/dataset/items?token=YOUR_APIFY_TOKEN&format=csv"
```

Change `format` to `json`, `csv`, `xlsx`, or `xml` to export in your preferred format. The Apify Console also auto-generates ready-to-paste **JavaScript, Python, and CLI** snippets plus an **OpenAPI** spec for this actor.

***

### Support {#support}

Questions, feature requests, or something not looking right? Open an issue on the actor's **[Issues tab](https://apify.com/myagizm/instagram-comment-scraper-v2/issues)**. Please include the input you used so we can reproduce and fix it quickly.

***

### FAQ {#faq}

#### Does it include replies to comments?

The actor returns top-level comments with a `replyCount`. Reply threads themselves are not expanded.

#### Can I scrape comments for many posts at once?

Yes. Queue as many post URLs as you like; every row carries `postUrl` and `postShortcode` so you can split them later.

#### Can I scrape comments from a reel?

Yes — reel URLs work exactly like post URLs.

#### Are comments returned in order?

They arrive in the order Instagram serves them for logged-out visitors, newest-first in most cases.

#### Do I need an Instagram account, login, cookies, or API key?

No. There is no login, no cookies, no Instagram Graph API app, no app review, and no access token. Paste your input and run.

#### Is it legal to scrape Instagram?

The actor collects only publicly available data — the same content any visitor can see without logging in. It never logs in and never accesses private accounts. You are responsible for compliant use: if the data contains personal data, follow GDPR, CCPA, and other applicable regulations, and respect Instagram's terms.

#### Can I scrape private accounts?

No. Private accounts are reported in the run log and skipped. The actor never bypasses access controls.

#### Do I need proxies?

No. Proxy handling is built in and managed for you — nothing to configure or supply.

#### Can I export the results to CSV, Excel, or JSON?

Yes. Export to JSON, CSV, Excel, or XML from the Console, or use the API `format` parameter.

#### Can I use it with the Apify API?

Yes — the sync and async endpoints are shown above.

#### Is there an MCP server for AI agents?

Yes. The actor is exposed through the Apify MCP server, so Claude, ChatGPT, and Cursor can call it as a tool.

#### Can I schedule runs?

Yes. Use Apify Schedules or trigger runs via API and webhooks to keep the data fresh.

#### How fresh is the data?

There is no caching. Every run reads the current public page, so numbers are live at run time.

#### Media URLs stopped working after a while — why?

Instagram signs its CDN links and they expire. Download or re-host media in the same session you scrape it.

***

### Related searches {#related-searches}

instagram comment scraper · export instagram comments · instagram comments to excel · instagram comment export csv · instagram giveaway picker · instagram comment sentiment analysis · instagram comment bot detection · scrape instagram comments without login · instagram comments api alternative · instagram reel comments scraper · instagram comment likes data · instagram feedback mining · instagram comment dataset · ig comment scraper · instagram comment monitoring · instagram customer feedback tool

***

### Disclaimer {#disclaimer}

This is an independent tool and is not affiliated with, endorsed by, or sponsored by Instagram or Meta Platforms, Inc.. All product names, logos, and brands are property of their respective owners.

The actor collects only **publicly available** data — the same content any visitor can see without logging in. It never logs in, never bypasses access controls, and never touches private or protected content. You are responsible for how you use the data: if it contains personal data, follow GDPR, CCPA, and other applicable regulations, and respect the platform's terms.

***

### Resources {#resources}

- 📘 [Apify API documentation](https://docs.apify.com/api/v2) — run actors and fetch datasets programmatically.
- 🤖 [Apify MCP server](https://mcp.apify.com) — use this actor as a tool in Claude, ChatGPT, and Cursor.
- 📤 [Dataset export docs](https://docs.apify.com/platform/storage/dataset) — export to JSON, CSV, Excel, and XML.
- ⏰ [Scheduling actor runs](https://docs.apify.com/platform/schedules) — keep your data fresh automatically.
- 🔌 [Apify integrations](https://docs.apify.com/platform/integrations) — n8n, Zapier, Make, Slack, and more.
- 🏪 [myagizm store profile](https://apify.com/myagizm) — the full family of no-login scrapers.

***

## 中文说明 —— Instagram 评论抓取工具

**抓取任意公开 Instagram 帖子或 Reels 的评论** —— 不需要登录、Cookie、Graph API 应用或 access token。粘贴帖子链接，每条评论返回结构化数据：内容、作者用户名与数字 ID、头像、认证标记、该评论获赞数、回复数、是否置顶、ISO 时间戳。适合情感分析、抽奖开奖、垃圾评论识别与客户反馈挖掘。

> **两分钟内免费拿到第一批数据** —— 填入内容、点击 Start 即可。无需配置，试用不需要信用卡。

### 能做什么

- 💬 **抓取帖子或 Reels 的全部公开评论**。
- 👤 **评论者信息** —— 用户名、数字 ID、头像、认证标记。
- ❤️ **每条评论的获赞数**，便于排序找出观众认同的内容。
- 🧵 **回复数**，定位引发讨论的评论。
- 📌 **识别作者置顶的评论**。
- 🕒 **精确时间戳**（ISO + Unix），方便做时间序列分析。
- 🗂️ **一次排队多个帖子链接**，每行都带 `postUrl`。
- 🎁 **抽奖开奖**：完整、去重的参与名单。
- 🚫 **发现垃圾与机器人评论**。
- 📤 **导出** JSON / CSV / Excel / XML。

无需 OAuth 应用、无需应用审核、无需配额管理 —— 填入内容即可采集公开数据。

### 谁在用

- 😀 **体验与客服团队** —— 大规模挖掘未经筛选的用户真实意见。
- 🎁 **市场团队** —— 用可核验的名单做透明抽奖。
- 🛡️ **审核与风控** —— 识别刷评、机器人与有组织滥用。
- 🤝 **红人营销** —— 投放前判断评论是否自然。
- 🧑‍💻 **AI / NLP 团队** —— 构建评论分类数据集。

### 可以抓取哪些数据

| 字段 | 类型 | 说明 |
|------|------|------|
| `id` | string | 评论 ID |
| `text` | string | 评论内容 |
| `username` | string | 评论者用户名 |
| `userId` | string | 评论者数字 ID |
| `userProfilePic` | string | 评论者头像 |
| `userVerified` | boolean | 评论者是否认证 |
| `likes` | number | 该评论获赞数 |
| `replyCount` | number | 回复数 |
| `isPinned` | boolean | 是否被作者置顶 |
| `createdAt` | string | 评论时间（ISO） |
| `createdAtEpoch` | number | 评论时间（Unix 时间戳） |
| `postShortcode` | string | 所属帖子短码 |
| `postUrl` | string | 所属帖子链接 |

> 字段取决于平台对外公开了什么。某个条目没有的值会返回 `null` 而不是直接省略，因此你的数据结构始终稳定。

### 使用步骤

1. 打开 [Instagram 评论抓取工具](https://apify.com/myagizm/instagram-comment-scraper-v2)。
2. 在 *Post / reel URLs* 粘贴帖子或 Reels 链接。
3. （可选）用 **Max comments** 限制数量。
4. 点击 **▶ Start** 并导出数据。

### 输入示例

```json
{
  "startUrls": [
    "https://www.instagram.com/p/DbDxyjdDKp1/"
  ],
  "resultsLimit": 1000
}
```

### 输出示例

```json
{
  "id": "18070078022448749",
  "text": "Reminds me of the 80s carpet but way more spectacular! The wonders of our universe.",
  "likes": 61,
  "userId": "25772722598",
  "postUrl": "https://www.instagram.com/p/DbDxyjdDKp1/",
  "isPinned": false,
  "username": "matthew_medi_galaxy",
  "createdAt": "2026-07-21T15:09:23Z",
  "replyCount": null,
  "sourceType": "instagram",
  "userVerified": false,
  "postShortcode": "DbDxyjdDKp1",
  "createdAtEpoch": 1784646563,
  "userProfilePic": "https://scontent-bos5-1.cdninstagram.com/v/t51.82787-19/710572785_18103156690858599_7584284778424610067_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=109&ig_cache_key=GPF6WipnMt_fuVBAABOtZp3SykBpbmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=MzcTkttYWkgQ7kNvwGVs3Dr&_nc_oc=Adq6_Dd-lriE3j7RRAAcpP7WpUsfLwVRlcgHIc1QPw9yrGZj5bx6YZUMldH5usIPhio&_nc_ad=z-m&_nc_cid=1155&_nc_zt=24&_nc_ht=scontent-bos5-1.cdninstagram.com&_nc_gid=FuiT06RMjJE9wq7VZhRGWQ&_nc_ss=703ba&oh=00_AQC94tuzn8hmvZVZK-iuFiwUxJkqnihNjnOyMeS_RIrTKA&oe=6A6E14FF"
}
```

### 价格

采用**按结果计费**：只为真正拿到的数据付费，不按运行时间计费。

- 💸 成本 = 结果数量 × 单价，预算可提前算清。
- 📉 Apify 的 Bronze / Silver / Gold / Platinum / Diamond 套餐享阶梯折扣。
- 🆓 新账号自带每月免费额度，第一次运行不花钱。
- 🚫 无代理附加费、无单次请求费、无最低消费。

实时价格见 [Apify 商店页面](https://apify.com/myagizm/instagram-comment-scraper-v2)。

### 使用建议

- 🎁 抽奖前导出 CSV 并按 `username` **去重**。
- ❤️ 按评论 `likes` 排序，找出观众真正认同的反馈。
- 🚫 按 `username` 分组即可发现机器人。
- 🕒 用 `createdAtEpoch` 做时间分桶最方便。
- 🧵 `replyCount` 高的评论值得人工细看。

### 其他 Instagram 数据

- 👤 **[Instagram 账号资料抓取工具](https://apify.com/myagizm/instagram-profile-scraper-v2)** —— 批量获取粉丝数、关注数、发帖数、简介、外链与认证状态。
- 🖼️ **[Instagram 帖子抓取工具](https://apify.com/myagizm/instagram-post-scraper-v2)** —— 抓取帖子的点赞、评论数、正文、话题标签与媒体地址。
- 🎬 **[Instagram Reels 抓取工具](https://apify.com/myagizm/instagram-reel-scraper-v2)** —— 抓取 Reels 的播放量、点赞、评论、时长与视频地址。
- \#️⃣ **[Instagram 话题标签抓取工具](https://apify.com/myagizm/instagram-hashtag-scraper-v2)** —— 按话题标签抓取热门或最新帖子。
- 🧑‍🤝‍🧑 **[Instagram 粉丝列表抓取工具](https://apify.com/myagizm/instagram-followers-scraper-v2)** —— 导出账号的粉丝或关注列表。
- ❤️ **[Instagram 点赞用户抓取工具](https://apify.com/myagizm/instagram-likers-scraper-v2)** —— 导出为某条帖子点赞的账号。
- 📸 **[Instagram 快拍抓取工具](https://apify.com/myagizm/instagram-stories-scraper-v2)** —— 在快拍过期前抓取内容与媒体地址。

需要多平台数据？以下工具采用同样的免登录、按结果计费方式：

- 🎵 **[TikTok 账号抓取](https://apify.com/myagizm/tiktok-profile-scraper-v2)** · **[TikTok 视频抓取](https://apify.com/myagizm/tiktok-video-scraper-v2)** · **[TikTok 话题抓取](https://apify.com/myagizm/tiktok-hashtag-scraper-v2)** · **[TikTok 评论抓取](https://apify.com/myagizm/tiktok-comments-scraper-v2)**
- 🐦 **[X（推特）推文抓取](https://apify.com/myagizm/x-tweets-scraper)** · **[X 账号资料抓取](https://apify.com/myagizm/x-profile-scraper)** · **[X 热门趋势抓取](https://apify.com/myagizm/x-trends-scraper)**
- 👔 **[LinkedIn 个人资料抓取](https://apify.com/myagizm/linkedin-profile-scraper)** · **[LinkedIn 公司抓取](https://apify.com/myagizm/linkedin-company-scraper)** · **[LinkedIn 职位抓取](https://apify.com/myagizm/linkedin-jobs-scraper)**
- 🤖 **[Reddit 抓取](https://apify.com/myagizm/reddit-scraper-v2)** · **[Reddit 搜索抓取](https://apify.com/myagizm/reddit-search-scraper-v2)** · **[子版块抓取](https://apify.com/myagizm/reddit-subreddit-scraper-v2)**
- ▶️ **[YouTube 频道抓取](https://apify.com/myagizm/youtube-channel-scraper)** · **[YouTube 评论抓取](https://apify.com/myagizm/youtube-comment-scraper)** · **[YouTube 字幕抓取](https://apify.com/myagizm/youtube-transcript-scraper)**
- 🗺️ **[Google 地图抓取](https://apify.com/myagizm/google-maps-scraper)** · **[Google 新闻抓取](https://apify.com/myagizm/google-news-scraper)**

全部工具见 **[myagizm 商店主页](https://apify.com/myagizm)**。

### 配合 AI 智能体使用（MCP）

本 Actor 已接入 **Apify MCP 服务器**，Claude、ChatGPT、Cursor 等助手可以把它当作工具直接调用，用自然语言提问即可拿到结构化结果，无需写胶水代码。

### 集成与 API

支持 **Make、Zapier、n8n、Slack、Airbyte、Gumloop、CrewAI、IFTTT、Lindy、GitHub、Google Sheets、Google Drive**，以及 Webhook、定时任务与 MCP 服务器。

```bash
curl -X POST "https://api.apify.com/v2/acts/myagizm~instagram-comment-scraper-v2/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.instagram.com/p/DbDxyjdDKp1/"], "resultsLimit": 1000}'
```

把 `format` 改成 `json`、`csv`、`xlsx` 或 `xml` 即可导出不同格式。

### 常见问题

**包含评论的回复吗？**
返回顶层评论并给出 `replyCount`，不展开回复串。

**能一次抓多个帖子的评论吗？**
可以，每行都带 `postUrl` 与 `postShortcode`，便于后续拆分。

**能抓 Reels 的评论吗？**
可以，Reels 链接与帖子链接用法相同。

**需要 Instagram 账号、登录、Cookie 或 API Key 吗？**
不需要。不登录、不用 Cookie、不需要 Graph API 应用、不需要审核、不需要 access token。

**抓取 Instagram 合法吗？**
只采集公开可见的数据，即任何未登录访客都能看到的内容，不登录、不访问私密账号。合规责任由使用者承担：如涉及个人数据请遵守 GDPR / CCPA 与平台条款。

**能抓私密账号吗？**
不能。私密账号会被跳过并记录在运行日志中。

**需要配置代理吗？**
不需要，已内置托管。

**支持导出 CSV / Excel / JSON 吗？**
支持 JSON、CSV、Excel、XML 四种格式。

**可以通过 Apify API 调用吗？**
可以，同步与异步接口见上方示例。

**支持 AI 智能体（MCP）吗？**
支持。Claude、ChatGPT、Cursor 均可把它当作工具调用。

**可以定时运行吗？**
可以，支持 Apify Schedules、API 与 Webhook。

**数据有多新？**
不缓存，每次运行都读取当前公开页面。

**媒体链接过一段时间失效了？**
Instagram 的 CDN 链接带签名且会过期，请在抓取的同一时段下载或转存。

### 免责声明

本工具为独立第三方工具，与 Instagram 及 Meta Platforms, Inc. 无任何隶属、认可或赞助关系，所有商标归各自所有者。

本 Actor 只采集**公开可见**的数据 —— 即任何未登录访客都能看到的内容。它不登录、不绕过访问控制、不获取私密内容。数据使用的合规责任由使用者承担：如涉及个人数据，请遵守 GDPR、CCPA 等法规与平台条款。

### 相关搜索

instagram 评论抓取 · 导出 instagram 评论 · instagram 评论导出 excel · instagram 评论 csv · instagram 抽奖工具 · instagram 评论情感分析 · instagram 机器人评论识别 · 免登录抓取 instagram 评论 · instagram 评论 api 替代 · reels 评论抓取 · instagram 评论点赞数据 · instagram 反馈挖掘 · ig 评论采集

# Actor input Schema

## `startUrls` (type: `array`):

Instagram post or reel URLs to scrape comments from.

## `resultsLimit` (type: `integer`):

Hard cap on how many results this run returns. A run lasts at most ~10 minutes.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.instagram.com/p/DbDxyjdDKp1/"
  ],
  "resultsLimit": 50
}
```

# Actor output Schema

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

All scraped results as structured JSON.

# 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 = {
    "startUrls": [
        "https://www.instagram.com/p/DbDxyjdDKp1/"
    ],
    "resultsLimit": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("myagizm/instagram-comment-scraper-v2").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 = {
    "startUrls": ["https://www.instagram.com/p/DbDxyjdDKp1/"],
    "resultsLimit": 50,
}

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

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://www.instagram.com/p/DbDxyjdDKp1/"
  ],
  "resultsLimit": 50
}' |
apify call myagizm/instagram-comment-scraper-v2 --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=myagizm/instagram-comment-scraper-v2",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Instagram Comment Scraper V2",
        "description": "Scrape all comments from Instagram posts and reels with guaranteed delivery. Returns comment text, author, author verification, like count, reply count, pinned flag and timestamps. Deep pagination, no login.",
        "version": "0.1",
        "x-build-id": "jw89XPDmXakpk8EnT"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/myagizm~instagram-comment-scraper-v2/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-myagizm-instagram-comment-scraper-v2",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/myagizm~instagram-comment-scraper-v2/runs": {
            "post": {
                "operationId": "runs-sync-myagizm-instagram-comment-scraper-v2",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/myagizm~instagram-comment-scraper-v2/run-sync": {
            "post": {
                "operationId": "run-sync-myagizm-instagram-comment-scraper-v2",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "startUrls": {
                        "title": "Post / reel URLs",
                        "type": "array",
                        "description": "Instagram post or reel URLs to scrape comments from.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "resultsLimit": {
                        "title": "Max comments",
                        "minimum": 1,
                        "maximum": 20000,
                        "type": "integer",
                        "description": "Hard cap on how many results this run returns. A run lasts at most ~10 minutes.",
                        "default": 50
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
