# Instagram Reel Transcript Scraper (AI Whisper, Word Timestamps) (`steadfetch/instagram-reel-transcript-scraper`) Actor

Return AI transcripts of public Instagram reels and posts as typed JSON: transcript, detected language, word-level timestamps, sentence segments, SRT and VTT subtitles, caption, hashtags, owner, likes, views and comments. No login and no account cookies; a typed schema validates every result.

- **URL**: https://apify.com/steadfetch/instagram-reel-transcript-scraper.md
- **Developed by:** [Steadfetch](https://apify.com/steadfetch) (community)
- **Categories:** AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 result delivereds

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 Reel Transcript Scraper (AI Whisper, Word Timestamps)

Returns AI speech transcripts of **public** Instagram reels and posts as typed JSON: the full transcript, the detected language, word-level timestamps, sentence segments, SRT and WebVTT subtitles (stored in the run's key-value store), plus the public post metadata (caption, hashtags, mentions, owner, likes, views, comments, duration, music attribution).

Speech recognition runs **inside the Actor** (Whisper via ONNX Runtime, CPU), so nothing is sent to third-party transcription services. The Actor works only with **public content, without login and without account cookies**  -  the same pages an anonymous browser can open.

### What it does

For every public reel/post URL (or every public reel of a channel profile, capped):

1. Reads Instagram's public embed data for the post (metadata + signed media URL).
2. Downloads the video from Instagram's CDN and extracts 16 kHz mono audio with ffmpeg.
3. Detects the spoken language (or uses your forced `language`) and transcribes it with Whisper (`base` by default; `tiny` optional).
4. Pushes one typed dataset item per reel and writes `srt-<shortcode>.srt` / `vtt-<shortcode>.vtt` to the key-value store.

Robustness by design: reels without clear speech, image posts, too-long videos or removed content come back as a **normal result with a `status` and a reason** (never a failed run, never a fake transcript).

### Minimum input

```json
{
  "instagramUrl": "https://www.instagram.com/p/DS46KJNjva9/",
  "wordLevelTimestamps": true
}
```

With every field omitted, the schema prefills transcribe the example reel above (one result). Other inputs: `bulkUrls` (list of reel/post URLs) and `channelUsername` + `reelCount` (default 12, hard cap 100  -  a run never silently transcribes a whole profile) with optional `onlyPostsNewerThan` (ISO date).

### Example output

```json
{
  "url": "https://www.instagram.com/p/DS46KJNjva9/",
  "title": "2026 mindset  It's simple really...",
  "scrapedAt": "2026-11-24T09:00:00.000Z",
  "shortCode": "DS46KJNjva9",
  "status": "transcribed",
  "statusReason": null,
  "transcript": "One of my favorite quotes is: you don't have to be great to start, but you have to start to be great.",
  "language": "en",
  "asrModel": "base",
  "wordTimestamps": true,
  "segments": [{ "start": 0.06, "end": 4.2, "text": "One of my favorite quotes..." }],
  "words": [{ "word": "One", "start": 0.06, "end": 0.22 }],
  "caption": "2026 mindset  ... #mindset",
  "hashtags": ["mindset"],
  "mentions": [],
  "ownerUsername": "jayshetty",
  "isVerified": true,
  "likesCount": 50752,
  "videoViewCount": 440319,
  "commentsCount": 342,
  "reshareCount": null,
  "videoDuration": 8.808,
  "musicArtist": "jayshetty",
  "musicSong": "Original audio",
  "postedAt": null,
  "thumbnailUrl": "https://scontent.cdninstagram.com/...",
  "srtKey": "srt-DS46KJNjva9.srt",
  "vttKey": "vtt-DS46KJNjva9.vtt"
}
```

#### Output fields

| Field | Meaning |
| --- | --- |
| `url`, `title`, `scrapedAt` | Source URL, caption-based title, scrape timestamp |
| `shortCode` | Instagram shortcode of the post |
| `status` | `transcribed`, `no_speech`, `not_video`, `too_long`, `unavailable` or `transcription_failed` |
| `statusReason` | Reason whenever `status` is not `transcribed` |
| `transcript` | Full speech transcript (`null` when there is nothing to transcribe) |
| `language` | Detected (or forced) Whisper language code, e.g. `en`, `es` |
| `asrModel`, `wordTimestamps` | Whisper model used and whether word timestamps were produced |
| `segments` | Sentence-like segments: `{start, end, text}` (seconds) |
| `words` | Word-level timestamps: `{word, start, end}` when `wordLevelTimestamps=true` |
| `caption`, `hashtags`, `mentions` | Public caption text and its hashtags/mentions |
| `ownerUsername`, `isVerified`, `ownerFollowersCount` | Public owner data |
| `likesCount`, `videoViewCount`, `commentsCount`, `reshareCount` | Public counters (`null` when Instagram does not expose them) |
| `videoDuration`, `musicArtist`, `musicSong`, `postedAt`, `thumbnailUrl` | Public media metadata |
| `srtKey`, `vttKey` | Key-value store keys of the SRT/VTT subtitle files |

Subtitles are fetched from the run's key-value store, e.g. `GET /v2/key-value-stores/<store-id>/records/srt-<shortcode>.srt`.

### Pricing

Pay per event; nothing is charged per run up front:

- **`apify-actor-start`:** 0.00005 USD per run (Apify default, includes 5 s of free compute).
- **`apify-default-dataset-item`:** **0.01 USD per reel/post** (10 USD per 1,000 results)  -  charged for every result pushed to the dataset, including metadata-only results (`no_speech`, `not_video`, `too_long`, `unavailable`) when `includeMetadataOnly=true` (default). Set `includeMetadataOnly=false` to pay only for reels that actually produce a transcript. There is no separate transcription fee.

For comparison, the largest competing Instagram-transcript Actors charge 0.028 - 0.05 USD per reel plus a per-run start fee.

Works on the Apify free plan - about **499 results for the $5 monthly credit** (floor((5.00 - 0.00005) / 0.01)).

Compute note: transcription runs on CPU inside the Actor; the run's platform usage (compute) is billed to the account that runs it, as usual on Apify. `maxVideoDurationSeconds` (default 600) and `asrModel: tiny` keep long or heavy runs cheap.

### FAQ

**Does it need login, cookies or my account?** No. Only public pages that an anonymous browser can open. Private accounts, removed posts and login-walled content come back as `status: unavailable`.

**Which languages are supported?** Whisper's 99 languages; the spoken language is auto-detected per reel (or force it with `language`, e.g. `es`). Non-speech audio (pure music) returns `no_speech`.

**How accurate are the timestamps?** Word timestamps come from Whisper's cross-attention alignment; segments group words into sentences. On music-heavy intros the first words may drift slightly.

**Instagram blocked my run / `unavailable` results?** Public pages are served per IP reputation. If you see many `unavailable` results, set `proxyConfiguration` with Apify proxy (e.g. AUTO or RESIDENTIAL) in the input; the Actor already sends ordinary browser-like requests.

**Why is a reel returned without a transcript and still charged?** Every pushed result costs one result event. If you only want results with transcripts, set `includeMetadataOnly=false`.

**Is speaker diarization included?** No  -  segments are not speaker-labelled. Translation is not included either.

### Maintenance

Tested daily  -  this Actor runs every day against a public input as part of the Steadfetch QA, and its output schema is validated on every run. If a run fails, the fix lands before anything else gets built.

Model note: Whisper `tiny` and `base` (int8) are baked into the Docker image; runs do not download models. Term note: you are responsible for using this tool within Instagram's terms; the Actor only reads public pages without login.

# Actor input Schema

## `instagramUrl` (type: `string`):

One public Instagram reel or post URL to transcribe, e.g. https://www.instagram.com/reel/<code>/ or https://www.instagram.com/p/<code>/. Leave empty when you use bulkUrls or channelUsername.

## `bulkUrls` (type: `array`):

List of public Instagram reel/post URLs (strings or objects with a `url` field) to transcribe in this run. Share links (instagram.com/share/…) are followed to their public post.

## `channelUsername` (type: `string`):

Public Instagram profile username (with or without @). When set, the Actor transcribes that profile's public reels, capped by reelCount so a run never silently transcribes a whole profile.

## `reelCount` (type: `integer`):

Maximum number of the profile's public reels processed in one run (channel mode). Default 12, hard-capped at 100 so costs stay predictable.

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

Optional ISO date (e.g. 2026-11-01). In channel mode, only reels posted after this date are processed.

## `wordLevelTimestamps` (type: `boolean`):

Return per-word start/end times in the `words` field (and sentence-level `segments`). Turn off for slightly faster transcription.

## `asrModel` (type: `string`):

Speech recognition model: 'base' (default, better quality) or 'tiny' (faster, cheaper compute). Both run on CPU inside the Actor.

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

Whisper language code (ISO 639-1, e.g. 'en', 'es', 'de'). Omit to auto-detect the spoken language of each reel.

## `maxVideoDurationSeconds` (type: `integer`):

Cost guard: reels longer than this are returned with metadata only (status 'too_long') and are not transcribed. Default 600 s.

## `maxItems` (type: `integer`):

Maximum number of results pushed to the dataset in one run (each reel/post is one result).

## `includeMetadataOnly` (type: `boolean`):

Also return a result (metadata + status and reason, no transcript) for reels without speech, image posts, too-long videos or unavailable content. When false those are skipped and not charged.

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

Subtitles saved to the run's key-value store and referenced by srtKey/vttKey: 'both' (default), 'srt', 'vtt' or 'none'.

## `strictSchema` (type: `boolean`):

Fail the run when an item does not match the OUTPUT schema. Keep enabled: Steadfetch never publishes Actors without output-schema validation.

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

Optional Apify proxy settings used to fetch Instagram's public pages and (only as a fallback) the video file. The metadata page is a few hundred kB per reel; the video download goes to Instagram's CDN directly unless that fails.

## Actor input object example

```json
{
  "instagramUrl": "https://www.instagram.com/p/DS46KJNjva9/",
  "bulkUrls": [],
  "reelCount": 12,
  "onlyPostsNewerThan": "2026-11-01",
  "wordLevelTimestamps": true,
  "asrModel": "base",
  "language": "en",
  "maxVideoDurationSeconds": 600,
  "maxItems": 100,
  "includeMetadataOnly": true,
  "subtitleFormat": "both",
  "strictSchema": true
}
```

# Actor output Schema

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

Dataset items validated against the item schema in dataset_schema.json (fields).

# 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 = {
    "instagramUrl": "https://www.instagram.com/p/DS46KJNjva9/",
    "bulkUrls": [],
    "reelCount": 12,
    "wordLevelTimestamps": true,
    "asrModel": "base",
    "maxVideoDurationSeconds": 600,
    "maxItems": 100,
    "includeMetadataOnly": true,
    "subtitleFormat": "both"
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadfetch/instagram-reel-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 = {
    "instagramUrl": "https://www.instagram.com/p/DS46KJNjva9/",
    "bulkUrls": [],
    "reelCount": 12,
    "wordLevelTimestamps": True,
    "asrModel": "base",
    "maxVideoDurationSeconds": 600,
    "maxItems": 100,
    "includeMetadataOnly": True,
    "subtitleFormat": "both",
}

# Run the Actor and wait for it to finish
run = client.actor("steadfetch/instagram-reel-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 '{
  "instagramUrl": "https://www.instagram.com/p/DS46KJNjva9/",
  "bulkUrls": [],
  "reelCount": 12,
  "wordLevelTimestamps": true,
  "asrModel": "base",
  "maxVideoDurationSeconds": 600,
  "maxItems": 100,
  "includeMetadataOnly": true,
  "subtitleFormat": "both"
}' |
apify call steadfetch/instagram-reel-transcript-scraper --silent --output-dataset

```

## MCP server setup

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