# Instagram Comments Scraper - Any Post or Reel, No Login (`alom/instagram-comments-scraper`) Actor

Scrape the comments of public Instagram posts and reels without login: text, author, likes and date, one row per comment, hundreds per post (693 of 835 on a NASA post in our test). Paste post links, reel links or usernames (their latest posts). No per-post fee.

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

## Pricing

from $0.40 / 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.
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: Any Post or Reel, No Login

This **Instagram comments scraper** gets the **comments of public Instagram posts and reels** as a table, **without
logging in**: comment text, author, likes and date, one row per comment. It is for audience research, giveaway checks,
sentiment analysis and community management. The Free plan's $5 monthly credit covers about 10,000 comments.

- **No login, nothing to ban.** It reads what a logged-out visitor of instagram.com sees.
- **Many pages deep:** it keeps loading comments the way the "load more" button does, not just the first dozen.
- **Post links, reel links or usernames,** mixed in one list.
- **Same field names as the Instagram comment scrapers you may already use** (`text`, `ownerUsername`, `likesCount`, `timestamp`, ...).
- **$0.50 per 1,000 comments on the Free plan, $0.40 on Gold and above.** Proxies included.

### How to scrape Instagram comments in 3 steps

1. Paste **post or reel links** (e.g. `https://www.instagram.com/p/DfahZrMjAqq/`), or **usernames** for the comments
   of their latest posts.
2. Set **Max comments per post** (and for usernames, **Latest posts per username**).
3. Press **Start**, then open the **Output** tab or export to CSV, Excel or JSON. 700 comments of one post take
   about half a minute; the prefilled 200 take less.

### Related actors

- [Instagram Scraper](https://apify.com/alom/instagram-scraper): posts, reels and profiles with likes, comments and views
- [Instagram Reels Scraper](https://apify.com/alom/instagram-reels-scraper): the reels of any account with view counts and video links
- [Instagram Video Downloader](https://apify.com/alom/instagram-video-downloader): reels and videos as MP4 files, with a direct link each
- [TikTok Video Downloader](https://apify.com/alom/tiktok-video-downloader): public TikTok videos as MP4 files, same row format as the Instagram downloader

### What can you use it for?

- **Audience research:** what people say under a brand's or a competitor's posts.
- **Campaign and giveaway checks:** who commented on a post, and when.
- **Sentiment and AI datasets:** comment text with dates and like counts.
- **Community management:** the most-liked comments under your own posts.

### Output example

```json
{
    "inputUrl": "https://www.instagram.com/p/DAbCdEfGhIj/",
    "postUrl": "https://www.instagram.com/p/DAbCdEfGhIj/",
    "postShortCode": "DAbCdEfGhIj",
    "postId": "3012345678901234567",
    "commentUrl": "https://www.instagram.com/p/DAbCdEfGhIj/c/18012345678901234/",
    "id": "18012345678901234",
    "text": "Beautiful shot!",
    "ownerUsername": "example_user",
    "ownerId": "1234567890",
    "ownerIsVerified": false,
    "ownerProfilePicUrl": "https://scontent.cdninstagram.com/v/example.jpg",
    "timestamp": "2026-11-15T10:12:13.000Z",
    "likesCount": 2,
    "repliesCount": null,
    "position": 1,
    "scrapedAt": "2026-11-16T09:00:00.000Z"
}
```

`position` is the comment's place in the list, newest first, from 1.

### How much does it cost?

You pay per comment. Proxies and Apify's platform costs are included.

| Apify plan | Per comment | Per 1,000 comments |
|---|---|---|
| Free and Bronze | $0.0005 | $0.50 |
| Silver | $0.00045 | $0.45 |
| Gold and above | $0.0004 | $0.40 |

Each run also has a start fee of $0.00005. The Free plan's $5 monthly credit covers about 10,000 comments.

A missing or private post, or a wrong link, costs nothing; the run's message names it.

### Limitations

- **Public posts only.**
- **No replies:** Instagram does not show replies to comments to visitors who are not logged in, so `repliesCount`
  is `null` and replies are not included.
- **How many comments:** Instagram decides how far a logged-out visitor can scroll. In our tests that was 693 of a
  post's 835 comments; very large posts may stop earlier than their comment count.
- **Order:** newest first, as Instagram shows them to visitors who are not logged in.
- Instagram turns away datacenter IPs when a visitor is not logged in, so the Actor always uses Apify's residential
  proxies. You can give your own proxy URLs instead.

### FAQ

**Do I need an Instagram account?**
No. The Actor never logs in.

**Can I get the posts too?**
Yes, with the [Instagram Scraper](https://apify.com/alom/instagram-scraper): posts, reels and profiles with likes,
captions and the first comments.

**Is it legal to scrape Instagram comments?**
Comments are public, but they are personal data: laws such as the GDPR apply. Collect only what you have a legitimate
reason to use, and check Instagram's terms for your use case.

### More scrapers from the same developer

- [Instagram Reels Scraper](https://apify.com/alom/instagram-reels-scraper): the reels of any account with view counts, likes and video links
- [Instagram Scraper](https://apify.com/alom/instagram-scraper): posts, reels and profiles with likes, comments and bio links.
- [YouTube Comments Scraper](https://apify.com/alom/youtube-comments-scraper): comments and replies of any video, top or newest first.
- [Threads Replies Scraper](https://apify.com/alom/threads-replies-scraper): the replies under any Threads post, no login.
- [TikTok Video Downloader](https://apify.com/alom/tiktok-video-downloader): public TikTok videos as MP4 files.
- [Instagram Video Downloader](https://apify.com/alom/instagram-video-downloader): Instagram reels and videos as MP4 files, with a direct link each

### Feedback

Something not working, or a field missing? Open an issue in the **Issues** tab and I'll look at it.

# Actor input Schema

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

Post or reel links (https://www.instagram.com/p/CODE/), or usernames / profile links for the comments of their latest posts. One per line.

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

Stop after this many comments from each post.

## `maxPostsPerProfile` (type: `integer`):

For usernames: the comments of this many of their latest posts.

## `maxConcurrency` (type: `integer`):

How many posts at once.

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

Instagram answers residential IPs only, so Apify residential proxies are used (included in the price). You can also give your own proxy URLs.

## Actor input object example

```json
{
  "directUrls": [
    "https://www.instagram.com/p/DfahZrMjAqq/"
  ],
  "resultsLimit": 200,
  "maxPostsPerProfile": 3,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

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

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

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

```

## MCP server setup

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