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

⚡ Instagram Comments Scraper – Extract comments, usernames, likes, replies & timestamps from any public post or reel. Bulk scraping, no login needed. Export to JSON, CSV or Excel. Starts at $0.50/1,000 results.

- **URL**: https://apify.com/scrapesmith/instagram-comments-scraper.md
- **Developed by:** [Scrape Smith](https://apify.com/scrapesmith) (community)
- **Categories:** Automation, Social media
- **Features:** Limited permissions
- **Stats:** 3,545 total users, 693 monthly users, 100.0% runs succeeded, 41 bookmarks
- **User rating**: 3.54 out of 5 stars

## Pricing

from $0.50 / 1,000 results

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 — Extract Comments from Any Instagram Post or Reel

**Scrape Instagram comments at scale. Get comment text, usernames, timestamps, likes, replies, and profile data from any public Instagram post or reel — no login required. Priced at just $0.50 per 1,000 results.**

***

### 💬 What Is the Instagram Comments Scraper?

The **Instagram Comments Scraper** is a fast, reliable, and affordable Apify Actor that extracts all public comments from Instagram posts and reels. Whether you need data from a single viral post or thousands of URLs in bulk, this scraper delivers clean, structured results you can immediately use for analysis, research, or automation.

No cookies. No login. No complex setup. Just paste your URLs and get your data.

***

### ✅ Why Use This Instagram Comments Scraper?

- 💰 **Lowest cost on the market** — only **$0.50 per 1,000 comments**
- ⚡ **Blazing fast** — processes comments at high speed, even on large posts
- 🔓 **No login required** — works entirely on public data, no Instagram account needed
- 📦 **Bulk scraping** — add hundreds of URLs at once using the Bulk Edit input
- 📊 **Multiple export formats** — JSON, CSV, XML, Excel, HTML, JSONL
- 🔌 **Easy integrations** — works with Make.com, Zapier, n8n, Google Sheets, and more
- 🤖 **AI workflow compatible** — plug directly into LangChain, Flowise, or any LLM pipeline

***

### 📦 What Data Does It Extract?

For every comment on the target post, you receive:

| Field | Description |
|---|---|
| `postId` | Unique ID of the source Instagram post |
| `postUrl` | Direct URL to the source post |
| `commentId` | Unique identifier for the comment |
| `commentUrl` | Direct URL to the comment |
| `text` | Full text content of the comment |
| `timestamp` | Unix timestamp of when the comment was posted |
| `likesCount` | Number of likes on the comment |
| `userId` | Unique Instagram user ID of the commenter |
| `username` | Instagram handle of the commenter |
| `userFullName` | Full name of the commenter |
| `ownerProfilePicUrl` | Profile picture URL of the commenter |
| `isVerified` | Whether the commenter's account is verified |
| `repliesCount` | Number of replies to the comment |
| `replies` | Array of nested reply objects |

***

### 🚀 How to Use the Instagram Comments Scraper

Getting started takes under a minute:

1. **Create a free Apify account** — you get $5 in free credits every month
2. **Open the Instagram Comments Scraper** in the Apify Store
3. **Paste one or more Instagram post or reel URLs** into the input field
4. **Click "Save & Start"** and wait for the run to complete
5. **Download your data** in your preferred format: JSON, CSV, Excel, XML, or HTML

You can add multiple URLs one by one or use the **Bulk Edit** option to paste a full list at once.

***

### ⚙️ Sample Input

```json
{
  "maxCommentsPerPost": 10,
  "postUrls": [
    "https://www.instagram.com/mrbeast/p/DZkn1f0Flsc/"
  ],
  "sortOrder": "popular"
}
```

***

### 📤 Sample Output

```json
{
  "postId": "3627347799613702778",
  "postUrl": "https://www.instagram.com/mrbeast/p/DZkn1f0Flsc/",
  "commentId": "17856813987670336",
  "commentUrl": "https://www.instagram.com/mrbeast/p/DZkn1f0Flsc/c/17856813987670336/",
  "text": "🇺🇿",
  "timestamp": 1772885404,
  "likesCount": 1,
  "userId": "63583756795",
  "username": "shaxboz_ulashev98",
  "userFullName": "shaxboz",
  "ownerProfilePicUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/...",
  "owner": "shaxboz_ulashev98",
  "ownerUsername": "shaxboz_ulashev98",
  "isVerified": false,
  "hasLikedComment": false,
  "childCommentCount": 0,
  "repliesCount": 0,
  "replies": []
}
```

***

### 💵 Pricing

This Actor uses **pay-per-result (PPR) pricing** — you only pay for the data you actually receive.

| Volume | Cost |
|---|---|
| 1,000 comments | $0.50 |
| 10,000 comments | $5.00 |
| 100,000 comments | $50.00 |
| 1,000,000 comments | $500.00 |

> 💡 **New to Apify?** Every free account includes **$5 in monthly credits**. Note: free accounts are limited to *0 results per run*\* on this Actor. Upgrade to a paid plan to unlock full scraping capacity.

***

### 🎯 Who Is This For?

#### 📣 Social Media Managers & Marketers

Track audience sentiment, monitor brand mentions in comments, identify top-performing content, and understand what your community is talking about — all without manually scrolling through posts.

#### 📊 Data Analysts & Researchers

Gather large-scale Instagram comment datasets for NLP, sentiment analysis, topic modeling, or academic research. Export clean structured data into your tool of choice.

#### 🛠️ Developers & Engineers

Integrate the scraper into your data pipeline via the Apify API or SDK. Works seamlessly with Python, Node.js, and any REST client. Schedule runs, trigger via webhooks, and automate everything.

#### 💼 Business Owners & Growth Teams

Monitor competitor post engagement, analyze what customers say about your products, collect leads from comment sections, and stay ahead of trends without hiring a data team.

#### 🤖 AI & Automation Builders

Feed Instagram comment data directly into LLM workflows using LangChain, Flowise, or any AI pipeline. The clean, structured output is ready for zero-preprocessing ingestion.

***

### 🧩 Use Cases

- **Sentiment analysis** — understand how audiences feel about a brand, product, or campaign
- **Competitor research** — analyze engagement and tone on competitor posts
- **Influencer vetting** — check comment authenticity and engagement quality before partnerships
- **Lead generation** — identify potential customers commenting on relevant posts
- **Content strategy** — discover what topics and formats drive the most reactions
- **Trend monitoring** — spot emerging topics or viral content early
- **Customer feedback collection** — gather unfiltered user opinions at scale
- **Academic & social research** — study online behavior, language, and community dynamics

***

### 🔌 Integrations & Automation

Connect the Instagram Comments Scraper with your favourite tools:

- 🟣 **Make.com (Integromat)** — automate daily comment exports, trigger alerts on new data
- ⚡ **Zapier** — send comment data to Google Sheets, Slack, or CRMs automatically
- 🔁 **n8n** — build no-code workflows that process Instagram comments in real time
- 📊 **Google Sheets** — export directly to spreadsheets for quick analysis
- 🪝 **Webhooks** — receive instant notifications whenever a scraper run finishes

***

### ❓ Frequently Asked Questions

**Do I need an Instagram account or login?**
No. The Instagram Comments Scraper works entirely with public data and does not require any login credentials, cookies, or session tokens.

**Can I scrape comments from Instagram Reels?**
Yes. The scraper works on both standard Instagram posts and Reels. Simply paste the Reel URL as you would any other post URL.

**Can I scrape multiple posts at once?**
Yes. You can add as many Instagram post URLs as you need using the Bulk Edit input feature. There is no hard limit on the number of URLs per run.

**What formats can I export the data in?**
You can download your results as JSON, JSONL, CSV, XML, Excel (.xlsx), or HTML. You can also access the data programmatically via the Apify API.

**How fast does it scrape?**
The scraper is optimized for speed and handles large posts efficiently. Actual speed may vary based on post size and platform load at the time of the run.

**Does this scraper collect private data?**
No. The scraper only collects publicly available comment data. It does not extract private profiles, direct messages, email addresses, phone numbers, or any non-public information.

**Is scraping Instagram comments legal?**
This scraper collects publicly available data only, consistent with how a regular user browsing Instagram would see it. Always ensure your use of scraped data complies with Instagram's Terms of Service, your local data protection laws (e.g. GDPR, CCPA), and Apify's Terms of Service.

**What happens if a post has very few or no comments?**
For best results and stable performance, target posts with at least 10 comments. Posts with no or very few comments may return empty datasets.

**Can I schedule this scraper to run automatically?**
Yes. Apify allows you to schedule any Actor to run at custom intervals — hourly, daily, weekly, or on a custom cron schedule — directly from the Apify Console.

**I found a bug or have a feature request. What should I do?**
Please open a ticket in the **Issues** tab of this Actor on Apify Console. We actively monitor and respond to all issues.

***

### 🔗 Related Actors

Looking to scrape more Instagram data? Check out these related tools:

- 🖼️ **Instagram Post Scraper** — extract captions, likes, views, mentions, and media from any public profile
- 👤 **Instagram Profile Scraper** — get follower counts, bios, post counts, and profile metadata
- \#️⃣ **Instagram Hashtag Scraper** — discover trending posts and content under any hashtag
- 🎬 **Instagram Reels Scraper** — extract reel metadata, transcripts, views, and engagement data
- 📤 **Instagram Comments & Posts Export** — scrape both posts and their comments in a single run

***

***

### Instagram Comments Scraper vs Other Methods

| Feature | Instagram Comments Scraper | Manual Copy-Paste | Browser Extensions | Official API |
|---------|-------------|-------------------|-------------------|-------------|
| Bulk extraction | Unlimited | One at a time | Limited | Rate-limited |
| No login needed | Yes | Yes | Often required | Key required |
| API access | REST API + SDKs | No | No | Yes |
| Export formats | CSV, JSON, Excel, XML | None | CSV only | JSON only |
| Scheduling | Automated (cron) | Manual | Manual | Manual |
| Cost | $0.50/1k results | Free but slow | $20-50/month | Free + limits |
| Proxy handling | Built-in | N/A | N/A | N/A |

***

### Tips for Best Results with Instagram Comments Scraper

- **Start small** — test with a small batch first to verify the output matches your needs before running large jobs
- **Use Bulk Edit** — paste hundreds of URLs or inputs at once instead of adding them one by one
- **Schedule regular runs** — set up automated daily or weekly scrapes to keep your dataset fresh
- **Export to Google Sheets** — use the built-in Google Sheets integration for easy sharing and analysis
- **Combine with other scrapers** — pair this tool with other Instagram, YouTube, or social media scrapers for a complete dataset

***

**Can I use Instagram Comments Scraper for free?**
Yes. Every new Apify account gets $5 in free monthly credits. Free accounts are limited to 10 results per run on this Actor. Upgrade to any paid plan to remove the limit.

**How to scrape Instagram comments without coding?**
Just paste your URLs or search terms into the input form, click Start, and download the results. No code, no terminal, no technical skills required. You can also use the REST API or Python/Node.js SDKs if you prefer to code.

**Is there a Instagram comments API?**
Yes. This Actor provides a full REST API. You can trigger runs, check status, and download results programmatically from any language. See the API tab on this Actor's page for endpoints and examples.

**How much does it cost to scrape Instagram comments?**
Pricing is pay-per-result at $0.50 per 1,000 results. You only pay for the data you receive. There are no monthly subscriptions or hidden fees. Free accounts get $5/month in credits.

**Can I integrate Instagram comments scraping into my workflow?**
Yes. This Actor integrates with Make.com, Zapier, n8n, Google Sheets, webhooks, and any REST API client. You can automate Instagram comments extraction as part of any data pipeline.

### 🆘 Support

Having trouble? We're here to help.

- 📋 Open an issue in the **Issues tab** of this Actor
- 📚 Browse the [Apify Documentation](https://docs.apify.com) for platform guides
- 💬 Join the [Apify Discord Community](https://discord.gg/apify) for tips and support

***

*⚡ Instagram Comments Scraper — Fast, affordable, and reliable Instagram data extraction. No login. No proxies. Just results.*

# Actor input Schema

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

List of Instagram post URLs to scrape comments from. Supports both posts (/p/) and reels (/reel/).

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

Maximum number of comments to scrape from each post.

## `sortOrder` (type: `string`):

How to sort the comments: 'popular' for most liked comments first, or 'recent_activity' for newest comments first.

## Actor input object example

```json
{
  "postUrls": [
    "https://www.instagram.com/p/ABC123/",
    "https://www.instagram.com/reel/XYZ789/"
  ],
  "maxCommentsPerPost": 10,
  "sortOrder": "popular"
}
```

# 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/DcbdmtcSJ5K/"
    ],
    "maxCommentsPerPost": 10,
    "sortOrder": "popular"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesmith/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/DcbdmtcSJ5K/"],
    "maxCommentsPerPost": 10,
    "sortOrder": "popular",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapesmith/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/DcbdmtcSJ5K/"
  ],
  "maxCommentsPerPost": 10,
  "sortOrder": "popular"
}' |
apify call scrapesmith/instagram-comments-scraper --silent --output-dataset

```

## MCP server setup

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