# Instagram Post Scraper (no cookies) (`mina_safwat/instagram-post-scraper-no-cookies`) Actor

Returns the details of a public Instagram post — caption, account, likes, comments, images and video — without a login or cookie.

- **URL**: https://apify.com/mina\_safwat/instagram-post-scraper-no-cookies.md
- **Developed by:** [Mina](https://apify.com/mina_safwat) (community)
- **Categories:** AI, Social media, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

## Instagram Post Scraper

### What does Instagram Post Scraper do?

**Give it a link to a public Instagram post, reel or carousel and it returns that post's details as structured data** — the caption, how many likes and comments it has, who posted it, when, and links to the image or video.

No Instagram account, login, or cookie is needed. Paste a link, press Start, and download the result as JSON, CSV or Excel — or pull it straight from the Apify API.

### Why use Instagram Post Scraper?

- **Measure performance** — record likes and comments on a post, then run it again later to see how it grew.
- **Archive content** — keep the caption, author and media links of posts that matter to you.
- **Check influencer posts** — see the real engagement on a sponsored post before paying for another.
- **Build reports** — the output is flat and predictable, so it drops straight into a spreadsheet.
- **Collect media** — get direct links to the image or video file of any public post.

### How to use Instagram Post Scraper

1. Paste one or more **Instagram post links** into the input.
2. Click **Start**.
3. When the run finishes, open the **Output** tab to preview the data or export it.

#### Which links work

Posts, reels and videos all work, and a bare shortcode is fine too:

```
https://www.instagram.com/p/Db_SePSltfz/
https://www.instagram.com/reel/Db9cpR6yjcC/
https://www.instagram.com/tv/Db9cpR6yjcC/
Db9cpR6yjcC
```

To get a link: open the post, tap the **⋯** menu and choose **Copy link**.

### Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| **Instagram post links** (`post_urls`) | array | Yes | One or more post, reel or video links, or shortcodes. |
| **Max concurrent requests** (`max_concurrency`) | integer | No | How many posts to fetch at once. Default 1. |
| **Include raw data** (`include_raw`) | boolean | No | Adds the unprocessed post data to each record, for debugging. Off by default. |

Example input:

```json
{
  "post_urls": [
    "https://www.instagram.com/p/Db_SePSltfz/",
    "https://www.instagram.com/reel/Db9cpR6yjcC/"
  ]
}
```

### Output

One record per post:

```json
{
  "shortcode": "Db_SePSltfz",
  "post_url": "https://www.instagram.com/p/Db_SePSltfz/",
  "post_id": "3962449229196703490",
  "type": "image",
  "caption": "A new view of the cosmos…",
  "like_count": 848393,
  "comment_count": 1507,
  "published_at": "2026-08-10T18:27:00Z",
  "owner_username": "nasa",
  "owner_full_name": "NASA",
  "owner_profile_url": "https://www.instagram.com/nasa/",
  "owner_is_verified": true,
  "image_url": "https://instagram.fcdn.net/v/t51…",
  "video_url": null,
  "carousel_count": null,
  "carousel_media": [],
  "width": 1080,
  "height": 1350,
  "location": null,
  "tagged_users": [],
  "is_unavailable": false,
  "error": null
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

#### Data fields

| Field | Description |
| --- | --- |
| `shortcode` | The post's short id, as it appears in its link. |
| `post_url` | Link to the post. |
| `type` | `image`, `video`, `reel` or `carousel`. |
| `caption` | The caption as written, including hashtags. |
| `like_count` | Number of likes. |
| `comment_count` | Number of comments. |
| `published_at` | When it was posted. |
| `owner_username` | Who posted it. |
| `owner_full_name` | Their display name. |
| `owner_profile_url` | Link to their profile. |
| `owner_is_verified` | Whether they have a blue tick. |
| `image_url` | The image, at the largest size available. For a video, its cover frame. |
| `video_url` | Direct link to the video file, for videos and reels. |
| `carousel_count` | How many slides, for a carousel. |
| `carousel_media` | Every slide, each with its own image or video link. |
| `width`, `height` | Dimensions of the media. |
| `location` | Tagged location, when the post has one. |
| `tagged_users` | Accounts tagged in the post. |
| `is_unavailable` | `true` if the post is deleted, private or unreadable. |
| `error` | Filled in only if something went wrong with that link. |

### What it cannot return

- **The comments themselves.** You get the count, not the text of each comment.
- **Posts from private accounts.** Those are visible only to approved followers, and come back as unavailable.
- **View counts on videos.** Instagram does not publish these to signed-out visitors.
- **Who liked a post.** Only the total is public.

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

Very little. Six posts took eight seconds and cost under a cent. Cost scales roughly with how many posts you submit.

### Tips

- **Batch your links into one run** rather than starting a run per post.
- **Re-run the same list on a schedule** to build a history of how each post's likes and comments grow.
- **Pair it with the Instagram Profile Scraper** — that Actor lists an account's recent posts, and their links can be fed straight in here for the full detail.

### FAQ and support

**Do I need an Instagram account or cookie?** No. Nothing to log in with and nothing to keep alive.

**Does it work for reels and carousels?** Yes. Reels return a direct video link, and carousels return every slide.

**Why did a post come back as unavailable?** It was deleted, or it belongs to a private account.

**Is scraping Instagram legal?** This Actor collects only publicly available data. You are responsible for how you use it, and you should not collect personal data without a legal basis. If in doubt, take legal advice.

Found a bug, or need a field that is not here? Open an issue on the **Issues** tab.

# Actor input Schema

## `post_urls` (type: `array`):

Links to posts, reels or videos. A bare shortcode also works, e.g. Db9cpR6yjcC.

## `max_concurrency` (type: `integer`):

How many posts to fetch at once. Higher is faster but more likely to be rate limited.

## `include_raw` (type: `boolean`):

Adds the unprocessed post data to each record, for debugging.

## Actor input object example

```json
{
  "post_urls": [
    "https://www.instagram.com/p/Db_SePSltfz/",
    "https://www.instagram.com/reel/Db9cpR6yjcC/"
  ],
  "max_concurrency": 1,
  "include_raw": false
}
```

# 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 = {
    "post_urls": [
        "https://www.instagram.com/p/Db_SePSltfz/",
        "https://www.instagram.com/reel/Db9cpR6yjcC/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mina_safwat/instagram-post-scraper-no-cookies").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 = { "post_urls": [
        "https://www.instagram.com/p/Db_SePSltfz/",
        "https://www.instagram.com/reel/Db9cpR6yjcC/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("mina_safwat/instagram-post-scraper-no-cookies").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 '{
  "post_urls": [
    "https://www.instagram.com/p/Db_SePSltfz/",
    "https://www.instagram.com/reel/Db9cpR6yjcC/"
  ]
}' |
apify call mina_safwat/instagram-post-scraper-no-cookies --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mina_safwat/instagram-post-scraper-no-cookies"
        }
    }
}

```

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/fCMARwFtxAwhMWdm7/builds/z51liVVuev0nnmGEK/openapi.json
