# Instagram Reels & TikTok Transcript Scraper (`gouda_studios/instagram-tiktok-transcript-scraper`) Actor

Transcripts with timestamps for Instagram Reels, TikTok, podcast RSS feeds and any audio/video file URL (mp3, m4a, mp4, wav). Native TikTok captions first, built-in Whisper speech-to-text for the rest. Metadata per item. No login, no API key.

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

## Pricing

from $12.00 / 1,000 ai speech-to-text transcripts

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 & TikTok Transcript Scraper

Get the **spoken transcript of any public Instagram Reel or TikTok video**, with timestamps, in one JSON row per video. You also get the caption, author, posted date, duration, views and likes.

- **TikTok:** uses TikTok's own captions when the video has them (fast and cheap). Otherwise it falls back to AI speech-to-text.
- **Instagram Reels:** transcribed by a built-in Whisper speech-to-text model running inside the actor. No external AI API keys needed.
- **Podcasts and any audio/video file:** paste a podcast RSS feed URL to transcribe its newest episodes (with podcast name, episode title and date), or any direct `.mp3`, `.m4a`, `.mp4`, `.wav`, `.webm` or `.ogg` link.
- **No login, no cookies, no account.** Only public videos.
- **You only pay for transcripts.** Failed, private, deleted, silent and music-only videos are free.

Paste links in, get clean transcripts out. It works for a content team, an LLM pipeline, or an AI agent calling it as a tool.

### What you get per video

| Field | Example | Notes |
|---|---|---|
| `url`, `platform`, `id` | `https://www.tiktok.com/@_jepitot/video/7455487954295835905`, `tiktok` | Canonical URL |
| `author` | `{username, fullName, verified}` | Instagram also returns `followers` |
| `caption`, `hashtags` | `"Whos next?"` | |
| `postedAt` | `2025-01-03T01:02:55+00:00` | ISO 8601, UTC |
| `durationSec` | `21` | |
| `viewCount`, `likeCount`, `commentCount` | `60000000`, `7700000`, `25800` | TikTok also returns `shareCount` and `saveCount` |
| `transcript` | full plain text | |
| `segments` | `[{start, end, text}]` | Seconds. Turn off with `includeSegments: false` |
| `srt` | SRT subtitle string | Optional, `includeSrt: true` |
| `language` | `en`, `eng-US` | Detected language or caption track |
| `transcriptSource` | `native_captions` or `speech_to_text` | Where the text came from |
| `captionKind` | `auto`, `creator`, `machine-translated` | For TikTok captions |
| `status` | `ok`, `no_speech`, `no_captions`, `error` | Only `ok` rows are charged |

### Input

```json
{
  "videoUrls": [
    "https://www.instagram.com/reel/DZpQwxqimz2/",
    "https://www.tiktok.com/@jepitot_/video/7455487954295835905",
    "https://feeds.npr.org/510289/podcast.xml"
  ],
  "maxEpisodesPerFeed": 3,
  "instagramUsernames": ["nasa"],
  "maxReelsPerProfile": 6,
  "speechToText": "auto",
  "sttModel": "base",
  "maxTranscribeSeconds": 180,
  "includeSegments": true,
  "includeSrt": false
}
```

- `videoUrls`: Instagram `/reel/`, `/p/` and `/tv/` links, TikTok `/@user/video/` links, podcast RSS feed URLs, and direct audio or video file URLs. An Instagram profile link is treated as a username.
- `maxEpisodesPerFeed` (default 5): how many of the newest episodes to transcribe from each podcast feed. Episode rows include `podcast`, `title`, `publishedAt`, `episodeUrl` and `feedUrl`.
- `instagramUsernames` (optional): transcribes the recent videos of public accounts. Logged out, Instagram shows only about the latest 6 posts of a profile. Photos are skipped.
- `speechToText`:
  - `auto` (default): TikTok captions first, speech-to-text when there are none.
  - `always`: speech-to-text for every video.
  - `off`: captions only. Instagram then returns no transcript.
- `sttModel`: `base` (default, more accurate) or `tiny` (faster). Both cost the same.
- `maxTranscribeSeconds` (default 180, up to 1800): longer videos and episodes are cut at this length and marked `truncated: true`. Files are downloaded up to 60 MB.
- `language`: optional ISO code such as `en` or `es`. It forces the speech-to-text language and picks the matching TikTok caption track.

### Output example (real run)

TikTok, native captions:

```json
{
  "platform": "tiktok",
  "id": "7455487954295835905",
  "url": "https://www.tiktok.com/@_jepitot/video/7455487954295835905",
  "author": {"username": "_jepitot", "fullName": "jepitot🥥", "verified": false},
  "caption": "Whos next?",
  "postedAt": "2025-01-03T01:02:55+00:00",
  "durationSec": 21,
  "viewCount": 60000000,
  "likeCount": 7700000,
  "commentCount": 25800,
  "shareCount": 337500,
  "saveCount": 653952,
  "transcript": "Pranking the Kardashians. Hey, hi, I have something to confess. Yeah, I like you. Oh, really? No, it's a prank. I like your sister. Wait, really? No, it's a prank. For more exciting videos, please subscribe.",
  "language": "eng-US",
  "transcriptSource": "native_captions",
  "captionKind": "auto",
  "segments": [
    {"start": 0.26, "end": 1.88, "text": "Pranking the Kardashians."},
    {"start": 5.46, "end": 6.78, "text": "Hey, hi,"},
    {"start": 6.78, "end": 8.6, "text": "I have something to confess."}
  ],
  "processingSec": 0.4,
  "status": "ok"
}
```

Instagram Reel, speech-to-text:

```json
{
  "platform": "instagram",
  "shortcode": "DZpQwxqimz2",
  "url": "https://www.instagram.com/reel/DZpQwxqimz2/",
  "author": {"username": "natgeo", "verified": true, "followers": 268165095},
  "caption": "There's more to the story of Pompeii than just destruction. Join Tom Hiddleston as he traces the stories of those who experienced the eruption and those who survived. ...",
  "hashtags": ["PompeiiOutOfTime"],
  "postedAt": "2026-06-16T16:00:07+00:00",
  "durationSec": 109.1,
  "viewCount": 1254538,
  "likeCount": 146689,
  "commentCount": 1362,
  "transcript": "We all know the story of Pompeii, right? The story of Pompeii It's a story of death Or is it? Let's try that again, shall we? ...",
  "language": "en",
  "languageProbability": 0.98,
  "transcriptSource": "speech_to_text",
  "sttModel": "whisper-base",
  "transcribedSeconds": 109.1,
  "truncated": false,
  "segments": [
    {"start": 0.05, "end": 2.37, "text": "We all know the story of Pompeii, right?"},
    {"start": 3.85, "end": 5.85, "text": "The story of Pompeii"}
  ],
  "processingSec": 7.4,
  "status": "ok"
}
```

A failed video still returns a row, so you know what happened. You are not charged for it:

```json
{"inputUrl": "https://www.instagram.com/p/AAAAAAAAAAA/", "platform": "instagram", "status": "error",
 "error": "Instagram post unavailable (post not found, deleted or private) (not charged)"}
```

### Pricing (pay per result)

| Event | Price | When |
|---|---|---|
| Caption transcript | **$0.004** per video | TikTok video with native captions |
| AI speech-to-text transcript | **$0.012** per video | Instagram Reels, and TikToks without captions. Includes the first 2 minutes of audio |
| Extra speech-to-text minute | $0.006 per started minute | Only for audio beyond 2 minutes. With the default 3-minute cap that is at most 1 extra minute |
| Actor start | $0.0005 | Once per run |

**Free:** errors, private or deleted posts, videos with no speech (music-only or silent), and rows skipped because you reached your spending limit. A failed video costs nothing.

Examples:

- 100 TikToks with captions ≈ $0.40
- 100 Instagram Reels under 2 minutes ≈ $1.20

Set *Maximum cost per run* in Apify and the actor stops cleanly when it is reached.

### Use cases

- **AI agents and LLM pipelines:** turn short videos into text an LLM can read, then summarize, classify, extract claims or answer questions.
- **RAG and search:** index what creators actually *say*, not just captions and hashtags. Timestamped segments let you cite the exact second.
- **Content research:** study hooks, scripts and CTAs of top Reels and TikToks in your niche. Pair with views and likes to see what performs.
- **Brand and ad monitoring:** find product mentions inside videos, which caption-only search misses.
- **Repurposing and accessibility:** SRT subtitles, blog drafts, show notes and translations.

### Use it from code, AI agents or MCP

The actor is a normal Apify API endpoint, so any language or agent framework can call it.

```bash
curl -X POST "https://api.apify.com/v2/acts/gouda_studios~instagram-tiktok-transcript-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"videoUrls": ["https://www.tiktok.com/@jepitot_/video/7455487954295835905"]}'
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("gouda_studios/instagram-tiktok-transcript-scraper").call(
    run_input={"videoUrls": ["https://www.instagram.com/reel/DZpQwxqimz2/"]})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["status"], item.get("transcript"))
```

**MCP / AI agents:** add it to Claude, Cursor or any MCP client through the Apify MCP server (`https://mcp.apify.com`), using the tool `gouda_studios/instagram-tiktok-transcript-scraper`. Agents get one flat JSON row per video with `status`, so they can tell "no speech" from "failed" without guessing. It also works as a tool in LangChain, LlamaIndex, CrewAI and n8n through their Apify integrations.

### How it works and limits

- **TikTok:** reads the public video page. It uses TikTok's caption track (auto-generated or creator captions) when present. If there is none, it downloads the video and runs speech-to-text.
- **Instagram:** reads the public embed data of the post (caption, owner, counts, video file) without logging in. It then transcribes the audio with Whisper (`base` or `tiny`, int8 on CPU) inside the actor. Instagram has no public caption tracks.
- **Only public content.** Private accounts, deleted posts, age-restricted posts and posts with embedding turned off can't be read without a login. They come back as free `error` rows.
- **Not supported:** TikTok hashtag and user feeds, and Instagram hashtags, stories and highlights.
- **Instagram profiles:** without a login, Instagram exposes only about the latest 6 posts.
- **Instagram names:** `author.fullName` is not available, but `username` and `verified` are.
- **Accuracy:** speech-to-text is very good on clear speech. It is weaker on heavy music, crowd noise or several overlapping speakers. Music-only videos are detected and not charged.
- **Speed:** TikTok captions take under a second per video. Speech-to-text takes roughly 5–15 seconds per minute of audio at the default 2 GB memory. Give the actor 4 GB if you want it faster.

### FAQ

**Do I need an Instagram or TikTok account or cookies?**
No. The actor only reads public data and never logs in.

**Which languages are supported?**
TikTok captions come in whatever languages TikTok provides. Speech-to-text auto-detects about 99 languages (Whisper). You can force one with `language`.

**Why do some Instagram Reels return `no_speech`?**
Many Reels are music with on-screen text and no spoken words. Those rows are free. On-screen text (OCR) is not extracted.

**Is a failed video charged?**
No. You are only charged for rows with `status: "ok"` and a non-empty transcript.

**How is this different from other transcript actors?**

- one actor for both Instagram Reels and TikTok
- native captions first, so caption transcripts are cheap
- AI speech-to-text built in, with no third-party API key
- the same output schema for both platforms
- timestamped segments and SRT
- views and likes in the same row
- free failures

**Can I run thousands of videos?**
Yes. Pass them in `videoUrls`, or split them across several runs. Each video is handled on its own, so one bad link never breaks the run.

Questions or a site you want added? Open an issue on the actor's Issues tab.

# Actor input Schema

## `videoUrls` (type: `array`):

Instagram Reel/post links, TikTok video links (including vm.tiktok.com short links), direct audio/video file URLs (mp3, m4a, mp4, wav, webm, ogg), and podcast RSS feed URLs (the latest episodes are transcribed). An Instagram profile link is treated as a username.

## `instagramUsernames` (type: `array`):

Transcribe the most recent video posts and reels of public Instagram accounts. Best effort: Instagram returns up to about 12 recent posts without login.

## `maxReelsPerProfile` (type: `integer`):

How many recent videos to take from each username. Without login Instagram only exposes the latest ~6 posts of a profile (photos are skipped), so you may get fewer.

## `maxEpisodesPerFeed` (type: `integer`):

For podcast RSS feed URLs, how many of the newest episodes to transcribe.

## `speechToText` (type: `string`):

Instagram has no public captions, so Instagram transcripts always use speech-to-text unless this is Off.

## `sttModel` (type: `string`):

Open-source Whisper models running inside the actor. Same price for both.

## `maxTranscribeSeconds` (type: `integer`):

Longer videos and episodes are transcribed up to this length and marked truncated: true. Up to 1800 seconds (30 minutes).

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

ISO code like en, es, de. Leave empty to auto-detect. Also picks the matching TikTok caption track when several exist.

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

Adds segments: \[{start, end, text}] in seconds.

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

Adds the transcript as an SRT subtitle string.

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

Safety cap.

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

Optional. By default the actor connects directly and falls back to a built-in residential proxy when a platform blocks it.

## Actor input object example

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@brittany_broski/video/7257949160907935022",
    "https://www.instagram.com/reel/DWcvc9XjbgI/"
  ],
  "maxReelsPerProfile": 6,
  "maxEpisodesPerFeed": 5,
  "speechToText": "auto",
  "sttModel": "base",
  "maxTranscribeSeconds": 180,
  "includeSegments": true,
  "includeSrt": false,
  "maxVideos": 500,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "videoUrls": [
        "https://www.tiktok.com/@brittany_broski/video/7257949160907935022",
        "https://www.instagram.com/reel/DWcvc9XjbgI/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("gouda_studios/instagram-tiktok-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 = {
    "videoUrls": [
        "https://www.tiktok.com/@brittany_broski/video/7257949160907935022",
        "https://www.instagram.com/reel/DWcvc9XjbgI/",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("gouda_studios/instagram-tiktok-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 '{
  "videoUrls": [
    "https://www.tiktok.com/@brittany_broski/video/7257949160907935022",
    "https://www.instagram.com/reel/DWcvc9XjbgI/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call gouda_studios/instagram-tiktok-transcript-scraper --silent --output-dataset

```

## MCP server setup

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