# Instagram Post Scraper | No Login | Likes, Comments, Video (`solidrows/instagram-post-scraper`) Actor

Get full data for Instagram posts and Reels by URL without login or cookies: likes, comment count, caption, date, author, tagged location, image and video links, plus the first comments. Track likes and comments over time. Never a silent empty run.

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

## Pricing

from $1.40 / 1,000 post scrapeds

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 Post Scraper: likes, comments and media for posts and Reels, without login

Pass a list of Instagram post or Reel links and get the full public data for each one without login, cookies or API keys: likes, comment count, caption, exact date, author, tagged location, tagged accounts, image and video links, and optionally the first comments. In monitoring mode every run also tells you how likes and comments changed since the previous run.

### Why this scraper

| | This Actor | Typical alternatives |
|---|---|---|
| Login or cookies | **not needed** | your own session cookies, at the risk of a ban |
| Engagement tracking | **change in likes, comments and plays since the previous run** | you store and compare the numbers yourself |
| Comments | the first comments under each post, as separate rows | a separate paid Actor |
| Video link | direct video file link for Reels and videos | often missing |
| Empty runs | a missing item gives a free error row; a run where nothing could be read **fails with a clear message** | "succeeded" with an empty dataset |

**Honest limits.** Instagram shows visitors without login the post itself and about 12 comments. This Actor reads exactly that. It does not return all comments, replies to comments, or the list of people who liked the post. Deleted posts and posts of private accounts give a free error row.

### What you can do with it

- **Campaign reporting**: likes, comments and plays for the posts of an influencer campaign, tracked over time.
- **Competitor analysis**: engagement of specific competitor posts and Reels.
- **Content archives**: captions, dates and media links for a list of posts.
- **Sentiment snapshots**: the first comments under each post, ready for an LLM.

### Input

| Field | Type | Description |
|---|---|---|
| `postUrls` | array | Links to posts or Reels (instagram.com/p/CODE/, instagram.com/reel/CODE/) or bare shortcodes |
| `includeComments` | boolean | Adds a row for each comment Instagram shows under the post without login (about 12 per post) |
| `maxCommentsPerPost` | integer | How many of the shown comments to save per post |
| `onlyNew` | boolean | Remembers what was already delivered and returns only items that appeared since the previous run |
| `monitorName` | string | Optional name of the memory used by monitoring mode |
| `maxItems` | integer | Stop after this many posts |

```json
{
    "postUrls": [
        "https://www.instagram.com/p/Df-NlR0PjmN/"
    ]
}
```

### Output

One row per post (`type: "post"`), one row per comment when comments are on (`type: "comment"`), and free rows with `type: "error"` for links that could not be read.

```json
{
    "type": "post",
    "id": "4034722052525930893",
    "code": "Df-NlR0PjmN",
    "url": "https://www.instagram.com/p/Df-NlR0PjmN/",
    "postType": "image",
    "isReel": false,
    "ownerUsername": "nasa",
    "ownerFullName": null,
    "ownerIsVerified": null,
    "caption": "No such thing as “too much glitter” ✨\n \nThis roughly spherical collection of stars is a globular cluster: A grouping that can contain anywhere from tens of thousands to millions...",
    "createdAt": "2026-11-20T18:11:14.000Z",
    "likeCount": 635560
}
```

### Pricing

Pay per event, no monthly fee.

| Event | Price | When |
|---|---|---|
| `post` | **$2.00 per 1,000** | Every post or Reel saved with its likes, comment count, caption and media links |
| `comment` | **$0.50 per 1,000** | Only with comments on: each of the first comments shown under a post |
| error rows | free | |

In monitoring mode each run charges the posts again, because it reads their current numbers.

### How it works and limitations

- One request per post. Speed: about 100 posts per minute.
- Like counts are null when the author hid them.
- Image and video links are temporary Instagram CDN links and expire after a few days: download what you need to keep.
- Comments are the ones Instagram shows first under the post without login.

### Feedback and support

Did this Actor save you time? A [rating on its page](https://apify.com/solidrows/instagram-post-scraper/reviews) helps other users find it. Something wrong or missing? [Open an issue](https://apify.com/solidrows/instagram-post-scraper/issues): we answer within 48 hours and fix reported problems first.

### FAQ

**Do I need an Instagram account?** No. The Actor reads only what Instagram shows to visitors without login and never logs in.

**How do I track likes over time?** Turn on `onlyNew` (monitoring mode) and add a schedule. Every post row then has `likeCountChange`, `commentCountChange` and the previous values.

**Can I get all comments of a post?** No. Without login Instagram shows about 12 comments, and this Actor never logs in.

**Where do I get the post links?** From Instagram Profile Scraper, Instagram Reels Scraper or Instagram Search Scraper by SolidRows, or from your own list.

**Is it legal?** The Actor collects only public data that Instagram shows to everyone without login. You are responsible for how you use it; do not use it to collect private information about individuals.

# Actor input Schema

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

Links to posts or Reels (instagram.com/p/CODE/, instagram.com/reel/CODE/) or bare shortcodes. One per line.

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

Adds a row for each comment Instagram shows under the post without login (about 12 per post). Charged per comment.

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

How many of the shown comments to save per post.

## `onlyNew` (type: `boolean`):

Remembers what was already delivered and returns only items that appeared since the previous run. Use it with a schedule: you never pay twice for the same item.

## `monitorName` (type: `string`):

Optional name of the memory used by monitoring mode. Runs with the same name share one memory. Empty: the memory is tied to this input.

## `maxItems` (type: `integer`):

Stop after this many posts. 0 means no limit.

## Actor input object example

```json
{
  "postUrls": [
    "https://www.instagram.com/p/Df-NlR0PjmN/"
  ],
  "includeComments": false,
  "maxCommentsPerPost": 15,
  "onlyNew": false,
  "monitorName": "",
  "maxItems": 0
}
```

# 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/Df-NlR0PjmN/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("solidrows/instagram-post-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/Df-NlR0PjmN/"] }

# Run the Actor and wait for it to finish
run = client.actor("solidrows/instagram-post-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/Df-NlR0PjmN/"
  ]
}' |
apify call solidrows/instagram-post-scraper --silent --output-dataset

```

## MCP server setup

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