# Instagram Comments Scraper with Commenter Profiles (`rowfinch/instagram-comment-profiles`) Actor

Scrape Instagram post and reel comments with each commenter's profile: followers, bio, website, business category and verified badge.

- **URL**: https://apify.com/rowfinch/instagram-comment-profiles.md
- **Developed by:** [Rowfinch](https://apify.com/rowfinch) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 commenter profiles

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 with Commenter Profiles

Get the comments of any public Instagram post or reel, each with the profile of the account that wrote it: followers, bio, website, business category and verified badge. One run, no second lookup.

**$3 per 1,000 commenter profiles. Comments are free.**

### What it's for

- **Lead generation**: find businesses and creators engaging under a competitor's posts, with their website and category.
- **Influencer discovery**: spot commenters with large audiences under posts in your niche.
- **Audience research**: who comments on a brand, a creator or a campaign, not just what they say.
- **Bot and spam checks**: flag commenters with no posts, no followers or private accounts.

### Input

| Field | What it does |
|---|---|
| `directUrls` | Post or reel URLs, one per line |
| `resultsLimit` | Comments per post (default 50), the most relevant first |

### Output

One row per comment, with the same fields as [Instagram Comments Scraper](https://apify.com/rowfinch/instagram-comment-scraper) plus `commenterProfile`:

```json
{
  "postUrl": "https://www.instagram.com/p/DepFSEJAl_l/",
  "commentUrl": "https://www.instagram.com/p/DepFSEJAl_l/c/18094551152261016/",
  "text": "Wow🔥",
  "ownerUsername": "sajjad_kolbayati",
  "timestamp": "2026-10-18T16:23:10.000Z",
  "likesCount": 6,
  "repliesCount": 0,
  "commenterProfile": {
    "username": "sajjad_kolbayati",
    "fullName": "Sajjad Kolbayati",
    "biography": "❁🎸 𝐌𝐮𝐬𝐢𝐜 𝐢𝐬 𝐭𝐡𝐞 𝐚𝐫𝐭 𝐨𝐟 𝐭𝐡𝐞 𝐬𝐨𝐮♪❁\n\" Leֆtein to my art from my songs \"",
    "externalUrl": "http://t.me/SajjadKolbayati",
    "followersCount": 23284,
    "followsCount": 95,
    "postsCount": 15,
    "verified": false,
    "private": false,
    "isBusinessAccount": false,
    "businessCategoryName": "Artist"
  }
}
```

- A commenter who left several comments is looked up and charged once per run.
- If a profile can't be loaded, `commenterProfile` is `null` and the comment is still returned, free.
- Private posts and broken URLs get a row with the reason, free of charge.

### Price

- **$3 per 1,000 commenter profiles**, each account charged once per run
- Comments, errors and profiles that can't be loaded: free

Other commenter-profile scrapers on Apify charge up to $7 per 1,000 profiles.

| Run | Cost |
|---|---|
| 1 post, 100 comments from 90 accounts | $0.27 |
| 20 posts, 50 comments each, 800 accounts | $2.40 |

A run stops at the maximum cost you set for it. On Apify's free plan, a run returns up to 25 comments. The free plan includes 5 runs of this actor a month.

### FAQ

**Does it include replies?**
No, top-level comments only. For replies, use [Instagram Comments Scraper](https://apify.com/rowfinch/instagram-comment-scraper).

**Does it return emails or phone numbers?**
No. It returns the website and bio as the profile shows them.

**Does it work with private accounts?**
Comments must be on a public post. A commenter with a private account still comes back, with `private: true` and the counts Instagram shows.

**Is it legal?**
It reads only public data. Usernames, bios and comments are personal data under GDPR and similar laws: use them for a legitimate purpose and honor deletion requests.

# Actor input Schema

## `directUrls` (type: `array`):

One per line.

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

In Instagram's order: the most relevant first.

## Actor input object example

```json
{
  "directUrls": [
    "https://www.instagram.com/p/DepFSEJAl_l/"
  ],
  "resultsLimit": 20
}
```

# Actor output Schema

## `comments` (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 = {
    "directUrls": [
        "https://www.instagram.com/p/DepFSEJAl_l/"
    ],
    "resultsLimit": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("rowfinch/instagram-comment-profiles").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 = {
    "directUrls": ["https://www.instagram.com/p/DepFSEJAl_l/"],
    "resultsLimit": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("rowfinch/instagram-comment-profiles").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 '{
  "directUrls": [
    "https://www.instagram.com/p/DepFSEJAl_l/"
  ],
  "resultsLimit": 20
}' |
apify call rowfinch/instagram-comment-profiles --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rowfinch/instagram-comment-profiles"
        }
    }
}
```

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/N0GrLRFeZ3N6gDRJx/builds/W3bD51Ieo5ynLAkHt/openapi.json
