# Instagram Reels Transcript API: Video to Text (`verbatim-labs/instagram-reels-transcript`) Actor

Instagram Reel URLs, profiles, sounds or a scraper dataset in; transcript, language, hook, stats out. Failed, private and deleted reels are free. Any-language translation, word timestamps, AI summary/hook/CTA, comments, SRT/VTT. Free estimateOnly quote.

- **URL**: https://apify.com/verbatim-labs/instagram-reels-transcript.md
- **Developed by:** [Verbatim Labs](https://apify.com/verbatim-labs) (community)
- **Categories:** Social media, Videos, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 transcribed reels

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 Reels Transcript API: Video to Text ($8/1k)

Reel URLs, profile usernames, **sounds**, popular topics or any Instagram scraper's dataset in; one JSON row per reel out with the transcript, language, hook, post stats and a viral score.

**Price:** $0.008 per reel on every plan. Apify emails you before any price change.

Plus $0.002 per run start. 5 min of audio included, then +$0.002 per extra minute (capped at 20 min). Add-ons: `accuracy: "best"` +$0.002, `analysis` +$0.002. Music-only reels (no speech): $0.003 ($0.0025 Starter, $0.002 Scale/Business) incl. 2 min, then the same per-minute price; metadata and extras, no transcript. Private, deleted, photo, filtered and failed reels are free; every row says what it cost.

### Quick start (API, MCP, agents)

`POST https://api.apify.com/v2/acts/<this-actor>/run-sync-get-dataset-items?token=...` returns the rows. Add `fields=url,status,errorCode,text` to keep context small.

1. **Quote first ($0.002):** `{"usernames": ["hubermanlab"], "reelsPerProfile": 30, "estimateOnly": true}` → one row `{"status": "estimate", "estimate": {"reels": 30, "minutes": 41.5, "maxUsd": 0.24}}`.
2. **Transcribe URLs:** `{"urls": ["https://www.instagram.com/reel/DZn_a_tsZDj/"]}` → `{"status": "ok", "text": "…", "charged": true}`.
3. **Trend research:** `{"sounds": ["https://www.instagram.com/reels/audio/1957736051613126/"], "reelsPerSound": 50, "minViews": 50000, "analysis": ["hook", "cta"]}`.
4. **Weekly monitor, never pay twice:** `{"usernames": ["natgeo"], "onlyNew": true, "historyKey": "natgeo-weekly"}`.
5. **Chain a scraper:** `{"datasetId": "<dataset id>", "targetLanguage": "en"}` (every upstream field passes through).

### Input

| Field | Default | What it does |
|---|---|---|
| `urls` | | Reel/post URLs or shortcodes |
| `usernames` / `reelsPerProfile` | `12` | Up to 50 profiles' latest videos (1–500 each) |
| `sounds` / `reelsPerSound` | `12` | Up to 50 audio URLs or ids: reels using that sound (1–500) |
| `topics` / `reelsPerTopic` | `24` | Up to 50 popular-topic pages (max 24 reels each) |
| `datasetId` / `items` / `datasetField` | | Upstream dataset or inline rows (URL field auto-detected) |
| `estimateOnly` | `false` | Quote row only; costs just the run start (10/day, times up to 100 reels) |
| `newerThan` | | Only reels posted after this date |
| `minViews` / `minLikes` / `maxDurationSec` | `0` | Skip before transcribing (free `skipped` rows) |
| `strictFilters` | `false` | Also skip reels whose filtered value IG hid (`filtersNotApplied`) |
| `onlyNew` / `historyKey` | `false` | Skip reels already processed |
| `maxReels` | `0` | Stop after N reels (runs also stop at your max charge) |
| `targetLanguage` | | Any ISO-639-1 code, into `textTranslated`; same price |
| `translateToEnglish` | `false` | Shortcut for `targetLanguage: "en"` (adds `textEnglish`) |
| `language` | auto | Source-language hint |
| `accuracy` | `fast` | `best` = Whisper large-v3, +$0.002, reels ≤ 2 min, as capacity allows (tiny runs usually get `fast`; no fee, `accuracyDowngraded`) |
| `analysis` | | `summary` `hook` `cta` `structure` `keywords` `topics` `sentiment` `chapters` or `all`, +$0.002 |
| `wordTimestamps` / `vocabulary` | | Word timings; spellings to get right; same price |
| `includeSegments` / `subtitleFormat` | `false` / `none` | Timed segments; `srt`, `vtt`, `both` |
| `includeOnScreenText` | `false` | Burned-in text (`onScreenText`); same price |
| `includeComments` | `0` | N newest comments (max 20) on transcribed reels, free |
| `includeMediaUrls` | `false` | `videoUrl`, `audioUrl` + expiry on transcribed reels, free |
| `useNativeCaptions` / `concurrency` | `true` / `10` | Use upstream IG caption files; parallelism (1–20) |

### Output (essentials)

Per row: `url`, `inputUrl`, `status`, `errorCode`, `retryable`, `charged`, `chargedUsd`, `text`, `hook`, `detectedLanguage`, `languageMismatch`, `qualityFlags`, `durationSec`, `takenAt`, `likeCount`, `commentCount`, `ownerUsername`, `caption`, `viralScore`, `music.audioId`.

`status`: `ok`, `no_speech` (music-only price), `unavailable`, `not_video`, `expired`, `blocked`, `skipped`, `error`, `estimate`. Only `ok` and `no_speech` are charged (a `no_speech` reel with no audio track and no metadata is free). Free rows carry just identifiers, `durationSec`, the reason and your input fields.

**Branch on `status` / `errorCode` / `retryable`, never on `error` text.** Retry `RATE_LIMITED`, `UPSTREAM_ERROR`, `DOWNLOAD_FAILED`, `ASR_FAILED`, `INTERNAL`, `CAPACITY_BUSY` (later), `CHARGE_LIMIT` (raise your max charge). Don't retry `NO_SPEECH`, `NOT_FOUND`, `PRIVATE`, `NOT_A_VIDEO`, `EXPIRED`, `TOO_LONG`, `FILTERED`, `LIMIT_REACHED` (split the run). Per run: the `OUTPUT` record has counts + `stopReason`; the `TIP` record (read by Apify's MCP server) says what happened and what to do next.

### Why this one

- **No silent empties.** Silence, music and Whisper's made-up filler ("Thank you.", "Outro Music") become `no_speech` rows with a reason, never fake text. They cost the music-only price (2 min included, then per minute) and still carry metadata.
- **Every row explains itself:** `status`, `errorCode`, `retryable`, `charged`, `chargedUsd`.
- **Quality flags:** repetition loops, clipped first words, low confidence, likely wrong language (`languageMismatch`).
- **Profiles in, transcripts out.** `usernames: ["natgeo"]` transcribes their latest reels. No separate scraper needed.
- **Monitoring without double-paying.** `onlyNew` skips reels you already got; `newerThan` limits profiles by date.
- **On-screen text.** `includeOnScreenText` reads burned-in titles and captions, even on music-only reels.
- **Multi-video carousels** become one row per video (`childIndex`).
- **Post stats at no extra cost:** `takenAt`, likes, comments, thumbnail, caption, owner; `inputUrl` echoed back.
- **Agent-ready:** text-only rows by default over API/MCP, output schema, stable `errorCode`s, a one-line `tip` (also published as a `TIP` record for MCP clients), and a plain-words `stopReason` whenever a run ends early.
- **Never a surprise bill.** `estimateOnly` quotes first; reels it can't do well are skipped up front and free; runs stop cleanly at your max-charge limit.
- **Translate to any language** (`targetLanguage: "de"`), keeping the original timings.
- **Word-level timestamps** (`wordTimestamps`) for karaoke captions, clipping and search.
- **Custom vocabulary** so brand names, drugs and jargon are spelled right (`vocabulary: ["Ozempic", "HIIT"]`).
- **AI analysis add-on:** summary, hook type and strength, CTA, beat structure, keywords, topics, sentiment, timed chapters.
- **Filters that cost nothing:** `minViews`, `minLikes`, `maxDurationSec`, `newerThan` skip reels before any transcription. Logged-out Instagram sometimes hides view/like counts: such reels pass and their row lists the unchecked filters in `filtersNotApplied`; set `strictFilters: true` to skip them instead.
- **Find reels by sound:** `sounds` takes an audio page URL and transcribes reels using it; every row's `music` (title, artist, `audioId`) chains back into it.
- **Popular topics:** `topics: ["andrew huberman"]` pulls up to 24 top reels from Instagram's topic page.
- **Latest comments:** `includeComments: 20` adds the newest comments to each transcribed reel at no extra charge.
- **Download links:** `includeMediaUrls` adds fresh `videoUrl` / `audioUrl` with their expiry time.

### Full output example

```json
{
  "url": "https://www.instagram.com/reel/DZn_a_tsZDj/",
  "inputUrl": "https://www.instagram.com/reel/DZn_a_tsZDj/?igsh=abc",
  "status": "ok", "errorCode": null, "retryable": false,
  "charged": true, "chargedUsd": 0.008,
  "text": "Full transcript…",
  "hook": "Here's the one mistake everyone makes…",
  "onScreenText": "3 MISTAKES\nto avoid",
  "detectedLanguage": "en", "languageMismatch": false, "qualityFlags": [],
  "durationSec": 55.1, "takenAt": "2026-11-08T14:02:11Z",
  "likeCount": 18233, "ownerUsername": "hubermanlab",
  "viralScore": 71.4, "engagementPerDay": 3700.5,
  "music": {"title": "Original audio", "artist": "hubermanlab", "audioId": "27428628096774989",
            "isOriginal": true, "url": "https://www.instagram.com/reels/audio/27428628096774989/"}
}
```

With add-ons: `textTranslated` + `translatedTo`, `words` (`[{"start": 0.0, "end": 0.32, "word": "Here's"}]`), `accuracy`, `videoUrl` / `audioUrl` / `mediaUrlsExpireAt`, and

```json
"analysis": {
  "summary": "Explains why most people stall on fat loss and the one habit to fix it.",
  "hook": {"text": "Here's the one mistake everyone makes", "type": "bold_claim", "strength": 4},
  "cta": {"text": "Follow for part 2", "type": "follow"},
  "structure": [{"part": "hook", "text": "…"}, {"part": "value", "text": "…"}, {"part": "cta", "text": "…"}],
  "keywords": ["fat loss", "protein"], "topics": ["fitness"], "sentiment": "positive",
  "chapters": [{"start": 0, "title": "The mistake"}, {"start": 21, "title": "The fix"}]
}
```

`viralScore` (no extra charge, 0–100, on transcribed reels) = engagement per day since posting, `(likes + 2×comments + plays/50) / age in days`, on a log scale where 100k/day = 100. It's a ranking signal, not a prediction.

### Error codes

All are free.

| Code | Meaning | Retry? |
|---|---|---|
| `NO_SPEECH` | Music, silence, no audio track. Music-only price ($0.003 incl. 2 min, then per minute), metadata included | no |
| `NOT_FOUND` / `PRIVATE` | Deleted, or hidden from logged-out viewers | no |
| `NOT_A_VIDEO` / `EXPIRED` / `TOO_LONG` | Photo post · upstream video URL expired · media file too large (your `videoUrl` over 60 MB) | no |
| `RATE_LIMITED` / `UPSTREAM_ERROR` | Instagram blocked or errored on the lookup | yes |
| `DOWNLOAD_FAILED` / `ASR_FAILED` / `INTERNAL` | Transient download, speech-recognition or internal failure | yes |
| `CAPACITY_BUSY` | Skipped up front, not charged: every transcription engine was saturated for this reel at once, or the reel was too long for the last engine left at its price | yes, later |
| `CHARGE_LIMIT` | Your run's max charge (`maxTotalChargeUsd`) couldn't pay for this reel, so it wasn't transcribed or charged. A reel the limit only partly covers is transcribed up to what it pays for (`truncated: true`, `chargeLimitCapSec`) | yes, with a higher limit |
| `FILTERED` | Excluded by your `minViews` / `minLikes` / `maxDurationSec` / `newerThan` | no |
| `LIMIT_REACHED` | A profile/sound/topic wasn't listed: one run lists up to ~300 Instagram pages (~3,000 reels) | no, split the run |

`qualityFlags` can also include `TRANSLATION_FAILED` (transcript still delivered; happens when the text translator is unavailable and the reel is longer than about 1.5 min, where the speech-model fallback isn't offered at this price) and `ANALYSIS_FAILED` (analysis not charged).

Views: Transcripts, Subtitles, Segments, Status/errors/billing. Run summary: `OUTPUT` record (counts by status and error code, total charged, `tip`, `stoppedBy`, `notStarted`).

### When a run stops early

A run stops starting new reels (in-flight ones finish and are charged normally) when:

- `stoppedBy: "maxTotalChargeUsd"`: your max-charge limit is reached.
- `stoppedBy: "maxReels"`: your `maxReels` is reached.
- `stoppedBy: "costGuard"`: Instagram or transcription capacity is degraded right now, so the run pauses instead of grinding on. `stopReason` explains it in plain words.

Unstarted reels are never charged. Rerun the same input later with `onlyNew: true` to pick up where it stopped.

### Limits

- Audio past 20 min isn't transcribed or billed (`truncated: true`).
- **Transcription runs on a chain of engines, with no daily cap.** Two cloud Whisper turbo engines take reels first; when one is rate-limited, the reel moves on at once instead of queueing: to a third cloud Whisper turbo engine, then to a self-hosted GPU backup. `accuracy: "best"` and Whisper translation run on large-v3 engines only (cloud first, GPU backup second). A free `CAPACITY_BUSY` row means every engine in the chain was saturated for that reel at once, or only the GPU backup was left and it couldn't cover its own cost on that reel (reels over ~3 min, or a run of a few reels that would have to start a cold GPU); rerun later (`onlyNew: true` skips what's done). There is no reset time to wait for.
- `languageMismatch` compares writing systems, so it can't separate two Latin-script languages.
- Profiles list grid posts only (no Reels-tab-only videos); `playCount` is often empty logged out, so `minViews` only filters reels whose views are visible.
- No hashtag or free-text keyword search: Instagram login-walls both for logged-out visitors, and we never log in. Use `sounds`, `topics`, profiles, or chain a hashtag scraper's dataset.
- `topics` only works where Instagram publishes a logged-out topic page (mostly people, brands, shows); others return a free `NOT_FOUND` row.
- Comments are newest-first, not top-ranked; share counts aren't visible logged out.
- No speaker labels yet.
- `wordTimestamps` always transcribes the audio (Instagram's own captions have no word timings).
- `onScreenText` samples 4 frames, so text shown only briefly can be missed.
- No login, no cookies: Instagram's own captions aren't used for pasted URLs.

### Feedback

Found a bug or a reel that should have worked? Open an issue on the Issues tab with the reel URL and we'll fix it. If the actor saved you time, a short review helps other people find it.

# Actor input Schema

## `urls` (type: `array`):

Instagram reel/post URLs (/reel/, /reels/, /p/, /tv/) or bare shortcodes. Tracking params are stripped and duplicates are charged once. Provide urls, items or datasetId (any combination).

## `usernames` (type: `array`):

Usernames (@handle, handle) or profile URLs. Transcribes each profile's latest reels and videos; no separate scraper needed. Private or missing profiles come back as one free row each. Up to 50 per run.

## `reelsPerProfile` (type: `integer`):

How many of each profile's most recent videos to transcribe (pinned posts included).

## `sounds` (type: `array`):

Instagram audio page URLs (instagram.com/reels/audio/<id>/) or audio ids: transcribes reels that use this sound. Every transcribed row carries music.audioId, so you can chain from any reel to its sound. Up to 50 per run.

## `reelsPerSound` (type: `integer`):

How many reels to take from each sound page (12 per Instagram request).

## `topics` (type: `array`):

Instagram popular-topic pages (instagram.com/popular/<topic>/), e.g. "andrew huberman". Up to 24 top reels each. Works mostly for people, brands and shows; generic keywords and hashtags usually have no logged-out page and return a free NOT_FOUND row. Up to 50 per run.

## `reelsPerTopic` (type: `integer`):

How many reels to take from each topic page (Instagram returns at most 24).

## `newerThan` (type: `string`):

Skip reels posted before this date (YYYY-MM-DD or ISO). Applies to every input: profile listings are cut before transcription, URL/dataset reels are skipped free once their post date is known. Combine with onlyNew to never pay twice.

## `datasetId` (type: `string`):

ID or name of a dataset from any Instagram scraper. Items with url, inputUrl, shortCode, videoUrl or videoUrlHd are picked up automatically and all their fields are passed through. Declared as a dataset resource so it works under limited permissions.

## `items` (type: `array`):

Upstream scraper rows passed directly (Make, n8n, AI agents), e.g. \[{"url": "https://www.instagram.com/reel/ABC/", "likesCount": 10}] or \[{"videoUrl": "https://scontent.cdninstagram.com/...mp4"}] (Instagram CDN links only; others are re-resolved from the reel URL or rejected). Same field detection and passthrough as datasetId. Plain URL strings also work.

## `datasetField` (type: `string`):

Override which field of the dataset/items rows holds the reel URL or shortcode.

## `estimateOnly` (type: `boolean`):

Return a price quote instead of transcribing: one row with status=estimate, reel count, minutes of audio and the maximum cost. Only the $0.002 run start is charged. Useful for agents that confirm cost before running.

## `translateToEnglish` (type: `boolean`):

Shortcut for targetLanguage=en: adds textEnglish/textTranslated (and segmentsEnglish) for non-English reels. Same price.

## `targetLanguage` (type: `string`):

ISO-639-1 code of any language, e.g. en, es, de, ja, hi. Adds textTranslated, translatedTo and translatedFrom (segmentsTranslated with includeSegments). Same price. Overrides translateToEnglish.

## `wordTimestamps` (type: `boolean`):

Adds words: \[{start, end, word}] in seconds for karaoke captions, clipping and search. Always transcribes the audio (Instagram's own captions have no word timings). Same price.

## `vocabulary` (type: `array`):

Brand names, products, jargon and people's names to spell correctly, e.g. \["Ozempic", "HIIT", "Gymshark"]. Fed to Whisper as a glossary. Same price.

## `accuracy` (type: `string`):

fast = Whisper large-v3 turbo (included). best = full Whisper large-v3, better on accents, noisy audio and rare words; +$0.002 per transcribed reel, charged only when it ran. Covers reels up to 2 min; longer reels are transcribed with fast, not charged the best fee, and flagged accuracyDowngraded=true.

## `analysis` (type: `array`):

Adds analysis: {summary, hook, cta, structure, keywords, topics, sentiment, chapters} (only the kinds you pick) from one LLM pass over the transcript. +$0.002 per transcribed reel, charged only when the analysis succeeded. viralScore is always included on transcribed rows.

## `includeMediaUrls` (type: `boolean`):

Adds videoUrl and audioUrl (fresh Instagram CDN links; they expire at mediaUrlsExpireAt, usually within a day). No extra charge; transcribed (ok) rows only.

## `includeComments` (type: `integer`):

Adds comments: the N newest comments (max 20) \[{text, username, createdAt, likeCount, replyCount}]. No extra charge; transcribed (ok) rows only. Newest first (logged-out Instagram can't rank by likes).

## `includeSegments` (type: `boolean`):

Adds segments: \[{start, end, text}] in seconds (and segmentsEnglish when translating). Off by default for API/MCP calls to keep rows small; the Console form turns it on. SRT/VTT and hook work either way.

## `subtitleFormat` (type: `string`):

Also return ready-to-use subtitle files as text fields.

## `includeOnScreenText` (type: `boolean`):

Adds onScreenText: burned-in titles, captions and labels read from 4 frames of the video. Works on music-only reels too. No extra charge; null if it couldn't be read.

## `language` (type: `string`):

ISO-639-1 code such as en, es, pt. Leave empty to auto-detect.

## `maxReels` (type: `integer`):

Stop after this many unique reels. 0 = no limit. The run also stops cleanly at your max-charge-per-run limit.

## `concurrency` (type: `integer`):

Reels processed in parallel.

## `useNativeCaptions` (type: `boolean`):

If an upstream dataset item already carries Instagram's caption file (video_subtitles_uri), use it instead of speech recognition. Falls back to speech recognition otherwise.

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

For scheduled runs: skip reels this account already got a final result for (ok or permanently unavailable), so you're never charged twice. History is kept in a named key-value store in your own account (ig-reels-transcript-history).

## `historyKey` (type: `string`):

Separate histories for separate monitors, e.g. one per client. Default: one shared history.

## `minViews` (type: `integer`):

Skip reels with fewer views. Free: filtered reels return status=skipped, errorCode=FILTERED and are never charged. Reels whose view count Instagram hides are kept.

## `minLikes` (type: `integer`):

Skip reels with fewer likes (free, status=skipped). Reels with hidden likes are kept.

## `maxDurationSec` (type: `integer`):

Skip reels longer than this, before any transcription spend (free, status=skipped). 0 = no limit.

## `strictFilters` (type: `boolean`):

Logged-out Instagram sometimes hides view/like counts. Off (default): such reels pass minViews/minLikes/maxDurationSec/newerThan and carry filtersNotApplied naming the unchecked filters. On: they're skipped as free FILTERED rows instead.

## Actor input object example

```json
{
  "urls": [
    "https://www.instagram.com/reel/DZn_a_tsZDj/"
  ],
  "usernames": [
    "natgeo",
    "@hubermanlab"
  ],
  "reelsPerProfile": 12,
  "sounds": [
    "https://www.instagram.com/reels/audio/1957736051613126/"
  ],
  "reelsPerSound": 12,
  "topics": [
    "andrew huberman"
  ],
  "reelsPerTopic": 24,
  "items": [
    {
      "url": "https://www.instagram.com/reel/DZn_a_tsZDj/"
    }
  ],
  "estimateOnly": false,
  "translateToEnglish": false,
  "targetLanguage": "es",
  "wordTimestamps": false,
  "vocabulary": [
    "Ozempic",
    "HIIT",
    "Gymshark"
  ],
  "accuracy": "fast",
  "analysis": [
    "summary",
    "hook",
    "cta"
  ],
  "includeMediaUrls": false,
  "includeComments": 0,
  "includeSegments": true,
  "subtitleFormat": "none",
  "includeOnScreenText": false,
  "language": "es",
  "maxReels": 0,
  "concurrency": 10,
  "useNativeCaptions": true,
  "onlyNew": false,
  "historyKey": "client-acme",
  "minViews": 10000,
  "minLikes": 500,
  "maxDurationSec": 90,
  "strictFilters": false
}
```

# Actor output Schema

## `transcripts` (type: `string`):

One item per unique reel. Key fields: url, inputUrl, status (ok|no_speech|unavailable|not_video|expired|blocked|error), text, detectedLanguage, durationSec, hook, wordCount, charged, retryable, errorCode, error, qualityFlags. status=ok rows are charged per reel; no_speech (music-only) rows at the music-only price (2 min included, then per minute); all other rows are free. Use fields=url,status,text for a compact read.

## `subtitles` (type: `string`):

srt and vtt fields per reel when subtitleFormat is srt, vtt or both.

## `segments` (type: `string`):

One row per spoken segment (url, start, end, text) when includeSegments is true.

## `errors` (type: `string`):

Per reel: status, errorCode, retryable, charged, error. Rows with charged=false were free.

## `summary` (type: `string`):

Counts by status and errorCode, retryable count, quality-flag counts, billed minutes, total chargedUsd, a one-line tip on what to do next, and stoppedBy/notStarted/stopReason when the run ended early (unstarted reels are never charged).

## `diagnostics` (type: `string`):

Technical run diagnostics (Instagram lookup tiers, caption lookups). Not needed for normal use.

# 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 = {
    "urls": [
        "https://www.instagram.com/reel/DZn_a_tsZDj/"
    ],
    "usernames": [],
    "includeSegments": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("verbatim-labs/instagram-reels-transcript").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 = {
    "urls": ["https://www.instagram.com/reel/DZn_a_tsZDj/"],
    "usernames": [],
    "includeSegments": True,
}

# Run the Actor and wait for it to finish
run = client.actor("verbatim-labs/instagram-reels-transcript").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 '{
  "urls": [
    "https://www.instagram.com/reel/DZn_a_tsZDj/"
  ],
  "usernames": [],
  "includeSegments": true
}' |
apify call verbatim-labs/instagram-reels-transcript --silent --output-dataset

```

## MCP server setup

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

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/pnIJD9irbFeYeZli5/builds/O4YWwaEgx011xJXb0/openapi.json
