# Instagram Reels Transcript Scraper: Reels to Text, $3.99/1K (`laptime/instagram-reels-transcript-scraper`) Actor

$3.99/1K reels, 3 min of audio included, no start fee. 2 reels in 3.5 s. No login. Paste reel links, a profile or a dataset: transcript with timestamps, SRT/VTT, the hook, optional on-screen text. Songs return free lyrics rows. For content research and repurposing.

- **URL**: https://apify.com/laptime/instagram-reels-transcript-scraper.md
- **Developed by:** [Laptime](https://apify.com/laptime) (community)
- **Categories:** Social media, Videos, Agents
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.79 / 1,000 transcript (speech-to-text)s

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 Transcript Scraper** turns Instagram reels into text: paste reel links, a creator's profile or another Actor's dataset, click **Start**, and export every reel's transcript, timestamps, SRT/VTT, the opening hook and (optionally) the text shown on screen. No login.

[![How to use Instagram Reels Transcript Scraper without coding: paste reel links or @profiles, click Start, export to Excel](https://raw.githubusercontent.com/laptimehq/laptime-assets/main/howto/instagram-reels-transcript-scraper-steps.jpg)](https://raw.githubusercontent.com/laptimehq/laptime-assets/main/howto/instagram-reels-transcript-scraper-steps.jpg)

1. Click **Try for free** at the top of this page (a free Apify account includes $5 of credit every month).
2. In **Instagram reels or profiles**, paste reel links or profiles, one per line, for example `https://www.instagram.com/natgeo/`.
3. Click **Start**. 10 reels take about 5 seconds.
4. Open the **Output** tab and click **Export** → **Excel** or CSV.

> 💰 **$3.99 per 1,000 reels** with 3 minutes of audio included, no start fee. Songs, music-only, private and failed reels are free. Example: a creator's 100 latest reels ≈ **$0.40**; the free plan covers about 1,250 reels a month.
>
> ⚡ **Up to 25× faster:** 2 reels transcribed in 3.5 s total run time, where tubetext's reels transcript Actor took 87 s and steadyfetch's 7.6 s on 2 reels (18–19 Nov 2026, [benchmarks](#benchmarks)).
>
> 🎵 **Songs come back as free `lyrics` rows**, music-only reels as free `no_speech` rows: you pay for speech only. 🔤 **On-screen text** (captions, titles, stickers) for $0.0018 per reel with text. 📦 **Transcribe another scraper's output:** pass its dataset as `datasetId`.

![Instagram Reels Transcript Scraper results in Apify: Instagram reel transcripts with status, author, language, duration, word count and text](https://raw.githubusercontent.com/laptimehq/laptime-assets/main/howto/instagram-reels-transcript-scraper-output.jpg)

| Reel | Hook (first 3 s) | Transcript | On-screen text |
|---|---|---|---|
| [natgeo/DehZj9wggt0](https://www.instagram.com/reel/DehZj9wggt0/) | Hudson Bay. For a wolf, there are dangers everywhere. | Hudson Bay. For a wolf, there are dangers everywhere. But their greatest challenge is finding enough food… (57 words) | NATIONAL GEOGRAPHIC WOLVES UP CLOSE WITH BERTIE GREGORY / Disney+ hulu / … |

**Common mistakes**

- You get only 10 reels of a profile → raise **Max reels per profile** (newest first, pinned reels first, as on Instagram).
- A reel came back as `lyrics` or `no_speech` → its audio is a song or music only. You still get the song text in `lyrics` (and the on-screen text if you turned it on), and the transcript isn't charged.
- Story, highlight or hashtag links → not supported (you get a free error row). Paste reel links (`/reel/…`, `/p/…`), profiles, or a dataset from a hashtag scraper as `datasetId`.

**Questions or problems?** [Open an issue](https://apify.com/laptime/instagram-reels-transcript-scraper/issues/open) (we read every one and usually answer within a few hours). **Need a custom version** (extra fields, another site, a private build)? Ask in an issue: we can build it as a private Actor on Apify.

### What is Instagram Reels Transcript Scraper?

**Instagram Reels Transcript Scraper** turns Instagram reels into text: the full transcript, timestamped segments, SRT/VTT subtitles, the spoken language, the first 3 seconds (the hook), the caption, author and date, plus the on-screen text when you turn it on. No Instagram login, cookies or API key.

Instagram reels carry no caption files, so every transcript comes from our **Whisper speech-to-text**, with the first 3 minutes of audio included in the price.

- ✍️ **Repurpose reels:** scripts, captions, blog posts and newsletters from what was actually said.
- 🔍 **Study what works:** pull a creator's latest reels and read their hooks, scripts and on-screen text side by side.
- 🤖 **Feed AI agents and RAG:** clean text plus timed segments, one row per reel, and a [one-call HTTP API](#one-http-call-per-reel-standby-api).
- 📈 **Watch competitors:** schedule a profile with only-new monitoring and get each new reel's script; a run with nothing new costs $0.

### How does it compare?

Free-plan list prices and our own measured runs, 19 Nov 2026:

| | **Laptime** | tubetext | steadyfetch | sian.agency |
|---|---|---|---|---|
| 1,000 reel transcripts | **$3.99** | $6.00 ($10.00 from 27 Nov 2026) | $15.00 | $28.00 + start fee |
| 2 reels, total run time | **3.5 s** | 87 s | 7.6 s | |
| On-screen text, per reel with text | **$0.0018** | $0.002 | $0.015 (silent reels, charged as a transcript) | |

### What data do you get?

| | | |
|---|---|---|
| 📝 Full transcript text | ⏱️ Timed segments (start, end, text) | 🎬 SRT and WebVTT subtitles |
| 🌍 Spoken language | 🪝 The hook: what is said in the first 3 seconds | 🔤 On-screen text (optional) |
| 🎵 Song lyrics (free `lyrics` rows) | 💬 Reel caption (post text) | 👤 Author and profile link |
| 📅 Publish date, likes, comments | ⏳ Duration | 🤖 Optional AI summary and key points |

The **hook** (`hook`) is what is said in the first 3 seconds: the Whisper segments that start before 3 s, usually the opening sentence. It's on every transcript row and in the **Hooks and on-screen text** view.

### Use cases with copy-paste inputs

#### A creator's latest 30 reels as scripts

```json
{ "startUrls": ["https://www.instagram.com/nasa/"], "maxVideosPerChannel": 30 }
```

#### Hooks and on-screen text swipe file

```json
{ "startUrls": ["https://www.instagram.com/natgeo/"], "maxVideosPerChannel": 20, "includeOnScreenText": true }
```

Open the **Hooks and on-screen text** view: author, spoken hook, on-screen text and lyrics side by side.

#### Reels you already scraped with another Actor

```json
{ "datasetId": "<dataset ID of an apify/instagram-scraper or laptime/instagram-reels-scraper run>", "datasetSortBy": "views", "maxVideosFromDataset": 50 }
```

The reel links in that dataset (`url`, `shortCode` or `videoUrl`) are transcribed, most viewed first. Photo rows are skipped. Under Apify's limited permissions the Actor asks for read access to that one dataset only.

#### New reels only, every day

```json
{ "startUrls": ["https://www.instagram.com/nasa/"], "maxVideosPerChannel": 12, "onlyNew": true, "monitorName": "nasa-reels" }
```

Schedule it as a task: each run delivers (and charges) only reels you have not received yet. **Monthly cost example:** 20 creators posting one reel a day ≈ 600 reels a month ≈ **$2.40/month**.

#### Subtitles for a batch of reels

```json
{ "startUrls": ["https://www.instagram.com/reel/DehZj9wggt0/"], "includeSrt": true, "includeVtt": true }
```

#### Reel scripts with an AI summary

```json
{ "startUrls": ["https://www.instagram.com/nasa/"], "maxVideosPerChannel": 10, "aiSummary": true }
```

### How much does it cost?

| Event | Price | When |
|---|---|---|
| `speech-transcript` | **$3.99 / 1,000** | a reel transcribed from its audio, first 3 minutes included |
| `speech-minute` | **$0.002** | each started minute after the first 3 (long videos) |
| `on-screen-text` | **$0.0018** | only with **On-screen text** on, and only for reels where text was found |
| `ai-summary` | **$0.005** | only when you turn the AI summary on |

Lower prices on paid Apify plans (speech transcripts down to $2.79 per 1,000). Worked example: 500 one-minute reels from 10 creators = 500 × $0.00399 = **$2.00**; with on-screen text on, add about $0.90. Listing profiles, songs (`lyrics`), music-only reels (`no_speech`), private or removed reels and failures are free. No start fee.

With your own LLM key in **Your own LLM API key**, on-screen text and AI summaries are never charged. On the Apify free plan, on-screen text covers 100 reels per run on our AI.

**Works on the Apify free plan:** the $5 of monthly platform credit covers about 1,250 reels with this Actor, no card needed.

### On-screen text (OCR)

Turn on **On-screen text** (`includeOnScreenText`) and an AI vision model reads the reel's frames: burned-in captions, titles, text stickers and signs, one line each, in the order they appear, in `onScreenText`. It samples a frame every 1.5 seconds (spread wider on long reels, at most 12 frames), skips near-identical frames, and works on music-only reels too. It adds about 1 second to a 10-reel run, since it runs while the audio is transcribed. `onScreenTextStatus` says `ok` (text found, charged), `none` (no text, free), `skipped` or `failed` (free).

### One HTTP call per reel (Standby API)

```bash
curl "https://laptime--instagram-reels-transcript-scraper.apify.actor/?url=https://www.instagram.com/reel/DehZj9wggt0/&format=text" \
  -H "Authorization: Bearer $APIFY_TOKEN"
```

`format`: `json` (full row), `text`, `timestamped`, `srt` or `vtt`. Add `onScreenText=true` for the on-screen text, `summary=true` for an AI summary. A song returns its lyrics with `format=text`.

### Instagram transcripts in Python, JavaScript and AI agents

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("laptime/instagram-reels-transcript-scraper").call(run_input={"startUrls": ["https://www.instagram.com/nasa/"], "maxVideosPerChannel": 5})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["url"], row["hook"], (row["text"] or row["lyrics"] or row["statusReason"])[:200])
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('laptime/instagram-reels-transcript-scraper').call({ startUrls: ['https://www.instagram.com/reel/DehZj9wggt0/'] });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

One request that runs the Actor and returns the rows:

```bash
curl -X POST "https://api.apify.com/v2/acts/laptime~instagram-reels-transcript-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H 'Content-Type: application/json' -d '{"startUrls":["https://www.instagram.com/reel/DehZj9wggt0/"]}'
```

**MCP (Claude, ChatGPT, Cursor):** add `https://mcp.apify.com?tools=laptime/instagram-reels-transcript-scraper` and ask *"What does this reel say? <URL>"* or *"Give me the hooks of @natgeo's last 10 reels."* Claude Code:

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

Send the rows to Google Sheets, n8n, Make or Zapier through Apify's integrations, or to any URL with a webhook.

### Output

![Instagram Reels Transcript Scraper output: table of an Instagram reel transcript as timed segments with author, start and end seconds, spoken text and source](https://raw.githubusercontent.com/laptimehq/laptime-assets/main/screenshots/instagram-reels-transcript-scraper.png)

Real output (shortened) for `https://www.instagram.com/reel/DehZj9wggt0/` with on-screen text on:

```json
{
  "status": "ok",
  "chargedEvent": "speech-transcript",
  "platform": "instagram",
  "url": "https://www.instagram.com/reel/DehZj9wggt0/",
  "videoId": "DehZj9wggt0",
  "author": "natgeo",
  "publishedAt": "2026-10-15T19:00:02.000Z",
  "durationSeconds": 30.037333,
  "likeCount": 60087,
  "language": "en",
  "transcriptSource": "speech-to-text",
  "hook": "Hudson Bay. For a wolf, there are dangers everywhere.",
  "wordCount": 57,
  "text": "Hudson Bay. For a wolf, there are dangers everywhere. But their greatest challenge is finding enough food. It's moose hunting season for the wolves. Ready? Moos …",
  "onScreenText": "NATIONAL GEOGRAPHIC WOLVES UP CLOSE WITH BERTIE GREGORY\nDisney+ hulu\nHudson Bay. For a wolf, there are dangers everywhere\nbut their greatest challenge is finding enough food.\n…",
  "onScreenTextStatus": "ok",
  "lyrics": null,
  "segments": [{ "start": 0, "end": 4, "duration": 4, "text": "Hudson Bay. For a wolf, there are dangers everywhere." }]
}
```

A song reel (`DZMKe2HOT95`) comes back as `"status": "lyrics"`, `"lyrics": "But seeing you tonight, I remembered I loved you.\nCame back when it mattered, I saw you.\n…"` and `"statusReason": "the audio is a song (\"I Knew It, I Knew You\" by Taylor Swift), not speech: the song text is in \"lyrics\" (not charged)"`.

`status` is `ok` (transcript, charged), `lyrics` (a song: text in `lyrics`, free), `no_speech` (music only or silence, free), `private_or_removed`, `not_a_video` (photo post), `too_long`, `blocked`, `unsupported_url`, `speech_to_text_failed` or `error` (all free). Every row has the same fields (null when unknown).

### Benchmarks

Measured on Apify, total run time including start-up:

| Job | Time | Result |
|---|---|---|
| Default input: 1 reel, 3 runs (19 Nov 2026) | 2.7–3.4 s | 3/3 transcripts |
| Head-to-head: 2 reels (19 Nov 2026, one run each) | **3.5 s** | tubetext's reels transcript Actor took 87 s on the same 2 reels |
| Head-to-head: 2 reels (18 Nov 2026) | **3.2 s** | steadyfetch's Instagram reel transcript Actor took 7.6 s on the same reels |
| A profile's 10 latest reels (natgeo, 19 Nov 2026) | 5.5 s | 10 reels: 5 transcripts, 5 music-only (free) |
| Same 10 reels with on-screen text | 6.5 s | text found in 10 of 10 |
| A profile's 30 latest reels (natgeo, 19 Nov 2026) | 12.0 s | 30 reels: 16 transcripts, 14 music-only (free) |
| 5 song and music reels (19 Nov 2026) | 2.8 s | 1 transcript, 1 `lyrics`, 3 `no_speech`: 1 charge |

### Switch from another Instagram transcript Actor

Your old input works as is: `startUrls`, `urls`, `reelUrls`, `postUrls`, `directUrls`, `videoUrls` and `profileUrls` all take reel or profile links, and `instagramUsernames` (or `usernames`) takes bare names. `maxVideosPerSource` and `max_videos` set the reels per profile. `datasetId`, `datasetSortBy`, `maxVideosFromDataset` and `includeOnScreenText` keep their usual names.

### FAQ

#### Do I need an Instagram account?

No. It reads what Instagram shows a logged-out visitor: public reels and public profiles.

#### Why speech-to-text and not captions?

Instagram reels don't publish caption files, so every reel is transcribed from its audio with Whisper. Turn on **On-screen text** to also get the captions burned into the video.

#### Why did a reel come back as `lyrics` or `no_speech`?

`lyrics`: its audio is a song (for example a licensed track Instagram names, whose title is sung). You get the song text in `lyrics`, and the row isn't charged. `no_speech`: music only or silence; Whisper's stray words over music ("Thank you.", "I'm out.") are recognised and dropped. When it's unclear, the reel is treated as speech.

#### How many reels of a profile can I get?

Set **Max reels per profile**. The profile's reels tab is read newest first (pinned reels first, as on Instagram). For hashtags, run a hashtag scraper first and pass its dataset as `datasetId`.

#### Is it reliable?

A daily automated check runs the default input and alerts us when it returns nothing or a key field goes empty. It runs on the same engine as our [Video Transcript Scraper](https://apify.com/laptime/video-transcript-scraper). A reel that fails is retried on fresh IPs; anything that still fails is listed with its reason and costs nothing.

#### Is it legal to scrape Instagram reel transcripts?

It reads public reels only. Transcripts may be copyrighted by their creators: use them for analysis, research and accessibility, and check Instagram's terms and your local law before republishing.

### Related Actors

The same engine, with a form made for one job:

- [Video Transcript Scraper](https://apify.com/laptime/video-transcript-scraper): transcripts of YouTube, TikTok, Instagram, Facebook and X videos, from $1.99/1K.
- [YouTube Transcript Scraper](https://apify.com/laptime/youtube-transcript-scraper): YouTube subtitles with timestamps, chapters and SRT, from $1.99/1K.
- [TikTok Transcript Scraper](https://apify.com/laptime/tiktok-transcript-scraper): TikTok captions or speech-to-text from links or profiles, from $1.99/1K.

Other Laptime scrapers that pair well with this one, all with no start fee:

- [Instagram Reels Scraper](https://apify.com/laptime/instagram-reels-scraper): a profile's reels with views, dates and video links, $1.20/1K. Pass its dataset here as `datasetId`.
- [Facebook Reels Scraper](https://apify.com/laptime/facebook-reels-scraper): reels and videos with exact views and reactions, $1.99/1K.
- [Bilibili Transcript Scraper](https://apify.com/laptime/bilibili-transcript-scraper): speech-to-text transcripts of videos, $2/1K minutes.

### Feedback and support

Open an issue on the **Issues** tab: we answer within a day. YouTube, TikTok, Facebook or X: [Video Transcript Scraper](https://apify.com/laptime/video-transcript-scraper).

If Instagram Reels Transcript Scraper saved you time, a short review on the **Reviews** tab helps other people find it. We read every one, thank you!

# Changelog

This Actor's version history is a separate document: https://apify.com/laptime/instagram-reels-transcript-scraper/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

One per line: reel or video-post links (instagram.com/reel/…, /p/…, /tv/…) or profiles (instagram.com/nasa, or just the username: nasa or @nasa): a profile expands to its latest reels, newest first (see Max reels per profile). Instagram reels have no caption files, so the text comes from our speech-to-text.

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

Also read the text shown in the reel (burned-in captions, titles, text stickers, signs) with an AI vision model: "onScreenText", one line each, in order. Works on music-only reels too. Adds a few seconds per reel. Charged $0.0018 per reel where text is found (on-screen-text event); free with your own key; Apify free plan: 100 reels per run.

## `maxSpeechMinutes` (type: `integer`):

Longest reel to transcribe; longer reels return a free "too_long" row. The first 3 minutes of audio are included in the $3.99 per 1,000 price; each further started minute costs $0.002 (speech-minute). Default 60.

## `maxVideosPerChannel` (type: `integer`):

For profile URLs: how many of the latest reels to transcribe. Default 10. Listing a profile is free; each transcript is charged as usual.

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

Skip reels that an earlier run with the same monitor name already delivered. Schedule a profile with this on to receive (and pay for) only new reels; a run with nothing new costs $0.

## `monitorName` (type: `string`):

Optional. Name of the only-new memory, e.g. "mkbhd-daily"; runs with the same name share it. Letters, digits and dashes.

## `maxVideos` (type: `integer`):

Safety cap on the number of reels one run processes, after profiles and the dataset are expanded. Default 1,000.

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

Already scraping Instagram? Pick a dataset (or paste its ID) from another Actor run, e.g. apify/instagram-scraper or laptime/instagram-reels-scraper: the reel links in it (fields url, shortCode or videoUrl) are transcribed. Photo rows are skipped. Read-only access to this one dataset is requested.

## `datasetSortBy` (type: `string`):

When the dataset has more reels than "Max reels from the dataset": none = the dataset's own order, views = most played first (videoPlayCount, playCount, videoViewCount), likes = most liked, comments = most commented, newest = most recent first (timestamp).

## `maxVideosFromDataset` (type: `integer`):

How many reel links to take from the dataset. Each is charged like a reel link in "startUrls".

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

On (default): add "segments", a list of {start, end, duration, text} in seconds, for each caption line.

## `includeTimestampedText` (type: `boolean`):

Add "timestampedText": one "\[mm:ss] text" line per caption, easy to quote in an LLM prompt. Off by default.

## `includeSrt` (type: `boolean`):

Add the transcript as an SRT subtitle file in "srt". Off by default.

## `includeVtt` (type: `boolean`):

Add the transcript as a WebVTT subtitle file in "vtt". Off by default.

## `includeDescription` (type: `boolean`):

Include the reel caption (the post text) in "description". Turn off for smaller rows.

## `aiSummary` (type: `boolean`):

Add "aiSummary" (2-4 sentences) and "aiKeyPoints" (3-7 takeaways) to each transcript, written by Claude Haiku. Off by default. $0.005 per summary on our model; free with your own key. Apify free plan: 10 summaries per run.

## `aiSummaryLanguage` (type: `string`):

Optional. ISO code of the summary language, e.g. "en". Empty = the transcript's language.

## `aiApiKey` (type: `string`):

Optional. Your OpenRouter (sk-or-…), OpenAI, Anthropic (sk-ant-…) or Gemini (AIza…) key. With your own key, AI summaries and on-screen text are not charged. Empty = our hosted models.

## `aiModel` (type: `string`):

Optional. Model id for your own key or endpoint, e.g. "gpt-4.1-mini". Empty = a sensible default for the key type.

## `aiBaseUrl` (type: `string`):

Optional. Base URL of an OpenAI-compatible API (a local Ollama or vLLM server reachable from Apify), used with your own key and model; not charged.

## `maxConcurrency` (type: `integer`):

How many videos are processed at the same time. Default 10.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.instagram.com/reel/DehZj9wggt0/",
    "https://www.instagram.com/nasa/"
  ],
  "includeOnScreenText": false,
  "maxSpeechMinutes": 60,
  "maxVideosPerChannel": 10,
  "onlyNew": false,
  "maxVideos": 1000,
  "datasetSortBy": "none",
  "maxVideosFromDataset": 100,
  "includeSegments": true,
  "includeTimestampedText": false,
  "includeSrt": false,
  "includeVtt": false,
  "includeDescription": true,
  "aiSummary": false,
  "maxConcurrency": 10
}
```

# Actor output Schema

## `results` (type: `string`):

Every row, one per video.

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

The Transcripts view: status, title, author, language and text.

## `runStats` (type: `string`):

RUN_STATS: transcripts by source and status, charges, timings, proxy and speech-to-text usage.

# 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 = {
    "startUrls": [
        "https://www.instagram.com/reel/DehZj9wggt0/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("laptime/instagram-reels-transcript-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 = { "startUrls": ["https://www.instagram.com/reel/DehZj9wggt0/"] }

# Run the Actor and wait for it to finish
run = client.actor("laptime/instagram-reels-transcript-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 '{
  "startUrls": [
    "https://www.instagram.com/reel/DehZj9wggt0/"
  ]
}' |
apify call laptime/instagram-reels-transcript-scraper --silent --output-dataset

```

## MCP server setup

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