# Instagram Reels Scraper - Cheapest (`socialdataapi/instagram-reels-scraper`) Actor

Instagram Reels Scraper — Extract Instagram Reels data including captions, views, likes, comments, shares, usernames, hashtags, timestamps, audio details, and Reel URLs. Useful for content research, trend discovery, competitor analysis, influencer marketing, and engagement tracking.

- **URL**: https://apify.com/socialdataapi/instagram-reels-scraper.md
- **Developed by:** [Social Data API](https://apify.com/socialdataapi) (community)
- **Features:** Limited permissions
- **Stats:** 10 total users, 4 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Reels Scraper — Views, Likes, Captions and Audio Data

Instagram Reels Scraper pulls public Reels from any Instagram username and returns them as structured JSON, no browser or login needed. Each Reel includes its caption, like and comment counts, view and play counts, music info, video and audio URLs, hashtags, mentions, and an optional speech-to-text transcript (needs a session cookie). **Every response is structured JSON** — ready to pass directly to an LLM, index into a vector store, or feed a social-listening pipeline. Results stream into the dataset as they're scraped. Start with one username, then scale up.

***

### What is Instagram Reels Scraper?

Instagram Reels Scraper is an Apify Actor that collects public Reels — captions, engagement counts, media URLs, owner details, comments preview, and audio metadata — from one or many Instagram usernames and returns them as clean, structured JSON. Collecting Reels, their details, and comments runs entirely against Instagram's logged-out public pages: no Instagram account, password, or cookie is required for that. An optional session cookie unlocks one enrichment only — speech transcripts. It's built for social media marketers, growth and content teams, and developers or AI engineers who need Reels data fed straight into a dashboard, pipeline, or agent without writing a scraper themselves.

### What Instagram Reels data is publicly available to scrape?

A logged-out visitor to any public Instagram profile already sees its Reels, captions, and engagement counts — the data this Actor collects.

| Data Category | Publicly Available | Restricted behind Instagram login |
| --- | --- | --- |
| Captions, hashtags, mentions | Yes | — |
| Likes, comments, view/play counts | Yes | — |
| Video, audio, thumbnail URLs | Yes | — |
| Owner username, full name, ID | Yes | — |
| Timestamp | Yes | — |
| Pinned status | Not available logged out — this Actor always reports `isPinned: false` | — |
| Auto-generated transcript | Only with an Instagram session cookie supplied | Without a cookie |
| Preview comments (up to 12) | Partial, best-effort | Full comment threads |
| Private-account Reels | No | Requires following + login |

Instagram Reels Scraper only returns publicly visible data — nothing behind a login wall.

***

### What data can I extract with Instagram Reels Scraper?

Using this Instagram Reels API, you will be able to extract the following Instagram Reels data:

| 🆔 Reel ID | 🔡 Short code | 🔗 Reel URL | 📅 Posted at |
|---|---|---|---|
| 👤 Owner username, name & ID | 🏷️ Media & product type | 🔗 Profile URL scraped | 📌 Pinned flag |
| ❤️ Like count | 💬 Comment count | ▶️ View count | 🔁 Play count |
| 📝 Caption | #️⃣ Hashtags | 🔖 Mentions | ♿ Alt text |
| 🎬 Video file (nested) | 🖼️ Thumbnail image | 🎵 Audio track (nested) | 🎼 Music info (nested) |
| 🎞️ Carousel children (nested) | 💬 First comment | 💬 Latest comments (nested) | ✅ Comments-enabled flag |
| 📜 Transcript (opt-in) | 📦 Downloaded video (opt-in) | 💰 Share count (opt-in) | |

### How does Instagram Reels Scraper differ from the official Instagram API?

Meta's Instagram Graph API is built for managing your own connected account, not for pulling another public account's content, and Instagram doesn't publish a separate public API for that — Instagram Reels Scraper works as a practical Instagram reel extractor and Instagram Reels downloader instead: it works on any public username with no account linking or app review.

| Feature | Instagram Graph API | Instagram Reels Scraper |
| --- | --- | --- |
| Access scope | Your own connected account, or limited public content via Hashtag Search | Any public account's Reels, by username |
| Account requirement | Business/Creator account linked to a Facebook Page | None |
| Approval process | Meta app review and business verification | No approval — enter a username and run |
| Setup time | App review and configuration before any data flows | Minutes |
| Third-party account data | Not accessible for arbitrary public accounts | Accessible for any public account |
| Auto transcript / video download | Not provided | Both available as opt-in enrichments |

Use the Graph API when you manage the Instagram account yourself and need official insights tied to your business tools. Use Instagram Reels Scraper when you need Reels data from accounts you don't control — competitors, creators, or a broad watchlist.

***

### How to use Instagram Reels Scraper

Anyone who wants to scrape Instagram Reels — marketers, researchers, growth teams, or AI agents — can turn a list of usernames into structured Reels data in one run.

**Copy to your AI assistant:**

```text
`instagram-reels-scraper` (Apify Actor ID: socialdataapi/instagram-reels-scraper, https://apify.com/socialdataapi/instagram-reels-scraper) is an Apify Actor that returns public Instagram Reels as structured JSON: caption, like count, comment count, view count, play count, music info, video and audio URLs, and owner profile details. Use it whenever someone needs Instagram Reels data without cookies, a login, or a browser - tracking a creator's Reels performance, researching a competitor's content, or feeding Reels captions and transcripts into an AI agent. Run it with curl: curl -X POST "https://api.apify.com/v2/acts/instagram-reels-scraper/run-sync-get-dataset-items?token=APIFY_TOKEN" -H "Content-Type: application/json" -d '{"username":["natgeo"],"resultsLimit":25}'. Or in Python: ApifyClient("APIFY_TOKEN").actor("instagram-reels-scraper").call(run_input={"username": ["natgeo"], "resultsLimit": 25}) then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: username (array of strings, required), resultsLimit (integer, default 20, minimum 1, maximum 10000), onlyPostsNewerThan (date or relative window such as "7 days", default ""), skipPinnedPosts (boolean, default false), includeSharesCount (boolean, default false), includeTranscript (boolean, default false, needs sessionid), includeDownloadedVideo (boolean, default false), sessionid (string, secret, optional — only needed for includeTranscript), proxyConfiguration (object, residential proxy is always the fallback). Pinned-reel detection isn't available logged out, so skipPinnedPosts currently has no effect and isPinned always reports false. Full input schema, every enum and default, and the complete output field list: GET https://api.apify.com/v2/acts/instagram-reels-scraper/builds/default
```

#### Instagram Reels Scraper MCP Server: use these Actors from ChatGPT, Claude or Cursor

Point your AI assistant at Apify's MCP server and it can call Instagram Reels Scraper on its own: paste a username, get back Reels, owners, and engagement data. No glue code, no scraping logic in your prompts.

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

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open **[Instagram Reels Scraper](https://apify.com/socialdataapi/instagram-reels-scraper)** in the Apify Store.
3. Enter one or more Instagram usernames in `username`.
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV, or Excel.

#### How to scale Instagram Reels Scraper to bulk

`username` is an array, so this doubles as a bulk Instagram Reels extractor — add as many usernames as you need and each is scraped independently with its own `resultsLimit`. There is no separate "bulk mode" input; scaling up simply means adding more entries to the same array or raising `resultsLimit` per username (up to 10,000).

***

### ✨ Features

Instagram Reels Scraper fetches clean, structured Reels from Instagram ⚡ at low cost 💸, turning raw Instagram Reels data into one consistent JSON shape. It's ideal for competitor research, creator-partnership discovery, trend tracking, and feeding fresh Reels content into an AI pipeline.

It extracts, per Reel:

- **Caption and engagement** – full caption, hashtags, mentions, like count, comment count, view count, and play count.
- **Music info** – artist name, song name, and whether the Reel uses original audio.
- **Video and audio files** – the direct video URL, audio URL, and thumbnail image.
- **Owner profile** – username, full name, and internal ID of the account that posted it.
- **Preview comments** – the first comment plus a set of latest comments, each with its own like and reply count.
- **Two opt-in enrichments** – a speech-to-text transcript and a downloaded video file, both off by default.

⚡ A residential proxy with automatic retries runs on every request, so one blocked attempt never ends the run.

***

### Use cases 💡

- **Content strategist** — uses caption, hashtags, and music info to spot a rival's winning formats.
- **Creator-partnerships lead** — checks Instagram Reels engagement before an outreach.
- **Social media manager** — tracks music info and posting time to spot trending audio in a niche.
- **Growth analyst** — charts a brand's own Reels performance with like, comment, view and play counts.
- **AI engineer** — feeds captions and each Reel's Instagram Reels transcript into a RAG pipeline.

Building an AI agent? [Connect Instagram Reels Scraper over MCP](#instagram-reels-scraper-mcp-server-use-these-actors-from-chatgpt-claude-or-cursor) and let it call the actor on its own.

***

### Why choose this actor?

1. **29 fields on every Reel, nested and ready to use.** Each Reel already carries its own music info, owner profile, and latest comments in the same row — no second request needed.
2. **The numbers behind each Reel.** A sample Reel came back with 1,258,268 likes, 12,381 comments, and 37,796,913 views, plus full music info and an available transcript.
3. **Two opt-in enrichments, one Actor.** Turn on a speech-to-text transcript or an actual downloaded video file for any Reel, alongside bulk usernames and a date filter, in the same run.

***

### ⬇️ Input

| Parameter | Required | Type | Description | Example Value |
| --- | --- | --- | --- | --- |
| `username` | Yes | array of strings | Add one or multiple Instagram usernames, `@handles`, or profile URLs to start scraping reels. Each is scraped independently. | `["natgeo", "cristiano"]` |
| `resultsLimit` | No | integer | Maximum number of reels/posts to collect per username. Default `20`, minimum `1`, maximum `10000`. | `25` |
| `onlyPostsNewerThan` | No | string (date picker) | Fetch only recent posts after a specific date. Use the date picker for an absolute date (`YYYY-MM-DD`) or type a relative window like `7 days`, `2 weeks`, or `1 month`. Leave empty to fetch all. Default `""` (no filter). | `"7 days"` |
| `skipPinnedPosts` | No | boolean | Turn on to ignore pinned posts and focus on regular timeline content. Default `false`. | `false` |
| `includeSharesCount` | No | boolean | Include share count for each post when Instagram makes it available. Default `false`. | `true` |
| `includeTranscript` | No | boolean | Extract and include the caption/speech-to-text transcript in your output data. Default `false`. | `true` |
| `includeDownloadedVideo` | No | boolean | Download reel videos to the run's Key-Value Store and include a downloadable link in the output. Default `false`. | `false` |
| `sessionid` | No | string (secret) | Your Instagram `sessionid` cookie value. Not required to collect Reels, their details, or comments — only needed if `includeTranscript` is on, since Instagram's transcript feature requires a logged-in session. Left blank, transcripts stay empty. | *(not shown — secret field)* |
| `proxyConfiguration` | No | object | The Actor always uses Apify's residential proxy (up to 3 attempts) as the reliability safety net. If you supply your own custom proxy URLs, the Actor tries those first and automatically falls back to residential on failure. Apify proxy group selections are ignored — residential is always the fallback. | `{"useApifyProxy": true}` |

#### Free plan limits

Free plan: up to 20 reels per run (all usernames together) and 200 per month; paid plans have no limit.

#### Example input

```json
{
  "username": ["natgeo", "cristiano"],
  "resultsLimit": 25,
  "onlyPostsNewerThan": "7 days",
  "skipPinnedPosts": false,
  "includeSharesCount": true,
  "includeTranscript": true,
  "includeDownloadedVideo": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

***

### ⬆️ Output

Every scraped Reel is pushed to the dataset as one flat, typed JSON object, in the same schema on every run. Export Instagram Reels to CSV, JSON, Excel (XLSX), or XML directly from the dataset, or pull them via the Apify API. Every dataset item is a real, scraped Reel — the Actor does not push separate error or accounting placeholder rows, so nothing needs to be filtered out before counting or billing.

#### Example output

```json
{
  "id": "3727980973477364718",
  "type": "Video",
  "shortCode": "DO8cvGViIPu",
  "caption": "On the 95th Saudi National Day, sharing a message with the Saudi people 🇸🇦",
  "hashtags": [],
  "mentions": [],
  "url": "https://www.instagram.com/p/DO8cvGViIPu/",
  "commentsCount": 12381,
  "dimensionsHeight": 1920,
  "dimensionsWidth": 1080,
  "images": ["https://scontent.cdninstagram.com/v/example_thumb.jpg"],
  "videoUrl": "https://scontent.cdninstagram.com/v/example_video.mp4",
  "likesCount": 1258268,
  "timestamp": "2025-09-23T18:20:37.000Z",
  "ownerFullName": "Cristiano Ronaldo",
  "ownerUsername": "cristiano",
  "ownerId": "173560420",
  "isPinned": false,
  "productType": "clips",
  "videoDuration": 47.5,
  "inputUrl": "https://www.instagram.com/cristiano",
  "firstComment": "Legend! 🔥",
  "latestComments": [
    {
      "id": "18021394857203",
      "text": "Legend! 🔥",
      "ownerUsername": "fan_account",
      "ownerProfilePicUrl": "https://scontent.cdninstagram.com/v/example_pic.jpg",
      "timestamp": "2025-09-23T19:02:11.000Z",
      "repliesCount": 2,
      "replies": [],
      "likesCount": 340,
      "owner": {
        "id": "998877665",
        "is_verified": false,
        "profile_pic_url": "https://scontent.cdninstagram.com/v/example_pic.jpg",
        "username": "fan_account"
      }
    }
  ],
  "displayUrl": "https://scontent.cdninstagram.com/v/example_thumb.jpg",
  "audioUrl": "https://video.xx.fbcdn.net/v/example_audio.mp4",
  "alt": null,
  "videoViewCount": 37796913,
  "videoPlayCount": 37796913,
  "childPosts": [],
  "musicInfo": {
    "artist_name": "alnassr",
    "song_name": "Original audio",
    "uses_original_audio": true,
    "should_mute_audio": false,
    "should_mute_audio_reason": "",
    "audio_id": "1161392755847777"
  },
  "isCommentsDisabled": false,
  "transcript": "On the 95th Saudi National Day, I want to send my love and respect to the Saudi people...",
  "downloadedVideo": "",
  "sharesCount": 4210
}
```

`sharesCount` is only added when `includeSharesCount` is enabled, and is `null` (never a fabricated `0`) when Instagram doesn't expose a share count for that Reel. `transcript` stays an empty string unless `includeTranscript` is on and Instagram returns a transcript. `downloadedVideo` stays an empty string unless `includeDownloadedVideo` is on. `firstComment`/`latestComments` are empty whenever Instagram's logged-out preview doesn't serve comment text for that Reel — `commentsCount` (the numeric total) is unaffected.

***

### How does it work?

Instagram Reels Scraper talks directly to Instagram's own logged-out web pages instead of driving a browser. For each username, it loads the same public profile page a logged-out visitor's browser already loads, reads the Reels already present on that page and the pages after it, then opens each Reel's own public page for its full details and preview comments. Every request goes through Apify's residential proxy, with automatic retries and, if you've configured a custom proxy, a fallback to residential when the custom proxy is blocked. Only what a logged-out visitor to Instagram.com can already see is returned — nothing from a private account and nothing that requires being logged in. The one exception is the optional transcript enrichment, which calls an Instagram feature that does require a logged-in session, which is why it needs the optional session cookie input. Results are normalized into the same flat JSON schema on every run, so downstream code doesn't have to change when Instagram tweaks its own page layout.

### How does Instagram Reels Scraper handle rate limits and blocking?

Every request runs through Apify's residential proxy by default, with up to 3 attempts per request before it's given up on. If you supply your own custom proxy URLs, the Actor tries those first (1 attempt) and automatically escalates to residential on failure — once any request escalates, every later request in the run starts on residential too. Requests that come back blocked or rate-limited, or any server error, are retried with backoff (capped wait time) before escalating or giving up. A `404` (for example, a Reel with no transcript available) is treated as "not available," not an error. If one username fails unexpectedly, the Actor logs it, skips it, and continues scraping the remaining usernames in the same run rather than aborting the whole run. The Actor does not solve CAPTCHAs — if a request is blocked past its retry attempts, that item is skipped and logged.

***

### How do you integrate Instagram Reels Scraper into your stack?

Instagram Reels Scraper works with what you already use: the Instagram Reels Scraper API from any language, MCP for AI agents, and no-code automation tools.

#### Using Instagram Reels Scraper with the Apify API

```python
import requests

response = requests.post(
    "https://api.apify.com/v2/acts/instagram-reels-scraper/run-sync-get-dataset-items",
    params={"token": "APIFY_TOKEN"},
    json={"username": ["natgeo"], "resultsLimit": 25},
)
for item in response.json():
    print(item["shortCode"], item["likesCount"], item["commentsCount"])
```

*Works in Go, Ruby, Node.js, cURL — any language that can make an HTTP request.*

#### MCP integration for AI agents

Point your AI assistant at Apify's MCP server and it can call Instagram Reels Scraper directly, with no glue code and no scraping logic written into your prompts.

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

This registers Instagram Reels Scraper as a tool your agent can call directly. It works the same way in Claude Code, Cursor, and Windsurf — the client finds the Actor through the server's own search, add, and call-actor tools, so you never hardcode an Actor ID.

#### No-code tools (n8n, Make, LangChain)

In **n8n**, use the Apify node's "Run Actor" action (or a plain HTTP Request node) pointed at this Actor's run endpoint, then read results from the resulting dataset. In **Make**, the Apify app's "Run an Actor" module does the same, letting you chain the output straight into a scenario. In **LangChain**, install `langchain-apify` and wrap the Actor with `ApifyActorsTool("instagram-reels-scraper")` so an agent can call it on demand.

***

### Is it legal to scrape Instagram data?

Scraping publicly available data — the same data any logged-out visitor to Instagram.com can see — is generally lawful, and Instagram Reels Scraper only returns that kind of public data: no private accounts, no login-gated content. Because Reels output includes personal data about the posting account and commenters (usernames, full names, profile pictures), GDPR and CCPA apply to how you store and use it once collected — you need a lawful basis for that processing, and data subjects retain rights over it. This is factual framing, not legal advice — consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What Instagram Reels fields does Instagram Reels Scraper return?

It returns `caption`, `likesCount`, `commentsCount`, `videoViewCount`, and `musicInfo` among 30+ fields per Reel — see the [full field list](#what-data-can-i-extract-with-instagram-reels-scraper) above.

#### Does Instagram Reels Scraper require an Instagram account or login?

No, not for collecting Reels, their details, or comments — it authenticates each request using tokens pulled from Instagram's own public profile page, so no Instagram account, password, or cookie is needed for that. The only exception is the optional transcript enrichment: Instagram's transcript feature requires a logged-in session, so it only produces results if you supply the optional `sessionid` cookie.

#### How many reels can I extract in one run?

Up to `resultsLimit` (max `10000`) per username, and you can add as many usernames as you want in the same `username` array — there's no separate cap on the number of usernames per run.

#### What happens if a username is private, doesn't exist, or has no reels?

The Actor logs the failure for that username and moves on to the next one rather than stopping the run — if a profile has no accessible Reels, it simply returns none for that username while the rest of the run continues.

#### Can I scrape multiple Instagram usernames at once?

Yes. `username` accepts an array of usernames, `@handles`, or profile URLs, and each is scraped independently with its own `resultsLimit`.

#### Does Instagram Reels Scraper work with Claude, ChatGPT, and other AI agent tools?

Yes — it's available as an MCP tool through the Apify MCP server (`claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/instagram-reels-scraper"`, then your agent finds and calls it by name), and as a plain HTTP endpoint for any agent framework that can call an API — LangChain, a custom Claude tool, a ChatGPT plugin/action — to trigger a run and read back typed JSON dataset items directly.

#### How does Instagram Reels Scraper compare to other Instagram Reels scrapers?

It differs in the enrichments it bundles into one run: bulk usernames, a date filter, an optional speech-to-text transcript, and an optional actual video-file download, all in the same input schema rather than as separate add-ons.

#### Does Instagram Reels Scraper return data in a format LLMs can use directly?

Yes. Output is typed, normalized JSON with consistent field names across runs — no HTML parsing or CSS selectors needed. Pass it directly into an LLM prompt, a vector store, or an agent tool.

#### What happens when Instagram changes its layout or anti-bot system?

The Actor is maintained against Instagram's endpoints, and the output schema stays the same regardless of front-end changes on Instagram's side. No specific turnaround time is guaranteed for any given change.

#### Can I use Instagram Reels Scraper without managing proxies or browser infrastructure?

Yes. It runs on Apify's residential proxy by default with built-in retries and escalation — there's no browser to manage, since it talks to Instagram's endpoints directly.

#### Which Instagram Reels fields work best for AI training data and RAG indexing?

For RAG, index `caption` and `transcript` — the highest-information text fields. For structured training data, `likesCount`, `commentsCount`, `videoViewCount`, and `timestamp` return as consistent typed primitives across every record.

***

### Related scrapers

| Scraper Name | What it extracts |
| --- | --- |
| Instagram Profile Scraper | Bio, follower counts, verification, and latest posts |
| Instagram Hashtag Scraper | Posts and Reels tagged under a hashtag |
| Instagram Mentions Scraper | Inbound posts tagging or mentioning an account |
| Instagram Highlights Scraper | Story highlight reels saved to a profile |
| Instagram Tagged Posts Scraper | Tagged posts with date and engagement analytics |
| Instagram Related Person Scraper | Profiles Instagram lists as related to an account |

***

### Your feedback

Found a bug or a missing field? Let us know through the Actor's Issues tab on Apify, and we'll take a look. Reports like these keep this Actor accurate as Instagram continues to change.

# Actor input Schema

## `username` (type: `array`):

Add one or multiple usernames, @handles, or profile URLs to start scraping reels.

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

Maximum number of reels to collect per username. Free plan: up to 20 reels per run (all usernames together) and 200 per month; paid plans have no limit.

## `onlyPostsNewerThan` (type: `string`):

Fetch only recent reels posted after a specific date. Use the date picker for an absolute date (YYYY-MM-DD) or type a relative window like 7 days, 2 weeks, or 1 month. Leave empty to fetch all.

## `skipPinnedPosts` (type: `boolean`):

Currently has no effect: Instagram does not report which reels are pinned to a visitor who isn't logged in, so pinned reels can't be reliably detected or skipped. Kept for forward compatibility.

## `includeSharesCount` (type: `boolean`):

Include the share count for each reel when Instagram makes it available.

## `includeTranscript` (type: `boolean`):

Generate a text transcript of each reel's spoken audio. Requires an Instagram session cookie below — without one, this field is left blank.

## `includeDownloadedVideo` (type: `boolean`):

Download each reel's video file to this run's key-value store and include a downloadable link in the output. Increases run time for large result sets.

## `sessionid` (type: `string`):

Optional. Your Instagram sessionid cookie value. Not required to collect reels, their details, or comments — all of that works without logging in. Supplying it is only needed to generate transcripts (Include Transcript above).

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

The actor always uses Apify's residential proxy (up to 3 attempts) for reliability. If you provide your own custom proxy URLs here, the actor tries those first and automatically falls back to residential if they fail. Apify proxy group selections are ignored — residential is always the safety net.

## Actor input object example

```json
{
  "username": [
    "natgeo"
  ],
  "resultsLimit": 20,
  "onlyPostsNewerThan": "",
  "skipPinnedPosts": false,
  "includeSharesCount": false,
  "includeTranscript": false,
  "includeDownloadedVideo": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Who posted what, when, and how it performed at a glance — cover image, URL, owner, timestamp, caption, likes/comments/views.

## `engagement` (type: `string`):

Reach and interaction metrics for each reel: likes, comments, shares, views, plays, comment/pin status.

## `media` (type: `string`):

Video, image, and audio asset URLs for each reel, including any downloaded video file link.

## `captions` (type: `string`):

Caption text, hashtags, mentions, top comments, and transcript (when enabled) for each reel.

## `music` (type: `string`):

Background audio info and carousel child posts for each reel.

## `downloadedVideos` (type: `string`):

MP4 video files saved to the key-value store when 'Include Downloaded Video' is enabled, one per reel (key video-<shortCode>).

## `liveSnapshot` (type: `string`):

Continuously updated JSON snapshot of every reel collected so far in this run, saved under the key-value store key OUTPUT.

# 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 = {
    "username": [
        "natgeo"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("socialdataapi/instagram-reels-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 = {
    "username": ["natgeo"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("socialdataapi/instagram-reels-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 '{
  "username": [
    "natgeo"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call socialdataapi/instagram-reels-scraper --silent --output-dataset

```

## MCP server setup

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