# Instagram Post Details Scraper - Carousel, Likes, Caption (`tenfoldfleet/instagram-post-details`) Actor

Get the details of any public Instagram post from its link: likes, comments, views, caption, hashtags, date, author, location, tagged users, image and video URLs, and every carousel item. Photos, carousels, reels and videos, no login. $2.50 per 1,000 posts, no start fee; failed posts are free.

- **URL**: https://apify.com/tenfoldfleet/instagram-post-details.md
- **Developed by:** [Tenfold Fleet](https://apify.com/tenfoldfleet) (community)
- **Categories:** Social media, Agents, For creators
- **Features:** Limited permissions
- **Stats:** 4 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 posts

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

Not affiliated with Instagram or Meta. This Actor reads only what Instagram shows to any logged-out visitor.

### What does Instagram Post Details by URL do?

**Instagram Post Details by URL** turns a list of public Instagram post links into clean rows of data. Paste links to **photos, carousels, reels or videos** (or just their shortcodes) and get back the **like count, comment count, view count, caption, hashtags, mentions, post date, author, location, tagged users, image URL and video URL** of each one. For carousels you also get **every photo and video inside the carousel**, each with its own media URL.

Use it as an **Instagram post API**: call it from the Apify API, a schedule, Make, Zapier, n8n or an AI agent through the Apify MCP server, and read the results as JSON. No Instagram account, cookies or login are needed.

Only need reels? Our [Instagram Reels Analytics](https://apify.com/tenfoldfleet/instagram-reels-analytics) and [Instagram Reels Transcript](https://apify.com/tenfoldfleet/instagram-reels-transcript) Actors work on reels only and turn down photo and carousel posts. This Actor takes every kind of post.

### Why use it?

- **Campaign reporting:** collect likes, comments and views for a list of sponsored or partner posts in one run.
- **Influencer vetting:** check how real posts from a creator perform before you pay for one.
- **Content research:** pull captions, hashtags and mentions from competitor posts to see what they publish.
- **Archiving and media lists:** save the image and video URLs of every slide in a carousel.
- **Data enrichment:** you already have post links from a CRM, spreadsheet or another scraper and need the numbers behind them.

What makes it different: **no per-run start fee**, **carousel items included** at no extra cost, and **failed posts are free**.

### What data can it extract?

![Sample output of Instagram Post Details by URL: Likes, Caption & Media, rows from a real run: Image, Type, Author, Posted, Likes, Comments](https://api.apify.com/v2/key-value-stores/4TBgG7fopkYMNWnX2/records/instagram-post-details-output.png)

| Field | What it is |
|---|---|
| `shortcode`, `url`, `type` | Post code, canonical link and type: `photo`, `carousel`, `reel` or `video` |
| `likeCount`, `commentCount`, `viewCount` | Public counts (`viewCount` for reels and videos only; `likeCount` is null when the author hides likes) |
| `caption`, `hashtags`, `mentions` | Full caption text and the hashtags and @mentions found in it |
| `takenAt` | Post date and time (ISO 8601, UTC) |
| `ownerUsername`, `ownerId`, `ownerFullName`, `ownerIsVerified` | The author's account |
| `location` | Tagged place: id, name, latitude and longitude |
| `taggedUsers`, `coauthors` | Accounts tagged in the media and collab co-authors |
| `displayUrl`, `videoUrl`, `videoDurationSec`, `width`, `height` | Main image, video file and size |
| `carouselItemCount`, `carouselItems[]` | Each carousel slide: type, image URL, video URL, size, alt text, tagged users |
| `accessibilityCaption` | Instagram's alt text for the image |
| `musicInfo` | Sound used by a reel: title, artist, original audio or licensed track |
| `input`, `error`, `scrapedAt` | What you sent, why a post failed, when it was read |

### How to get Instagram post details from a link

1. Open the Actor and paste your post links into **Instagram post links**, one per line. `/p/`, `/reel/` and `/tv/` links and bare shortcodes all work.
2. Keep **Include carousel items** on if you want every slide of a carousel.
3. Optionally set **Max cost (USD)** so the run stops before it spends more than you want.
4. Click **Start** and download the results.

### How much does it cost?

**$2.50 per 1,000 posts returned** ($0.0025 per post), plus Apify's tiny $0.00005 run start event, and no other start fee. Posts that fail cost nothing: private, deleted, age-gated or login-walled posts, links that are not Instagram posts, and requests that time out are returned as free rows with an `error` message.

On the **free Apify plan** a run returns up to 50 posts. Any paid Apify plan removes that limit (up to 5,000 posts per run).

### Input

```json
{
    "postUrls": [
        "https://www.instagram.com/p/DeuOR-CjKE9/",
        "https://www.instagram.com/p/Des_X6JFjbE/",
        "https://www.instagram.com/reel/DehZj9wggt0/"
    ],
    "includeCarouselChildren": true,
    "maxChargeUsd": 5
}
```

### Output

One row per post. Download it as JSON, CSV, Excel, XML or HTML, or read it from the API. A carousel row, shortened:

```json
{
    "shortcode": "DfLpjWZm1h0",
    "url": "https://www.instagram.com/p/DfLpjWZm1h0/",
    "type": "carousel",
    "caption": "Some rings happen fast. ...",
    "hashtags": [],
    "mentions": [],
    "likeCount": 87975,
    "commentCount": 537,
    "viewCount": null,
    "takenAt": "2026-11-01T02:22:39.000Z",
    "ownerUsername": "nike",
    "ownerId": "13460080",
    "ownerFullName": "Nike",
    "ownerIsVerified": true,
    "location": null,
    "taggedUsers": ["jocyteee", "ceciznd", "nikebasketball", "valkyries"],
    "coauthors": ["nikebasketball"],
    "displayUrl": "https://instagram.fmel3-1.fna.fbcdn.net/v/t51.82787-15/868152245_...jpg",
    "videoUrl": null,
    "width": 1080,
    "height": 1350,
    "carouselItemCount": 3,
    "carouselItems": [
        {
            "type": "photo",
            "shortcode": "DfLoG59u7rd",
            "displayUrl": "https://instagram.fmel3-1.fna.fbcdn.net/v/t51.82787-15/868152245_...jpg",
            "videoUrl": null,
            "width": 1080,
            "height": 1350,
            "accessibilityCaption": "Photo by Nike on October 31, 2026. May be an image of basketball ...",
            "taggedUsers": ["nikebasketball", "valkyries"]
        }
    ],
    "musicInfo": null,
    "likesHidden": false,
    "source": "page-direct",
    "input": "https://www.instagram.com/p/DfLpjWZm1h0/",
    "error": null,
    "scrapedAt": "2026-11-06T10:15:00.000Z"
}
```

A failed post looks like this (shortened: the other fields are null) and is not charged:

```json
{ "shortcode": "DzzzzzzzzzZ", "input": "https://www.instagram.com/p/DzzzzzzzzzZ/", "error": "Post unavailable: not found, removed or private. Not charged." }
```

### Tips

- Media URLs from Instagram's CDN expire after a few days. Download the files soon after the run if you need them.
- The same post given twice (for example as a `/p/` and a `/reel/` link) is looked up and charged once.
- If Instagram is slow to answer, a few posts may come back as free timeout rows. Run just those again later.
- Rarely, when Instagram blocks the full post page, a row is built from the post's embed page. Those rows have `source: "embed"` and may lack the date, location and tagged users.

### FAQ

#### Do I need an Instagram account or cookies?

No. The Actor reads public pages the way a logged-out browser does. It never logs in.

#### Does it work for private accounts?

No. Posts from private accounts are not visible without a login, so they come back as free error rows.

#### Why is likeCount empty for some posts?

The author turned off public like counts. The Actor returns `null` and sets `likesHidden` to `true`.

#### Can I get comments or a profile's whole feed?

Not here. This Actor reads the posts you give it. For a profile's reels with plays and engagement rate, see [Instagram Reels Analytics](https://apify.com/tenfoldfleet/instagram-reels-analytics).

#### Can I call it from an AI agent?

Yes. It runs through the Apify MCP server and the Apify API like any other Actor, and the input is a single list of links.

### Disclaimer

This Actor collects only publicly visible data. You are responsible for how you use it, including compliance with applicable laws such as GDPR when posts contain personal data. Instagram is a trademark of Meta Platforms, Inc.; this Actor is not affiliated with, endorsed by or sponsored by Instagram or Meta.

### More tools from Tenfold Fleet

| Actor | Output |
|---|---|
| [Instagram Video Downloader - Reels & Posts to MP4, MP3](https://apify.com/tenfoldfleet/instagram-video-downloader-reels-posts) | video saved |
| [Instagram Profile Transcript Monitor - New Reels to Text](https://apify.com/tenfoldfleet/instagram-profile-transcript-monitor) | new reel transcript |
| [Instagram Reels Analytics - Profile Reel Plays, Likes, Comments](https://apify.com/tenfoldfleet/instagram-reels-analytics) | reel |
| [Instagram Reels Search - Keyword to Top Reels, Plays & Creators](https://apify.com/tenfoldfleet/instagram-reels-search) | reel |
| [Instagram Reels Transcript - Speech to Text for Public Reels](https://apify.com/tenfoldfleet/instagram-reels-transcript) | reel transcript |
| [LinkedIn Company Posts Monitor: New Posts, No Login](https://apify.com/tenfoldfleet/linkedin-company-posts-monitor) | post |
| [Truth Social Scraper: New Posts Monitor for Any Account](https://apify.com/tenfoldfleet/truth-social-scraper-new-posts-monitor) | post |
| [Bilibili Scraper - Videos, Comments, Danmaku & Search](https://apify.com/tenfoldfleet/bilibili-scraper) | video or comment |
| [Brand Mentions Monitor - Bluesky, Hacker News & Mastodon](https://apify.com/tenfoldfleet/brand-mentions-monitor) | mention |
| [Douban Reviews Scraper - Movies, Books, TV & Groups](https://apify.com/tenfoldfleet/douban-reviews-scraper) | review |
| [Facebook Ads Library Scraper for Marketers](https://apify.com/tenfoldfleet/facebook-ads-library-scraper) | ad |
| [Facebook Ads Transcript - Spoken Hook, CTA, Offer & Angle](https://apify.com/tenfoldfleet/facebook-ads-transcript) | video ad transcript |

All 122 tools: [apify.com/tenfoldfleet](https://apify.com/tenfoldfleet). If this Actor saves you time, save it (the bookmark on its Store page) and leave a review: both help other people find it. Found a bug or need another field? Tell us on the Issues tab of this page.

# Changelog

This Actor's version history is a separate document: https://apify.com/tenfoldfleet/instagram-post-details/changelog.md

# Actor input Schema

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

Public Instagram posts to look up: links like https://www.instagram.com/p/DeuOR-CjKE9/, /reel/ or /tv/ links, or bare shortcodes (DeuOR-CjKE9). Photos, carousels, reels and videos all work. Duplicates are looked up once. Up to 5,000 posts per run. Free Apify plan: up to 50 posts per run.

## `includeCarouselChildren` (type: `boolean`):

For carousel posts, return every photo and video in the carousel (type, image URL, video URL, size, alt text, tagged users) in carouselItems. Turn off for smaller rows; carouselItemCount is still filled.

## `maxChargeUsd` (type: `number`):

Optional. Stop once the posts returned would cost more than this. Each post returned costs $0.0025; failed posts are free. Leave empty for no limit (the run's own max total charge still applies).

## Actor input object example

```json
{
  "postUrls": [
    "https://www.instagram.com/p/DeuOR-CjKE9/",
    "https://www.instagram.com/p/Des_X6JFjbE/",
    "https://www.instagram.com/reel/DehZj9wggt0/"
  ],
  "includeCarouselChildren": true
}
```

# 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/DeuOR-CjKE9/",
        "https://www.instagram.com/p/Des_X6JFjbE/",
        "https://www.instagram.com/reel/DehZj9wggt0/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tenfoldfleet/instagram-post-details").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/DeuOR-CjKE9/",
        "https://www.instagram.com/p/Des_X6JFjbE/",
        "https://www.instagram.com/reel/DehZj9wggt0/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("tenfoldfleet/instagram-post-details").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/DeuOR-CjKE9/",
    "https://www.instagram.com/p/Des_X6JFjbE/",
    "https://www.instagram.com/reel/DehZj9wggt0/"
  ]
}' |
apify call tenfoldfleet/instagram-post-details --silent --output-dataset

```

## MCP server setup

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

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/HFMgWINdyGTck92Gc/builds/UfKRueoyu59PFvEyC/openapi.json
