# Instagram Comments Scraper - Comments, Likes & Reply Counts (`socialscrapers/instagram-comments-scraper`) Actor

Instagram comments scraper: export the comments of any post or reel URL, one row per comment: text, date, likes, reply count, commenter username, verified badge and profile picture, plus the post's link, caption and owner. All or the newest comments. No login, no cookies. $0.47 per 1,000 comments.

- **URL**: https://apify.com/socialscrapers/instagram-comments-scraper.md
- **Developed by:** [Social Scrapers](https://apify.com/socialscrapers) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 61 total users, 5 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.38 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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** exports the comments of public Instagram posts and reels, one row per comment, with no Instagram account, login or cookies. Paste post or reel links and get every comment's text, date, likes, number of replies and commenter (username, verified badge, profile picture), next to the post it is on (link, caption, owner, likes), ready for CSV, Excel or JSON. Get the newest comments or every comment Instagram shows. It costs **$0.47 per 1,000 comments**.

> 💡 **Need a feature that isn't here? Just ask.** Open an issue on the **Issues** tab and tell us what you need: a new field, filter, input type or output format. We build requested features fast, usually within 24 hours, at no extra cost.

> ⭐ **Found it useful?** A short review on the **Reviews** tab helps other people find this scraper, and tells us what to build next.

### What does Instagram Comments Scraper do?

Instagram Comments Scraper reads the comments Instagram shows a visitor who opens a post or reel without logging in. You can:

- 💬 **Export Instagram comments in bulk**: from as many post and reel links as you like, in one run.
- 📄 **Get one row per comment**: each comment is its own dataset item, so CSV and Excel exports are a clean table.
- ♾️ **Get all comments**: set the limit to `0` for every comment Instagram shows on a post, with no upper limit, or keep the newest 20, 100 or 1,000.
- 👤 **Know who commented**: commenter username and id, verified badge and profile picture.
- ❤️ **See what resonates**: likes and number of replies of every comment.
- 💸 **Pay per comment saved**: posts cost nothing, and deleted, private and age-restricted posts are skipped.

Everything the Apify platform gives you comes with it: the Apify API, scheduled runs, webhooks, integrations with Make, Zapier, n8n and Google Sheets, and datasets you can download in any format.

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

| Field | What it is |
|---|---|
| `text` | The comment |
| `timestamp` | When it was posted (UTC) |
| `likesCount`, `repliesCount` | Likes on the comment and replies to it |
| `ownerUsername`, `ownerId` | The commenter |
| `ownerIsVerified`, `ownerProfilePicUrl` | The commenter's verified badge and profile picture |
| `id` | The comment's id |
| `postUrl`, `postShortCode`, `postId`, `postType` | The post or reel the comment is on |
| `postOwnerUsername`, `postOwnerId` | Who posted it |
| `postCaption`, `postTimestamp`, `postLikesCount`, `postCommentsCount` | The post's caption, date, likes and comments count |
| `inputUrl`, `scrapedAt` | The link you gave, and when the comment was read |

The **Comments** view of the dataset shows the comments as a table; the **With the post** view puts each comment next to its post.

### How to scrape Instagram comments

1. Open Instagram Comments Scraper and click **Try for free**.
2. Paste post or reel links into **Post or reel URLs**, one per line.
3. Set **Max comments per post**, or `0` for every comment Instagram shows.
4. Click **Start**. Comments appear in the dataset, one row each, as they are read.
5. Download them as CSV, Excel, JSON or HTML, or read them with the Apify API.

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

You pay per comment saved: **$0.47 per 1,000 comments**, plus $0.0005 when a run starts (Apify's standard Actor start event, one per GB of memory; Apify then covers the run's first 5 seconds of compute). The posts themselves cost nothing. Platform usage and proxies are included. On Apify's Silver plan the price drops to $0.423 per 1,000 comments, and on Gold to $0.376.

- 100 posts × 100 comments = 10,000 comments → **$4.70**
- 1 viral reel with every comment (about 2,000) → **about $0.94**

Deleted, private and age-restricted posts, and posts without comments, cost nothing. To cap the cost of a run, set **Maximum cost per run** in the run options: the scraper stops cleanly once the next comment would go over it, keeping everything read so far. Apify's free plan includes monthly platform credit, enough to try the scraper on over ten thousand comments.

### Input example

```json
{
  "postUrls": ["https://www.instagram.com/p/DfahZrMjAqq/", "https://www.instagram.com/reel/Dfc1mYxFevS/"],
  "maxComments": 100
}
```

| Field | Type | Description |
|---|---|---|
| `postUrls` | array of strings | Post, reel or video links (`/p/...`, `/reel/...`, `/tv/...`, with or without the username before them, any `?igsh=…` parameters) or short codes. A link inside other text is read as that link. Duplicates are read once. |
| `maxComments` | integer | Comments per post, newest first. `0` for every comment Instagram shows. Default: 100. |
| `proxyConfiguration` | object | The scraper picks Apify Proxy's tier itself: datacenter first, residential only when Instagram refuses a request. Your own proxy URLs are used as given. |

### Output example

One item per comment (commenter details abbreviated):

```json
{
  "id": "17900000000000001",
  "text": "Count me in! 🚀",
  "timestamp": "2026-11-08T01:54:33.000Z",
  "likesCount": 0,
  "repliesCount": 0,
  "ownerId": "...",
  "ownerUsername": "...",
  "ownerIsVerified": false,
  "ownerProfilePicUrl": "https://scontent.cdninstagram.com/v/...",
  "postUrl": "https://www.instagram.com/p/Dfc1mYxFevS/",
  "postShortCode": "Dfc1mYxFevS",
  "postId": "4025327901360909266",
  "postType": "Video",
  "postOwnerUsername": "nasa",
  "postOwnerId": "528817151",
  "postCaption": "Apply to become an astronaut! ... #NASA #Astronaut #JobSearch",
  "postTimestamp": "2026-11-07T18:35:41.000Z",
  "postLikesCount": 43919,
  "postCommentsCount": 550,
  "inputUrl": "https://www.instagram.com/reel/Dfc1mYxFevS/",
  "scrapedAt": "2026-11-08T02:26:12.481Z"
}
```

Every item has the same fields in the same order (null when Instagram does not show a value), so CSV and Excel exports line up.

### Use cases

- **Social listening and sentiment analysis**: collect what people say under a brand's, competitor's or creator's posts.
- **Giveaways and contests**: list the accounts that commented on a giveaway post, with their comments.
- **Customer research**: find questions, complaints and feature requests in the comments.
- **Influencer vetting**: check whether a creator's comments are genuine and engaged.
- **Datasets for AI and research**: build comment datasets for language models, classification and academic studies.

### Use it via API, Python, JavaScript and integrations

Run Instagram Comments Scraper from your own code with the Apify API or the Apify clients:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("socialscrapers/instagram-comments-scraper").call(
    run_input={"postUrls": ["https://www.instagram.com/reel/Dfc1mYxFevS/"], "maxComments": 0}
)
for comment in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(comment["ownerUsername"], comment["text"], comment["postUrl"])
```

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('socialscrapers/instagram-comments-scraper').call({ postUrls: ['DfahZrMjAqq'], maxComments: 500 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

You can also schedule runs, get a webhook when a run finishes, send comments to Google Sheets, Slack or a database with [Apify integrations](https://docs.apify.com/integrations), connect it to Make, Zapier or n8n, or let AI agents run it through the [Apify MCP server](https://docs.apify.com/mcp).

### Limits

- **Public posts only.** Instagram Comments Scraper never logs in, so it sees what a logged-out visitor sees. Deleted, private and age-restricted posts are skipped and cost nothing.
- **Top-level comments.** Instagram shows logged-out visitors most top-level comments; replies are counted in `repliesCount` but not listed. A post's `postCommentsCount` includes replies, so it is usually higher than the number of comments you get.
- **Share links** from the app (`https://www.instagram.com/share/…`) are followed to the post or reel they open; following a link is never charged.
- **A run with 0 results still succeeds, and no results are charged.** When every post is deleted, private or has no comments, the run ends as Succeeded with a status message naming each entry and why. When no entry holds a post link or short code at all, the run ends as Succeeded at once, with a status message that starts "Nothing to scrape:", says how to fix the input and ends "No results were charged." A run fails only when Instagram refuses the scraper itself (every one of 3 or more posts, and a profile that is always public too), or on an internal error.

### FAQ

**Is it legal to scrape Instagram comments?**
Instagram Comments Scraper collects only public data that anyone can see without logging in. Comments are personal data under laws such as the GDPR: have a legitimate reason to collect them, and follow Instagram's terms and the laws that apply to you.

**Do I need an Instagram account or cookies?**
No. You only need the links of public posts or reels. The scraper never logs in, so no account of yours is ever at risk.

**How do I get all the comments of a post?**
Set **Max comments per post** to `0`. A busy reel with about 2,800 comments (replies included) gave 1,841 top-level comments in our tests.

**Do I pay for the posts?**
No. You pay only for comments saved, $0.47 per 1,000, plus $0.0005 for the start of each run.

**Why are some comments missing?**
Replies and comments Instagram hides from logged-out visitors are not listed, and the run may have reached its maximum cost. The run log says which, for each post.

### Other scrapers by Social Scrapers

| Scraper | What it gets |
| --- | --- |
| [TikTok API](https://apify.com/socialscrapers/tiktok-api) | Profiles, Videos and Comments |
| [TikTok Comments Scraper](https://apify.com/socialscrapers/tiktok-comments-scraper) | Comments, Replies and Likes |
| [TikTok Hashtag Scraper](https://apify.com/socialscrapers/tiktok-hashtag-scraper) | Top Videos, Views and Likes |
| [TikTok Profile Scraper](https://apify.com/socialscrapers/tiktok-profile-scraper) | Followers, Bio, Stats and Videos |
| [TikTok Scraper](https://apify.com/socialscrapers/tiktok-scraper) | Videos, Profiles, Hashtags and Comments |
| [TikTok Sound Scraper](https://apify.com/socialscrapers/tiktok-sound-scraper) | Videos Using a Sound and Music Info |
| [TikTok Video Scraper](https://apify.com/socialscrapers/tiktok-video-scraper) | Views, Likes, Captions and Comments |
| [Instagram API](https://apify.com/socialscrapers/instagram-api) | Profiles, Posts, Reels, Comments and Hashtags |
| [Instagram Hashtag Scraper](https://apify.com/socialscrapers/instagram-hashtag-scraper) | Reels and Keyword Search |
| [Instagram Post Details Scraper](https://apify.com/socialscrapers/instagram-post-details-scraper) | Likes, Comments, Views and Media |
| [Instagram Post Scraper](https://apify.com/socialscrapers/instagram-post-scraper) | Posts, Reels and Comments |
| [Instagram Profile Scraper](https://apify.com/socialscrapers/instagram-profile-scraper) | Followers, Bio, Posts and Reels |
| [Instagram Reels Scraper](https://apify.com/socialscrapers/instagram-reels-scraper) | Reels, Plays, Likes and Comments |
| [Instagram Reels Transcript Scraper](https://apify.com/socialscrapers/instagram-reels-transcript-scraper) | Speech to Text and Captions |
| [Instagram Scraper](https://apify.com/socialscrapers/instagram-scraper) | Posts, Profiles, Reels, Comments and Hashtags |
| [YouTube API](https://apify.com/socialscrapers/youtube-api) | Videos, Transcripts, Search, Channels and Comments |
| [YouTube Channel Scraper](https://apify.com/socialscrapers/youtube-channel-scraper) | Videos, Shorts, Subscribers and About |
| [YouTube Comments Scraper](https://apify.com/socialscrapers/youtube-comments-scraper) | Comments, Replies and Likes |
| [YouTube Scraper](https://apify.com/socialscrapers/youtube-scraper) | Videos, Shorts, Channels and Comments |
| [YouTube Search Scraper](https://apify.com/socialscrapers/youtube-search-scraper) | Videos, Channels, Views and Filters |
| [YouTube Shorts Scraper](https://apify.com/socialscrapers/youtube-shorts-scraper) | Shorts, Views, Likes and Search |
| [YouTube Transcript Scraper](https://apify.com/socialscrapers/youtube-transcript-scraper) | Subtitles, Captions and SRT |
| [YouTube Video Details Scraper](https://apify.com/socialscrapers/youtube-video-details-scraper) | Stats, Subtitles and Comments |
| [Facebook Ads Library Scraper](https://apify.com/socialscrapers/facebook-ads-library-scraper) | Meta Ad Library and Spend |
| [Facebook Comments Scraper](https://apify.com/socialscrapers/facebook-comments-scraper) | Posts, Reels, Videos and Replies |
| [Facebook Groups Scraper](https://apify.com/socialscrapers/facebook-groups-scraper) | Public Group Posts and Reactions |
| [Facebook Marketplace Scraper](https://apify.com/socialscrapers/facebook-marketplace-scraper) | Prices, Locations and Sellers |
| [Facebook Page Contact Info Scraper](https://apify.com/socialscrapers/facebook-page-contact-scraper) | Email, Phone and WhatsApp |
| [Facebook Posts Scraper](https://apify.com/socialscrapers/facebook-profile-posts-scraper) | Pages, Profiles and Timelines |
| [Facebook Pages Scraper](https://apify.com/socialscrapers/facebook-profile-scraper) | Profiles, Contact Info and Reviews |
| [Facebook Reels Scraper](https://apify.com/socialscrapers/facebook-reels-scraper) | Reels, Videos, Plays and Captions |
| [X (Twitter) Profile Scraper](https://apify.com/socialscrapers/x-profile-scraper) | Followers, Bio and Tweets |
| [X (Twitter) Tweet Scraper](https://apify.com/socialscrapers/x-tweet-scraper) | Latest Posts by Profile |
| [Threads Profile Scraper](https://apify.com/socialscrapers/threads-profile-scraper) | Followers, Bio, Links and Posts |
| [Threads Replies Scraper](https://apify.com/socialscrapers/threads-replies-scraper) | Comments, Authors, Likes and Media |
| [Threads Scraper](https://apify.com/socialscrapers/threads-scraper) | Posts, Profiles, Replies and Search |
| [Threads Search Scraper](https://apify.com/socialscrapers/threads-search-scraper) | Keywords, Hashtags, Top and Recent Posts |
| [Reddit Comments Scraper](https://apify.com/socialscrapers/reddit-comments-scraper) | Threads, Replies, Votes and Authors |
| [Reddit Scraper](https://apify.com/socialscrapers/reddit-scraper) | Posts, Comments, Subreddits, Users and Search |
| [Reddit Search Scraper](https://apify.com/socialscrapers/reddit-search-scraper) | Posts by Keyword, Subreddit and Date |
| [Reddit User Scraper](https://apify.com/socialscrapers/reddit-user-scraper) | Profiles, Karma, Posts and Comments |
| [Subreddit Scraper](https://apify.com/socialscrapers/subreddit-scraper) | Hot, New and Top Posts with Comments |
| [Quora Scraper](https://apify.com/socialscrapers/quora-scraper) | Answers, Questions, Profiles and Topic Search |
| [LinkedIn Ad Library Scraper](https://apify.com/socialscrapers/linkedin-ad-library-scraper) | Ads, Advertisers and Impressions |
| [LinkedIn Job Search Scraper](https://apify.com/socialscrapers/linkedin-job-search-scraper) | Filters, Salaries and New Jobs |
| [LinkedIn Jobs Scraper](https://apify.com/socialscrapers/linkedin-jobs-scraper) | Job Listings, Salaries and Companies |
| [Google Maps Email Extractor](https://apify.com/socialscrapers/google-maps-email-extractor) | Emails, Phones and Social Links |
| [Google Maps Scraper](https://apify.com/socialscrapers/google-maps-scraper) | Places, Phones, Websites, Ratings and Hours |
| [Google News Scraper](https://apify.com/socialscrapers/google-news-scraper) | Headlines, Articles and Search |
| [Google Ads Transparency Scraper](https://apify.com/socialscrapers/google-ads-transparency-scraper) | Ad Creatives and Advertisers |
| [Amazon Product Scraper](https://apify.com/socialscrapers/amazon-product-scraper) | Search Results, Prices, Ratings, ASINs |
| [Indeed Jobs Scraper](https://apify.com/socialscrapers/indeed-jobs-scraper) | Salaries, Full Descriptions, Company Data |
| [Contact Details Scraper](https://apify.com/socialscrapers/contact-details-scraper) | Emails, Phones and Social Links |
| [Telegram Channel Scraper](https://apify.com/socialscrapers/telegram-channel-scraper) | Posts, Views and Media |
| [Doximity Scraper](https://apify.com/socialscrapers/doximity-physician-scraper) | Physician Profiles and Doctor Directory |
| [KevinMD Scraper](https://apify.com/socialscrapers/kevinmd-articles-scraper) | Physician Articles and Author Specialties |
| [Op-Med Scraper](https://apify.com/socialscrapers/opmed-articles-scraper) | Physician Essays and Doctor Profiles |
| [Career Site Jobs Scraper](https://apify.com/socialscrapers/career-site-jobs-scraper) | Greenhouse, Lever, Ashby and Workday |
| [Google Trends Scraper](https://apify.com/socialscrapers/google-trends-scraper) | Interest Over Time, Regions and Queries |

# Actor input Schema

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

Posts and reels whose comments to export: URLs such as <code>https://www.instagram.com/p/DfahZrMjAqq/</code> or <code>https://www.instagram.com/reel/Dfc1mYxFevS/</code>, or just their short codes. Messy entries are fine: a link inside other text, or a link with extra parameters such as <code>?igsh=…</code>, is read as that link. Share links from the app (<code>instagram.com/share/…</code>) are followed to the post or reel they open, and a profile link or <code>@handle</code> reads the comments of that profile's latest posts. An entry with no post in it is skipped with a warning. Posts that are deleted, private or age-restricted are skipped and never charged.

## `maxComments` (type: `integer`):

How many of each post's newest comments to export. <code>0</code> exports every comment Instagram shows. No upper limit.

## `includeComments` (type: `boolean`):

Always on in this scraper.

## `commentsAsItems` (type: `boolean`):

Always on in this scraper: every comment is its own dataset item, with its post's context.

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

The scraper picks Apify Proxy's tier itself: datacenter first, residential only when Instagram refuses a request (a country you choose applies to the residential retries). Your own proxy URLs are used exactly as given.

## Actor input object example

```json
{
  "postUrls": [
    "https://www.instagram.com/p/DfahZrMjAqq/"
  ],
  "maxComments": 20,
  "includeComments": true,
  "commentsAsItems": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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/DfahZrMjAqq/"
    ],
    "maxComments": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

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

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

```

## MCP server setup

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