# Instagram Comments Scraper - No Login (`datascraperes/instagram-comments-scraper`) Actor

Scrape public Instagram posts and Reels without login and export unique comments with text, usernames, dates, likes, reply counts, and post details. Submit URLs or shortcodes for audience research, content analysis, moderation, and reporting. Run multiple posts in bulk. Pay $1 per 1,000 comments.

- **URL**: https://apify.com/datascraperes/instagram-comments-scraper.md
- **Developed by:** [DataScraperES](https://apify.com/datascraperes) (community)
- **Categories:** Social media, Marketing, Automation
- **Stats:** 6 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.75 / 1,000 instagram 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?

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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

Collect recent public comments from Instagram posts and Reels without providing a login, cookies, or an Instagram account. Submit public URLs or shortcodes and receive one structured Dataset row per unique delivered comment, with author, text, timing, likes, reply counts, and source-post context.

### What this Actor does

The Actor processes public Instagram post and Reel references, paginates comments in recent order, and deduplicates both submitted posts and comment IDs. It creates a free per-post report for completed, invalid, duplicate, unavailable, or stalled inputs, while the Dataset contains only successfully delivered comments.

### Use cases

- Analyze audience sentiment and recurring discussion themes.
- Monitor public responses to campaigns, creators, products, or announcements.
- Export comments for moderation review, reporting, or research.

### How to use

1. Open the Actor in Apify Console.
2. Add at least one public post/Reel URL or shortcode.
3. Set the total and per-post comment limits.
4. Click **Start** and open the Dataset when the run finishes.

### Input

`posts` is required and accepts 1–10,000 public post or Reel URLs and shortcodes. Duplicate posts are skipped. `resultsLimit` is the maximum number of unique comments across the run and defaults to 1,000; `maxCommentsPerPost` applies independently to each post and also defaults to 1,000. Both limits accept 1–100,000.

This exact input produced the complete output below:

```json
{
  "posts": [
    "https://www.instagram.com/p/DbDxyjdDKp1/"
  ],
  "resultsLimit": 100,
  "maxCommentsPerPost": 100
}
```

### Output

Each Dataset row is one unique public comment. It includes the comment and post identifiers, normalized URLs, text, creation time, author fields, verification, likes, reply count, edit/translation flags, recent sort order, and collection timestamp. `SUMMARY` contains run-level result, billing, duplicate, traffic, limit, and completion totals. `POST_REPORT` contains one free status entry per submitted post.

This is the complete first Dataset item from a real successful run:

```json
{
  "schemaVersion": 1,
  "id": "17958066582193188",
  "postId": "3946216676827900533",
  "postShortCode": "DbDxyjdDKp1",
  "postUrl": "https://www.instagram.com/p/DbDxyjdDKp1/",
  "text": "I sout cute❤️😍",
  "createdAt": "2026-08-19T00:50:25+00:00",
  "username": "swx_ali67",
  "userId": "77646052910",
  "userProfileUrl": "https://www.instagram.com/swx_ali67/",
  "userProfilePicUrl": "https://instagram.ftij1-3.fna.fbcdn.net/v/t51.82787-19/777299036_17897995803588911_5053330058032510664_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby42MzYuYzIifQ&_nc_ht=instagram.ftij1-3.fna.fbcdn.net&_nc_cat=111&_nc_oc=Q6cZ2gEjfdbvILKW0OZghNU6MZey7USL1N7V9l8lyOivd8kHN6lKmfepOECZAwyL6U-6AXQ&_nc_ohc=AW4ZnN0UjX0Q7kNvwFRMLBz&_nc_gid=i4LUhHIr3hzlzFgNA1nK8A&edm=AKp6CbIBAAAA&ccb=7-5&oh=00_AQE_8y3cwexhVRtDghx3RuoUay1vDLKjjAKZojVUAiNLHQ&oe=6A8B999C&_nc_sid=d62176",
  "isVerified": false,
  "likesCount": null,
  "hasLiked": false,
  "parentCommentId": null,
  "childCommentCount": 0,
  "hasReplies": false,
  "isEdited": false,
  "hasTranslation": false,
  "isCovered": false,
  "restrictedStatus": null,
  "sortOrder": "recent",
  "scrapedAt": "2026-08-19T14:10:17.590398+00:00"
}
```

Instagram-hosted profile image URLs may expire. Export formats available through Apify include JSON, JSONL, CSV, Excel, XML, and RSS.

### Pricing

One unique comment written to the default Dataset creates one `comment-result` event. Apify selects the unit price from your account tier:

| Apify tier | Price per comment | Price per 1,000 comments |
|---|---:|---:|
| Free | $0.001 | $1.00 |
| Bronze | $0.0009 | $0.90 |
| Silver | $0.0008 | $0.80 |
| Gold | $0.00075 | $0.75 |
| Platinum | $0.00075 | $0.75 |
| Diamond | $0.00075 | $0.75 |

Invalid or duplicate inputs, duplicate comments, posts without available comments, failed requests, summaries, and post-report records are not charged. The default Apify maximum run charge is $1.00; increase it explicitly only when a larger result volume is intended.

### API and integrations

Run the Actor from Apify Console, API, CLI, schedules, tasks, or webhooks. Use the default Dataset API for delivered comments and the Key-value-store API for `SUMMARY` and `POST_REPORT`. Results can feed spreadsheets, databases, dashboards, and supported automation integrations.

### Related Actors

| Actor | Best for |
|---|---|
| [Instagram Posts Scraper for Public Profiles](https://apify.com/datascraperes/instagram-public-posts-scraper) | Collecting the posts and Reels whose conversations you want to analyze. |
| [Instagram Reels Scraper for Public Profiles](https://apify.com/datascraperes/instagram-public-reels-scraper) | Extracting Reel-level media and engagement before collecting its comments. |
| [Instagram Profile Scraper - No Login](https://apify.com/datascraperes/instagram-profile-scraper-no-login) | Enriching public comment authors or source accounts with profile-level data. |

### Limits and data quality

A run accepts up to 10,000 post references and returns at most 100,000 comments under either configured limit. The limits are maxima, not guaranteed counts. Instagram controls public availability and ordering; deleted, restricted, private, or unavailable comments cannot be returned. Reply counts describe publicly exposed reply totals, but this Actor delivers top-level comments rather than a separate row for every reply.

### Frequently asked questions

#### Can I submit a shortcode instead of a full URL?

Yes. Public post and Reel shortcodes are accepted and normalized to their canonical Instagram URL.

#### Why did a post produce no Dataset rows?

It may have no publicly available comments, be private or unavailable, hit a temporary access restriction, or be a duplicate input. Inspect `POST_REPORT` for that post's status.

### Responsible use

Use only publicly available comments for lawful purposes. You are responsible for complying with Instagram's terms, privacy and data-protection laws, copyright rules, and the rights of commenters. Avoid harassment, discrimination, unlawful profiling, or retaining unnecessary personal data.

### Support

Open an issue in the Actor's **Issues** tab with the run ID, a reproducible public post URL, the relevant `POST_REPORT` status, and the expected result. Never include credentials or API tokens.

# Actor input Schema

## `posts` (type: `array`):

Public Instagram post/Reel URLs or shortcodes. Duplicate posts are skipped without fetching or charging them twice.

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

Maximum number of unique comments returned across the run. Use this as the primary maximum-spend control.

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

Maximum unique comments returned from each submitted post. Pagination stops independently for every post at this limit.

## Actor input object example

```json
{
  "posts": [
    "https://www.instagram.com/p/DbDxyjdDKp1/"
  ],
  "resultsLimit": 100,
  "maxCommentsPerPost": 100
}
```

# Actor output Schema

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

Every dataset row is one unique successfully delivered comment and maps to one comment-result event.

## `summary` (type: `string`):

Delivered-comment, billing, duplicate, traffic, limit, status, duration, and completion totals.

## `postReport` (type: `string`):

A free status record for every submitted post, including invalid, duplicate, unavailable, stalled, and completed inputs.

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

// Run the Actor and wait for it to finish
const run = await client.actor("datascraperes/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 = {
    "posts": ["https://www.instagram.com/p/DbDxyjdDKp1/"],
    "resultsLimit": 100,
    "maxCommentsPerPost": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("datascraperes/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 '{
  "posts": [
    "https://www.instagram.com/p/DbDxyjdDKp1/"
  ],
  "resultsLimit": 100,
  "maxCommentsPerPost": 100
}' |
apify call datascraperes/instagram-comments-scraper --silent --output-dataset

```

## MCP server setup

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