# TikTok & Reels Script Analyzer – Hook, CTA, Transcript (`smoxy/short-video-script-analyzer`) Actor

Turn TikToks and Instagram Reels into structured scripts: transcript, spoken hook, timed beats, CTA, angle, format and tone, plus optional sponsor signals and translations. Works from links, profiles or a scraper dataset. Failed, silent and unsupported videos are free.

- **URL**: https://apify.com/smoxy/short-video-script-analyzer.md
- **Developed by:** [Simone Flavio Paris](https://apify.com/smoxy) (community)
- **Categories:** Social media, AI, Marketing
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.50 / 1,000 video script analyses

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

## TikTok & Reels Script Analyzer – Hook, CTA, Transcript

**Turn any public TikTok or Instagram Reel into a structured script**: the full transcript, the spoken hook, the beats with timestamps, the call to action, the angle, the format and the tone. Optionally detect sponsors and discount codes, translate the script, and build a playbook of what works in a niche. Export the results as JSON, CSV or Excel.

**Launch prices until December 31, 2026:** about half the list price on most events (a full script analysis costs $0.0125 per video). After that date prices go up gradually, with the notice Apify sends to every user 14 days in advance.

Built for content creators, UGC agencies, social media managers and brands that want to **study competitors' short videos**: see how top creators open, structure and close their videos, find brand deals in a niche, and reuse the patterns in your own scripts.

### What does TikTok & Reels Script Analyzer do?

For every video you get:

- **Transcript** of the spoken text, with optional word timestamps
- **Hook**: the opening line as spoken, and the exact words of the first 3 seconds
- **Beats**: the parts of the script (for example problem, demo, proof, payoff) with their start time and text
- **CTA**: the call to action, if there is one
- **Angle, format and tone**: for example "myth busting", "talking head", "playful"
- **Sponsor signals** (optional): brands named, discount codes, and whether the sponsorship is disclosed out loud
- **Translations** (optional): the script in the languages you choose
- **Niche playbook** (optional, paid plans): recurring hooks, structures, CTAs and formats across 10 to 200 analyzed videos
- A **status** for every video, so you always know why a video has no script

**You only pay for videos that were analyzed.** Broken links, private or deleted videos, videos with no speech (music only) and videos in unsupported languages are free.

### How to analyze the script of a TikTok or Reel

1. Choose your source:
   - **Video URLs**: links to public TikToks, Instagram Reels or video posts.
   - **Profiles**: TikTok profiles, to analyze their recent videos (use `since` to skip older ones). Instagram profiles give only the most recent reels Instagram shows without login, about 20.
   - **Dataset of another scraper**: pick the dataset of a TikTok or Instagram scraper run from Apify Store (one of your runs, or a dataset shared with you). Video links are read from it and processed right away.
2. Pick the **mode**: `script` (default, full analysis) or `transcript` (spoken text only, cheaper).
3. Optionally turn on **sponsor signals**, add **translation languages**, or ask for a **niche playbook**.
4. Set **max items** (default 20) and run. Each video becomes one row in the dataset.

Run it with an empty input to see sample output rows (marked `is_example: true`): they are precomputed, take a second and cost nothing. Paste your own video links to get real results.

#### Input example

```json
{
  "urls": [
    "https://www.tiktok.com/@creator/video/7400000000000000000",
    "https://www.instagram.com/reel/AbCdEfGhIjK/"
  ],
  "profiles": [],
  "mode": "script",
  "sponsorSignals": true,
  "translateTo": ["de"],
  "nichePlaybook": false,
  "maxItems": 20
}
```

To analyze videos found by another scraper, use `"datasetId": "<dataset ID>"` instead of `urls`.

#### Output example

```json
{
  "url": "https://www.tiktok.com/@creator/video/7400000000000000000",
  "platform": "tiktok",
  "author": "creator",
  "duration_s": 44.8,
  "language": "en",
  "transcript": "Stop buying expensive serums. Here is what actually works for dry skin…",
  "words": null,
  "hook": {
    "spoken": "Stop buying expensive serums.",
    "first_3s_text": "Stop buying expensive serums"
  },
  "beats": [
    {"t": 0.0, "label": "hook", "text": "Stop buying expensive serums."},
    {"t": 3.1, "label": "problem", "text": "Dry skin needs barrier repair, not more actives."},
    {"t": 14.6, "label": "demo", "text": "I put this on every night for two weeks…"},
    {"t": 36.2, "label": "cta", "text": "Code GLOW15 gets you fifteen percent off, link in bio."}
  ],
  "cta": "Use code GLOW15, link in bio",
  "angle": "myth busting",
  "format": "talking head with product demo",
  "tone": "direct, friendly",
  "sponsor": {
    "brands": ["GlowLab"],
    "discount_codes": ["GLOW15"],
    "disclosure_spoken": false
  },
  "translations": {
    "de": "Hör auf, teure Seren zu kaufen. Das hier hilft wirklich bei trockener Haut…"
  },
  "status": "ok",
  "charged_events": ["video-script", "sponsor-signals", "script-translation"]
}
```

`sponsor` is filled only when `sponsorSignals` is on, `translations` only when `translateTo` is set, and `words` only when word timestamps are available. Missing values are `null`, never absent, so CSV and Excel exports keep the same columns. In `transcript` mode the script fields (`hook`, `beats`, `cta`, `angle`, `format`, `tone`) are `null`.

With `nichePlaybook` on, the run also saves `PLAYBOOK.json` and `PLAYBOOK.md` in its key-value store.

### Status of each video

| `status` | Meaning | Charged |
|---|---|---|
| `ok` | Script or transcript ready | yes |
| `no_speech` | No speech found (music only, silence) | no |
| `unsupported_language` | Speech in a language outside the 25 supported | no |
| `private`, `not_found` | Private or deleted video | no |
| `login_required` | Content that needs a login to be seen | no |
| `no_media` | The post has no video (photo or carousel) | no |
| `unsupported_url` | Not a TikTok or Instagram video link, or a direct video file link not hosted on the TikTok or Instagram CDN | no |
| `too_long` | Video longer than the supported maximum (10 minutes for direct video file links) | no |
| `temporarily_blocked`, `timeout`, other errors | The platform refused the request or the analysis failed; retry later | no |

`charged_events` lists exactly what was charged for each row.

### How much does it cost?

Pay per event: you pay only for videos analyzed successfully.

| Event | Price (Free plan) | When it is charged |
|---|---|---|
| `video-script` | $0.0125 | per video analyzed in `script` mode (transcript included) |
| `video-transcript` | $0.003 | per video transcribed in `transcript` mode |
| `sponsor-signals` | $0.0025 | per video, when `sponsorSignals` is on |
| `script-translation` | $0.004 | per video and per language in `translateTo` |
| `niche-playbook` | $0.125 | once per playbook delivered (10 to 200 analyzed videos) |

**Example:** 100 videos in `script` mode with sponsor signals cost **$1.50** on the Free plan. Paid Apify plans get up to **40% off**. There is no extra charge for longer videos. You can set a maximum charge per run in the Apify console: the Actor checks it before starting and processes only the items that fit in the remaining budget, so it never goes over it. Prices on this page are **launch prices, valid until December 31, 2026**.

### Free plan limits

On the Apify Free plan a run analyzes **up to 20 videos** and **does not build the niche playbook**. Paid plans can process more videos per run and get the playbook.

### Languages

The spoken language is **detected automatically** among 25 European languages: Bulgarian, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Italian, Latvian, Lithuanian, Maltese, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish, Ukrainian. Videos in other languages are marked `unsupported_language` and are **not charged**.

### Use it from AI agents (MCP server)

This Actor is also an **MCP server**, so AI agents and assistants (Claude, Cursor, VS Code, n8n and any MCP client) can analyze short videos by themselves. Connect your client to:

```
https://smoxy--short-video-script-analyzer.apify.actor/mcp
```

Transport: Streamable HTTP. Authentication: header `Authorization: Bearer <your Apify API token>`. For example, in Claude Code:

```
claude mcp add --transport http short-video-script-analyzer https://smoxy--short-video-script-analyzer.apify.actor/mcp --header "Authorization: Bearer YOUR_APIFY_TOKEN"
```

Tools:

| Tool | What it does |
|---|---|
| `analyze_video_script` | `url` of a public TikTok or Reel; optional `mode` (`script` or `transcript`), `sponsor_signals`, `translate_to`. Returns the script, or `status: processing` and a `job_id` if it takes longer |
| `list_profile_videos` | `profile`, optional `since` and `max` (up to 50). Returns the video links of a profile to analyze next. Not charged; up to 20 calls per minute per user (more returns `rate_limited`), and a profile list is cached for 10 minutes |
| `build_niche_playbook` | `job_ids` of 10 to 200 analyzed videos. Returns the playbook of recurring hooks, structures, CTAs and formats (paid plans) |
| `get_job` | `job_id` → the result when ready |

Same prices as normal runs: charged only when a result is delivered, never twice for the same job; failed videos are free. The Actor also works with the Apify MCP server (`mcp.apify.com`, tool `smoxy/short-video-script-analyzer`).

**Limits for MCP calls**, the same for every caller: up to 3 active jobs per user (more returns `too_many_jobs`, free). Repeating the same call with the same arguments within 10 minutes returns the cached result for free. A paid result is delivered only when it can be billed: otherwise the call returns `billing_unavailable` and nothing is charged.

### FAQ

#### What is the difference between script and transcript mode?

`transcript` returns only the spoken text and is cheaper. `script` (default) adds the hook, timed beats, CTA, angle, format and tone, and already includes the transcript, so you never pay for both.

#### What am I not charged for?

Broken links, private or deleted videos, posts without video, videos with no speech (music only) and videos in unsupported languages. Only rows with `status: ok` are charged, and `charged_events` shows what was charged.

#### Does it read text shown on screen?

No. The analysis is based on what is said in the video and on its caption. `first_3s_text` contains the words spoken in the first 3 seconds, not on-screen captions or overlays.

#### Can I analyze all the videos of a creator?

For TikTok, yes: add the profile to `profiles` and use `since` and `maxItems` to choose how many. For Instagram, only the most recent reels Instagram shows without login (about 20) are available; for more, paste reel links or use a dataset from an Instagram scraper.

#### Can I use the results of another scraper?

Yes. Put the dataset ID of a TikTok or Instagram scraper run in `datasetId`. Video links are read from the dataset and processed right away, because the video file links in those datasets expire after a few hours. Direct video file links are used only when they are hosted on the TikTok or Instagram CDN and the video is at most 10 minutes long; otherwise the post link of the same row is used, or the row gets `unsupported_url` or `too_long` and is free. Run it soon after the scraper finishes.

#### How are sponsors detected?

From what is said in the video and from the caption: brand names, discount codes and phrases such as "ad" or "paid partnership". `disclosure_spoken` is true when the creator says out loud that the video is sponsored. It is a signal for research, not a legal compliance check.

#### What is the niche playbook?

A summary across 10 to 200 analyzed videos: the hooks, beat structures, CTAs and formats that recur most. It is saved as `PLAYBOOK.json` and `PLAYBOOK.md` in the run's key-value store. It needs a paid Apify plan and at least 10 videos with `status: ok`; otherwise it is not built and not charged.

#### Is the same video charged twice?

Every run that delivers a result is charged. Videos analyzed recently are served faster from a cache, but the price per delivered result stays the same.

#### Can I use it from an API, Make, Zapier or n8n?

Yes. Like any Apify Actor it runs via the Apify API, the Python and JavaScript clients, Make, Zapier and n8n, and can call a webhook when a run finishes.

### Notes

- Use the results in line with the platforms' terms and with data protection law: the Actor reads only public videos and returns no personal data beyond what the video and its caption show publicly.
- The analysis is generated by AI and can contain mistakes; check important details against the video.
- Videos are not stored: the audio is used for transcription and then deleted. Analysis results are kept in a short-term cache so repeated videos are served faster; your copy is in your Apify dataset and key-value store.

### Feedback

Found a problem or need a feature? Open an issue on the **Issues** tab: we answer within 24 hours. If the Actor saved you time, a **review** on this page helps other users find it.

# Actor input Schema

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

Links to public Instagram Reels and posts (instagram.com/reel/...) or TikTok videos (tiktok.com/@user/video/..., vm.tiktok.com/...). Leave all the lists empty to try a free example: one static sample row, nothing is downloaded or analyzed.

## `profiles` (type: `array`):

TikTok profile links (tiktok.com/@user): the latest videos of each profile are analyzed. Instagram profiles need a login and are not supported: paste the Reel links instead.

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

Optional. The ID of the dataset of a previous run of a TikTok or Instagram Reel scraper. The video file link in it is used right away (those links expire), with the page link as a fallback.

## `mode` (type: `string`):

Script gives the whole breakdown and includes the transcript.

## `sponsorSignals` (type: `boolean`):

Find brands, discount codes and whether the creator says it is an ad. One extra row per video.

## `translateTo` (type: `array`):

Language codes such as en, de, it, fr, es (up to 5). One extra row per video and language, with the translated transcript and, in script mode, the translated hook, beats and CTA. Videos already in that language are skipped for free.

## `nichePlaybook` (type: `boolean`):

After the run, write a playbook of the niche from all the analyzed videos (hook patterns, structures, CTAs, recommendations): one extra row and the files PLAYBOOK.json and PLAYBOOK.md. Needs script mode and at least 10 analyzed videos.

## `since` (type: `string`):

For profile links: skip videos posted before this date. Useful to follow a niche with a scheduled run.

## `maxPerProfile` (type: `integer`):

For profile links: how many of the latest videos to take from each profile.

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

The most videos analyzed in one run, whatever the number of links, profiles and dataset items. Accounts without a paid plan get at most 20.

## Actor input object example

```json
{
  "mode": "script",
  "sponsorSignals": false,
  "nichePlaybook": false,
  "maxPerProfile": 20,
  "maxItems": 20
}
```

# Actor output Schema

## `videos` (type: `string`):

No description

## `scripts` (type: `string`):

No description

## `playbook` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("smoxy/short-video-script-analyzer").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("smoxy/short-video-script-analyzer").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 '{}' |
apify call smoxy/short-video-script-analyzer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,smoxy/short-video-script-analyzer"
        }
    }
}
```

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/dHroCtCC0rvcoI4UJ/builds/ZgPl8oxrZBGfgqbdE/openapi.json
