# Instagram Reels to Text — Spoken Script and Opening Line (`blitzdata/instagram-reels-to-text`) Actor

Turn Instagram Reels into text from the link alone: the spoken script, its opening line as a hook, timed segments and SRT/WebVTT. No cookies or login. Reels without speech cost nothing. $0.005 per audio minute, proxy included.

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

## Pricing

$5.00 / 1,000 audio minutes

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 to Text

You found a Reel that works and want to know exactly what the creator says, in what order, and how the first three seconds are phrased. This Actor takes the Reel link and hands back the **script**: the whole spoken text in one block, plus the opening line pulled out as its own field.

The opening line is not written by a language model. It is the first sentence the speech recogniser heard, cut at the word timings, so it is what the viewer actually hears in second one.

### What you get

- **Opening line as a column**: the first spoken sentence sits in `hook`, ready to paste into a swipe file or a spreadsheet
- **Plain script**: one clean block of text without timestamps, which is what you want when you rewrite or translate by hand
- **Markdown version**: add `markdown` to the output formats for a script you can drop into a note or a doc
- **Timed segments and SRT/WebVTT** when you do want to put the words back on screen
- **Silent Reels are free**: a voice-activity check runs first, so a Reel with only music returns an empty script and no charge

### How to use Instagram Reels to Text

1. Open [Instagram Reels to Text](https://apify.com/blitzdata/instagram-reels-to-text) on Apify and click **Try for free**.
2. Fill in **Instagram Reel URLs**.
3. Adjust the optional settings you need: **Add hook**, **Output formats**, **Language**, **Max audio length (seconds)**.
4. Click **Start**. One dataset row per item appears while the run progresses.
5. Export the dataset as JSON, CSV or Excel, or read it through the API, the Python or JavaScript client, or the MCP server (see the **API** tab).

The same input works as a JSON body through the API:

```json
{
  "urls": [
    "https://www.instagram.com/nasa/reel/CvNoLm8Ouaa/"
  ],
  "include_hook": true,
  "output_formats": [
    "text",
    "markdown"
  ]
}
```

### Input

| Field | Type | Default | Meaning |
|---|---|---|---|
| `urls` | array | — | Instagram Reel links, one per line (https://www.instagram.com/<user>/reel/<id>/). A failed link gives an error row and is not charged. (required) |
| `include_hook` | boolean | `true` | Also return the opening sentence of the speech as 'hook', taken from the word timings. Nothing is generated or invented. |
| `output_formats` | array | — | Which text formats to put in every row, one per line: text, segments, srt, vtt, markdown. Leave empty for all of them. Fewer formats make smaller rows. |
| `language` | string | `"auto"` | ISO code of the spoken language (en, nl, es, ...), or 'auto' to detect it. Giving the code is more accurate when you know it. The row reports which one was used in 'language_source'. |
| `max_duration_seconds` | integer | `7200` | Skip anything longer than this, so one long upload cannot run up the bill. The default is 2 hours (7200); 4 hours (14400) is the most one item can be; longer items are always refused. Skipped items return an error row and are not charged. |

### Output

One dataset row per item. A failed item gets a row with `error` set and is not charged; the rest of the run continues.

A Reel with the opening line switched on, shortened:

```json
{
  "url": "https://www.instagram.com/nasa/reel/CvNoLm8Ouaa/",
  "platform": "Instagram",
  "video_id": "CvNoLm8Ouaa",
  "title": "Video by nasa",
  "uploader": "NASA",
  "upload_date": "20230727",
  "like_count": 395685,
  "text": "It's a new era of pioneers, star sailors, thinkers, and adventurers. One, zero, all engines running. Let's go. We have been given the scientific knowledge the technical ability and the material to pursue the exploration of the universe.",
  "hook": "It's a new era of pioneers, star sailors, thinkers, and adventurers.",
  "language": "en",
  "duration_seconds": 51.14,
  "speech_seconds": 17.65,
  "segments": [
    {
      "start": 0.8,
      "end": 6.43,
      "text": "It's a new era of pioneers, star sailors, thinkers, and"
    },
    {
      "start": 6.79,
      "end": 7.81,
      "text": "adventurers."
    }
  ],
  "billed_audio_minutes": 1,
  "error": null
}
```

### Pricing

| Event | Price | Charged when |
|---|---|---|
| Audio minute | $0.005 | Each started minute of audio that contains speech, counted per video. Clips without speech and failed links are free. |

A 45-second Reel costs $0.005. A hundred of them cost about $0.50.

### Use cases

- **Swipe files**: collect the openings of the best Reels in your niche and study how they start
- **Script reuse**: lift a talking-head Reel you made last year into a blog post or newsletter
- **Competitor teardown**: read how a rival structures a 30-second pitch, line by line
- **Pitch decks for clients**: attach the exact spoken words of a campaign Reel to a report

### FAQ

**Is the opening line written by an AI?**
No. It is the first sentence of the transcript, cut where the speech recogniser placed the sentence end. Nothing is paraphrased or invented.

**Does it also give me the Reel's caption?**
The row carries the post title as Instagram exposes it, which is often just 'Video by <user>'. This Actor focuses on what is spoken.

**Can I feed it a whole profile?**
No. Instagram does not list a profile's Reels to logged-out visitors, so paste the Reel links you want.

**Do you summarise or translate the script?**
No. You get the spoken words in the language they were said in. Summaries and translation are not part of this Actor.

### Is it legal?

This Actor reads publicly available media and turns speech into text. It does not bypass logins and does not access private content. The audio is deleted from our side after transcription and is not used by us for training. Speech recognition is done by Deepgram, a sub-processor: the audio is sent to Deepgram's API for processing under Deepgram's terms, with the Model Improvement Program opt-out set on every request, so Deepgram does not keep it for model training. You are responsible for using the output in line with the platforms' terms, copyright and the privacy law that applies to you, in particular when transcripts contain personal data.

### Support

Something wrong, a platform that stopped working, a field you need? Open an issue on the **Issues** tab of this Actor and it will be looked at.

# Actor input Schema

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

Instagram Reel links, one per line (https://www.instagram.com/<user>/reel/<id>/). A failed link gives an error row and is not charged.

## `include_hook` (type: `boolean`):

Also return the opening sentence of the speech as 'hook', taken from the word timings. Nothing is generated or invented.

## `output_formats` (type: `array`):

Which text formats to put in every row, one per line: text, segments, srt, vtt, markdown. Leave empty for all of them. Fewer formats make smaller rows.

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

ISO code of the spoken language (en, nl, es, ...), or 'auto' to detect it. Giving the code is more accurate when you know it. The row reports which one was used in 'language_source'.

## `max_duration_seconds` (type: `integer`):

Skip anything longer than this, so one long upload cannot run up the bill. The default is 2 hours (7200); 4 hours (14400) is the most one item can be; longer items are always refused. Skipped items return an error row and are not charged.

## Actor input object example

```json
{
  "urls": [
    "https://www.instagram.com/nasa/reel/CvNoLm8Ouaa/"
  ],
  "include_hook": true,
  "output_formats": [
    "text",
    "markdown"
  ],
  "language": "auto",
  "max_duration_seconds": 7200
}
```

# Actor output Schema

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

One row per item: text, timed segments, SRT and WebVTT, plus source metadata and what was billed (unit and quantity). Which columns appear depends on the Actor.

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

How many URLs were given, how many videos were found after expanding any profiles, and how many succeeded.

# 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/nasa/reel/CvNoLm8Ouaa/"
    ],
    "include_hook": true,
    "output_formats": [
        "text",
        "markdown"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("blitzdata/instagram-reels-to-text").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/nasa/reel/CvNoLm8Ouaa/"],
    "include_hook": True,
    "output_formats": [
        "text",
        "markdown",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("blitzdata/instagram-reels-to-text").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/nasa/reel/CvNoLm8Ouaa/"
  ],
  "include_hook": true,
  "output_formats": [
    "text",
    "markdown"
  ]
}' |
apify call blitzdata/instagram-reels-to-text --silent --output-dataset

```

## MCP server setup

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

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/EQMb0cigojfrBEcqM/builds/qgsrJSZHpL5YIrVTP/openapi.json
