# Instagram Post Scraper | Reels, Likes, Music & Video URL (`genial_candlestand/instagram-post-details-scraper`) Actor

Get Instagram post and reel details from links or shortcodes: caption, hashtags, like and comment counts, owner, coauthors, tagged users, location, music, MP4 video URL, duration and all carousel media URLs. Many posts per run, no login; missing posts are free.

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

## Pricing

from $1.62 / 1,000 post details

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 | Reels, Likes, Music & Video URL

![Instagram Post Scraper | Reels, Likes, Music & Video URL](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/instagram-com-single-post-video-details-banner-efe17711.png)

Paste public Instagram post, reel or carousel links (or bare shortcodes) and get one row per post with the caption, hashtags, like count, comment count, publish date, owner username, collab coauthors, tagged users, location with coordinates, music or original-sound title, the direct MP4 video link, video duration and every carousel media link. No login, cookies or Instagram account are needed, and posts that are private, deleted or not found are free.

### What does Instagram Post Scraper do?

It looks up each Instagram post you give it and returns the details Instagram shows to a logged-out visitor, as one flat row per post with the same columns for images, reels, carousels and IGTV videos. It is built for marketing and influencer agencies checking campaign posts, research teams enriching post links they collected elsewhere, and video tools or AI agents that need the MP4 link, cover image, duration and audio of a reel.

### How to scrape Instagram post and reel details

![How Instagram Post Scraper works: Reads each post link or bare shortcode and skips non-post links; Requests Instagram's public post data by shortcode, one request per post; Falls back to Instagram oEm](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/instagram-com-single-post-video-details-how-31aadfcc.png)

1. Open the actor in Apify Console.
2. Paste your links into **Post or reel URLs**, one per line. Links like `/p/`, `/reel/`, `/reels/`, `/tv/` and `/<username>/p/` work, with or without `www` and tracking parameters such as `?igsh=`. Bare shortcodes such as `DfqBoKRFTIT` work too.
3. Leave **Proxy** on the default Apify datacenter proxy.
4. Click **Start**. Each found post becomes one row in the dataset.
5. Download the results as JSON, CSV or Excel, or read them through the API.

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

Price per event by Apify plan:

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Post details | $1.90 per 1,000 | $1.805 per 1,000 | $1.71 per 1,000 | $1.615 per 1,000 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

A test run with the API example input below returned 5 rows in 6 s.

You pay for **post details**: one event per found public post, reel or carousel ($0.0019 on the Free plan, so $1.90 per 1,000 posts). Every field is included in that price: there are no add-ons for music, coauthors or location. A run also has the small Apify actor start event.

Not charged: links that are not post links (profiles, hashtags, stories, explore pages), private, deleted or unknown posts, and duplicates of a post already in the same run.

| Scenario | Post details events | Cost on the Free plan |
|---|---|---|
| One reel resolved to its MP4 link | 1 | about $0.002 |
| Campaign check of 50 posts | 50 | about $0.10 |
| 1,000 posts from a spreadsheet | 1,000 | about $1.90 |
| 200 posts tracked daily for 30 days | 6,000 | about $11.40 |

You can set a maximum charge per run in Apify. When it is reached, the run stops and no more posts are requested.

### Input

![Instagram Post Scraper input example: Post or reel URLs](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/instagram-com-single-post-video-details-input-cdc03ffa.png)

| Field | Required | What it does |
|---|---|---|
| `postUrls` | yes | Public Instagram posts, reels or carousels, one per line: any post link (`/p/`, `/reel/`, `/reels/`, `/tv/`, `/<username>/p/`, with or without `www` and tracking parameters such as `?igsh=`) or a bare shortcode. Profile, hashtag, story and explore links are skipped with a warning. |
| `proxyConfiguration` | no | Proxy for the requests to Instagram. Default: Apify datacenter proxy. No proxy and residential proxy also work. |

Example input:

```json
{
  "postUrls": [
    "https://www.instagram.com/p/DfF2UF9AIZh/",
    "https://www.instagram.com/reel/Dfa5-jix5gw/",
    "DfqBoKRFTIT"
  ],
  "proxyConfiguration": { "useApifyProxy": true }
}
```

An empty `postUrls` list, or a list where no value is a post link or shortcode, fails the run with an input error before any request.

### What data can you extract from Instagram posts?

![Instagram Post Scraper output example: Image, Owner, Type, Caption, Published](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/instagram-com-single-post-video-details-output-847cb63b.png)

| Field | What it holds |
|---|---|
| `url`, `inputUrl`, `shortcode`, `id` | Post link (`/reel/` for reels, `/p/` otherwise), the value you gave, the shortcode and the media id |
| `type`, `productType` | `image`, `video` or `carousel`; `feed`, `clips`, `carousel_container` or `igtv` |
| `detailLevel` | `full`, or `basic` when only the fallback data was available (see Limitations) |
| `caption`, `hashtags`, `mentions` | Caption text; hashtags without `#` and mentioned usernames without `@` |
| `publishedAt` | Publish date and time (ISO 8601) |
| `likeCount`, `commentCount`, `likeAndViewCountsDisabled` | Likes and comments; `likeCount` is null when the owner hid likes |
| `ownerUsername`, `ownerFullName`, `ownerId`, `ownerUrl`, `ownerIsVerified`, `ownerProfilePicUrl` | The account that published the post |
| `coauthors`, `taggedUsers` | Collab coauthor usernames; usernames tagged in the media (all carousel items) |
| `location`, `locationId`, `locationLat`, `locationLng` | Location tag name, id and coordinates |
| `isPaidPartnership` | Paid partnership label |
| `width`, `height` | Size of the original media in pixels |
| `imageUrl`, `videoUrl`, `videoDuration`, `hasAudio` | Cover or main image, direct MP4 link, length in seconds, audio track flag |
| `audioType`, `musicTitle`, `musicArtist`, `audioId` | `licensed_music` or `original_sounds`, song title (or "Original audio"), artist (or the username behind an original sound), audio id |
| `carouselCount`, `mediaUrls` | Number of carousel items; every media link in order (the video for video items, else the image) |
| `scrapedAt` | When the row was extracted |

Example row (a reel, from a real run; long links and caption shortened):

```json
{
  "url": "https://www.instagram.com/reel/DUyGb6tjKhv/",
  "inputUrl": "https://www.instagram.com/p/DUyGb6tjKhv/",
  "shortcode": "DUyGb6tjKhv",
  "id": "3833154539591870575",
  "type": "video",
  "productType": "clips",
  "detailLevel": "full",
  "caption": "Chunda Valley in Skardu is one of the most peaceful places in northern Pakistan. …",
  "hashtags": [],
  "mentions": ["emtiaazhussain_"],
  "publishedAt": "2026-02-15T15:00:00.000Z",
  "likeCount": 492683,
  "commentCount": 3938,
  "likeAndViewCountsDisabled": false,
  "ownerUsername": "beautifuldestinations",
  "ownerFullName": "BEAUTIFUL DESTINATIONS",
  "ownerId": "276192188",
  "ownerUrl": "https://www.instagram.com/beautifuldestinations/",
  "ownerIsVerified": true,
  "ownerProfilePicUrl": "https://scontent-xxb1-1.cdninstagram.com/v/t51.2885-19/…",
  "coauthors": [],
  "taggedUsers": ["emtiaazhussain_"],
  "location": "Chunda Valley Skardu",
  "locationId": "185209899732560",
  "locationLat": 35.332930925633,
  "locationLng": 75.49206,
  "isPaidPartnership": false,
  "width": 1080,
  "height": 1920,
  "imageUrl": "https://scontent-xxb1-1.cdninstagram.com/v/t51.71878-15/…",
  "videoUrl": "https://scontent-xxb1-1.cdninstagram.com/o1/v/t16/….mp4?…",
  "videoDuration": 10.63,
  "hasAudio": true,
  "audioType": "original_sounds",
  "musicTitle": "Original audio",
  "musicArtist": "beautifuldestinations",
  "audioId": "26248559028095038",
  "carouselCount": null,
  "mediaUrls": ["https://scontent-xxb1-1.cdninstagram.com/o1/v/t16/….mp4?…"],
  "scrapedAt": "2026-11-12T23:06:36.001Z"
}
```

### Use cases

- **Influencer campaign reports:** paste the post links from a brief and get likes, comments, coauthors, tagged brands and the paid-partnership label for each post.
- **Enriching collected links:** add caption, hashtags, owner, publish date and location to post links exported from other tools.
- **Reel to video file:** resolve one reel link to its MP4 link, cover image, duration and song or original sound.
- **Engagement monitoring:** run the same list on a schedule and track like and comment counts over time with `scrapedAt`.
- **Archive research:** look up old posts too; a post from 2019 works the same as a new one.

### Limitations

- **No view, play or share counts and no comments.** Instagram does not show them to logged-out visitors, so the actor does not return them. There is also no comments-turned-off flag, no alt text and no pinned flag.
- **Hidden likes:** when the owner hid likes, `likeCount` is null and `likeAndViewCountsDisabled` is true. When comments are turned off, `commentCount` is 0.
- **Media links expire.** `imageUrl`, `videoUrl`, `mediaUrls` and `ownerProfilePicUrl` are signed Instagram CDN links that stop working after a few days. Download the files soon if you need them.
- **Only public posts.** Private, deleted and unknown posts give no row (and no charge), only a warning in the log.
- **Fields that can be empty:** `url`, `inputUrl`, `shortcode`, `id`, `detailLevel` and `scrapedAt` are always filled, and `hashtags`, `mentions`, `coauthors`, `taggedUsers` and `mediaUrls` are always lists (`mediaUrls` has at least one link; the others can be `[]`). Every other field can be null: for example the location fields when the post has no location tag, `videoUrl`, `videoDuration` and `hasAudio` on image posts, the audio fields on non-reel posts, and `carouselCount` on single media.
- **Basic rows:** if Instagram's detail API changes, the actor falls back to Instagram's oEmbed data for that post. Such rows have `detailLevel: "basic"` with only the post link (always `/p/`), shortcode, media id, caption, hashtags, mentions, owner username, id and profile link and the thumbnail (`imageUrl` and `mediaUrls`); the other fields are null and `coauthors` and `taggedUsers` are `[]`. The run log warns when this happens. These rows are charged as posts.
- A carousel with several videos gives the first video in `videoUrl`; all video links are in `mediaUrls`.

### Tips and troubleshooting

- **0 rows?** Check the log: each skipped value has a warning that names it ("not found or not public", or not a post link). A bare username such as `natgeo` is treated as a shortcode and comes back as not found; give a post link instead.
- **Duplicates are free:** the same post given twice in any link form is looked up and charged once.
- **Many blocked posts in the log?** Switch the proxy to residential. The default datacenter proxy and no proxy also work for logged-out post lookups.
- **Tracking over time:** save the input as a Task and schedule it; every run returns fresh like and comment counts.
- **Need the video file?** Download from `videoUrl` or `mediaUrls` right after the run, before the signed links expire.

### API, MCP and integrations

Run the actor from your code with the same JSON input as in Console. Your API token is in [Console → Settings → API & Integrations](https://console.apify.com/settings/integrations).

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("genial_candlestand/instagram-post-details-scraper").call(run_input={
    "postUrls": [
        "https://www.instagram.com/p/DfF2UF9AIZh/",
        "https://www.instagram.com/reel/Dfa5-jix5gw/",
        "DfqBoKRFTIT",
        "https://www.instagram.com/p/BsOGulcndj-/",
        "https://www.instagram.com/p/DUyGb6tjKhv/",
    ],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js** (`npm install apify-client`):

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('genial_candlestand/instagram-post-details-scraper').call({
    "postUrls": [
        "https://www.instagram.com/p/DfF2UF9AIZh/",
        "https://www.instagram.com/reel/Dfa5-jix5gw/",
        "DfqBoKRFTIT",
        "https://www.instagram.com/p/BsOGulcndj-/",
        "https://www.instagram.com/p/DUyGb6tjKhv/",
    ],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**HTTP** — one request runs the actor and returns the results (runs up to 5 minutes; longer ones: [run asynchronously](https://docs.apify.com/api/v2/act-runs-post)):

```bash
curl -X POST "https://api.apify.com/v2/acts/genial_candlestand~instagram-post-details-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"postUrls":["https://www.instagram.com/p/DfF2UF9AIZh/","https://www.instagram.com/reel/Dfa5-jix5gw/","DfqBoKRFTIT","https://www.instagram.com/p/BsOGulcndj-/","https://www.instagram.com/p/DUyGb6tjKhv/"]}'
```

**AI agents (MCP).** Add the actor as a tool of the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Claude Code:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=genial_candlestand/instagram-post-details-scraper"
```

Claude Desktop, Cursor or VS Code: `{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=genial_candlestand/instagram-post-details-scraper"}}}`. Then ask, for example:

- "Get the MP4 link, duration and audio of the Instagram reel https://www.instagram.com/reel/Dfa5-jix5gw/"
- "Get likes, comments, coauthors and tagged users of Instagram posts DfF2UF9AIZh and DfqBoKRFTIT"
- "Is the Instagram post https://www.instagram.com/p/DUyGb6tjKhv/ a paid partnership, and where was it taken?"

**Integrations.** Run it on a schedule with [Apify Schedules](https://docs.apify.com/platform/schedules) and send the results to Google Sheets, Slack, Zapier, Make, n8n or your webhook — see [Apify integrations](https://docs.apify.com/platform/integrations).

### FAQ

**Do I need an Instagram account or cookies?**<br>
No. The actor sends no login, cookies or session and collects only what a logged-out visitor sees.

**Can it scrape a whole profile or a hashtag?**<br>
No. It takes post, reel, carousel and IGTV links or shortcodes. Profile, hashtag, story and explore links are skipped with a warning.

**Does it return reel views?**<br>
No. Instagram does not give view or play counts to logged-out visitors, so these fields are not in the output.

**How is it different from other Instagram post actors?**<br>
It returns coauthors, tagged users from every carousel item, location with coordinates, the paid-partnership label, video duration and music or original-sound info in every row, with no add-on events, at $1.90 per 1,000 posts on the Free plan (the most used general Instagram scraper lists $2.70 per 1,000 results). Hidden likes come back as null with a flag, not as a made-up number. It does not return views or comments, which that scraper does.

**Is it legal to scrape Instagram posts?**<br>
The actor collects only public data that Instagram shows without login. You are responsible for how you use it: check Instagram's terms and the data-protection laws that apply to you (for example GDPR), especially for usernames of tagged people.

### Also useful

- [Instagram Profile Scraper](https://apify.com/genial_candlestand/instagram-profile-details-scraper) — get the followers, bio and links of the post owners and tagged accounts
- [TikTok Video Details Scraper](https://apify.com/genial_candlestand/tiktok-video-details-scraper) — look up TikTok videos by link: stats, author and transcript for the same campaign
- [YouTube Scraper](https://apify.com/genial_candlestand/youtube-scraper) — add YouTube videos, Shorts and channels to a cross-platform content report
- [Pinterest Scraper](https://apify.com/genial_candlestand/pinterest-scraper) — collect pins, boards and Pinterest Trends for the same brand or topic

# Actor input Schema

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

Public Instagram posts, reels or carousels, one per line. Any post link works (/p/, /reel/, /reels/, /tv/, /<username>/p/, with or without www and tracking parameters such as ?igsh=), or a bare shortcode such as DfqBoKRFTIT. Profile, hashtag, story and explore links are skipped with a warning. Private, deleted or unknown posts are skipped and free; duplicates are looked up once.

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

Proxy for the requests to Instagram. The default Apify datacenter proxy works for logged-out post lookups; no proxy also works. Switch to residential only if you see many blocked posts in the log.

## Actor input object example

```json
{
  "postUrls": [
    "https://www.instagram.com/p/DfF2UF9AIZh/",
    "https://www.instagram.com/reel/Dfa5-jix5gw/",
    "DfqBoKRFTIT"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `posts` (type: `string`):

Dataset with one row per post: caption, counts, owner, people, location, music and media URLs

## `overview` (type: `string`):

The main columns of the posts (overview view)

# 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/DfF2UF9AIZh/",
        "https://www.instagram.com/reel/Dfa5-jix5gw/",
        "DfqBoKRFTIT"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("genial_candlestand/instagram-post-details-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/DfF2UF9AIZh/",
        "https://www.instagram.com/reel/Dfa5-jix5gw/",
        "DfqBoKRFTIT",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("genial_candlestand/instagram-post-details-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/DfF2UF9AIZh/",
    "https://www.instagram.com/reel/Dfa5-jix5gw/",
    "DfqBoKRFTIT"
  ]
}' |
apify call genial_candlestand/instagram-post-details-scraper --silent --output-dataset

```

## MCP server setup

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