# TikTok Video Scraper: With Subtitles (`luzivanlt/tiktok-video-scraper`) Actor

TikTok videos by link, each with its caption tracks, sound and full author stats. $0.90 per 1,000 videos. Caption, hashtags, mentions, plays, likes, comments, shares, saves, publish date, author stats, sound and direct MP4 links; transcripts optional. No login or cookies needed.

- **URL**: https://apify.com/luzivanlt/tiktok-video-scraper.md
- **Developed by:** [Luzi](https://apify.com/luzivanlt) (community)
- **Categories:** Social media, Videos, Marketing
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 95.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.63 / 1,000 videos

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 Video Scraper: With Subtitles

Get a TikTok video's full public record from its link: caption, hashtags,
mentions, plays, likes, comments, shares, saves, publish date, the poster's
stats, the sound, and direct MP4 links. Turn on subtitles to get the spoken
words as text. One row per video. No TikTok account or cookies needed.

Tested end to end on 2026-11-15: 50 popular video links read in one run
returned 46 rows, 20 of them with a caption track. The four-video sample
returns four rows.

### What does this Actor do?

You give it TikTok video links or video ids, one per line. It reads each
video's public page and saves one row with everything the page states. It
stops when every link is read, or at **Max videos**.

Measurement on the site's side: of 50 popular public videos, 46 were read in
full. The four that were not are gone from the site: the page answers that the
video is not available. Those are reported in the run summary, by link, and
never charged. No link failed for any other reason on that run.

Each video comes with:

- **The video itself:** id, page link, caption as written, publish date,
  length in seconds, and its width and height.
- **How it did:** plays, likes, comments, shares and saves.
- **What it is about:** hashtags, the accounts the caption mentions, the
  topics TikTok files it under, suggested search keywords, and its location.
- **The poster:** handle, name, bio, whether the account is verified, avatar,
  followers, accounts followed, total likes and video count.
- **The sound:** id, title, who it is credited to, length, audio link and
  cover image.
- **The files:** a direct play link and a second download link, both the
  site's own signed MP4 addresses, plus four cover images.
- **The captions:** how many caption tracks the video has, their language
  codes, and for each: format, whether it is machine-written, size, version
  and expiry. **Get subtitles** turns the track into a transcript in the row
  and a WebVTT file in the run's storage.
- **Labels:** whether TikTok marks the video as AI-generated, and any content
  warning the site shows.

### Why use it?

- **Caption tracks on the row, not as an afterthought.** Every row lists the
  video's caption languages and their file links; one switch turns them into
  readable text and a saved file. On 46 popular videos, 20 carried a track.
- **A short link resolves to the real video.** Paste a `vm.tiktok.com` share
  link: the row carries the video's own id and names the id the link asked
  for, so nothing is lost when a share link points at a different video.
- **Gone videos are named, not charged.** A deleted or private video is
  reported with its link and costs nothing.
- **Every count on the page.** Plays, likes, comments, shares and saves, plus
  the poster's followers, total likes and video count: the numbers a
  benchmark or an influencer check needs.
- **The files are links, not downloads.** Every row carries TikTok's own
  signed play and download addresses, so nothing is re-hosted and the record
  stays at $0.90 per 1,000 videos. Export as JSON, CSV or Excel, or read the
  dataset through Apify's API.

### How to use it

1. Paste video links or ids into **Video links or ids**, one per line.
2. Turn on **Get subtitles** if you want the spoken words, and pick a
   **Preferred subtitle language** when a video has more than one track.
3. Press Start. Rows appear in the default dataset as they are read.

A run with no input reads the sample: four popular videos, subtitles on.

#### Links that work

- `https://www.tiktok.com/@redbull/video/7706093984610815254`
- `https://vm.tiktok.com/ZMmadeup/` (a share link; it is followed to the video)
- `7706093984610815254` (the id on its own)

Query text after the address is kept; the video id in the path decides which
video is read. A profile link, a hashtag link, a link to another site, or a
line with no video id in it stops the run before anything is read, naming the
line.

### Input

| **Title** (`key`) | What it does | Default |
| --- | --- | --- |
| **Video links or ids** (`videoLinks`) | The videos to read, one per line: a full link, a share link or the id alone. Up to 1,000 lines; a repeated video is read once. | the four-video sample |
| **Get subtitles** (`includeSubtitles`) | Reads each video's caption track into the transcript field and saves the WebVTT file. Charged separately at $3.00 per 1,000 videos that have a track. | off |
| **Preferred subtitle language** (`subtitleLanguage`) | Which track to read when a video has more than one, such as `en` or `eng-US`. Empty reads English, otherwise the longest track. | empty |
| **Max videos** (`maxVideos`) | Saves at most this many videos, from the top of the list. 0 saves every video that can be read. | 0 |

Give at least one video link or id, unless you change nothing and want the
sample.

```json
{
  "videoLinks": ["https://www.tiktok.com/@redbull/video/7706093984610815254"],
  "includeSubtitles": true,
  "subtitleLanguage": "en"
}
```

### Output

One row per video.

```json
{
  "video_id": "7706093984610815254",
  "url": "https://www.tiktok.com/@redbull/video/7706093984610815254",
  "description": "A made-up caption #racing",
  "created_at": "2026-11-09T09:00:35.000Z",
  "duration_seconds": 25,
  "play_count": 26200000,
  "like_count": 1900000,
  "author_username": "redbull",
  "author_followers": 23900000,
  "hashtags": ["racing"],
  "video_url": "https://v16-webapp-prime.us.tiktok.com/video/tos/...",
  "subtitle_count": 2,
  "subtitle_languages": ["eng-US", "kor-KR"],
  "transcript": "And we see the green flag fly",
  "transcript_language": "eng-US",
  "scraped_at": "2026-11-15T12:00:00.000Z"
}
```

| Field | What it holds |
| --- | --- |
| `video_id` | TikTok's own id for the video. |
| `url` | The video's page on TikTok. |
| `requested_id` | The id a short link asked for, when it led to a different video. Empty otherwise. |
| `description` | The caption as written, hashtags and mentions in place. |
| `created_at` | Publish time, ISO 8601. |
| `created_at_unix` | The same time in Unix seconds. |
| `duration_seconds` | Length in seconds. |
| `width`, `height` | Frame size in pixels. |
| `play_count` | Plays. |
| `like_count` | Likes. |
| `comment_count` | Comments. |
| `share_count` | Shares. |
| `save_count` | Times saved to favourites. |
| `location_created` | Where it was posted, usually a country code. |
| `topic_labels` | Topic labels TikTok files the video under, each kept once. |
| `suggested_keywords` | Search keywords TikTok suggests from the caption. |
| `content_warnings` | Warning text TikTok shows for the video. |
| `is_aigc` | True when TikTok labels the video as AI-generated. |
| `hashtags` | Hashtags without the # sigil. |
| `hashtag_details` | Per hashtag: title, id, total video count, description. |
| `mentions` | Per mentioned account: username, id, sec uid, where it sits in the caption. |
| `author_username` | The poster's handle. |
| `author_id` | TikTok's id for the poster. |
| `author_sec_uid` | The long id TikTok uses for the poster internally. |
| `author_nickname` | The name shown on the profile. |
| `author_signature` | The bio on the profile. |
| `author_verified` | True when the verified badge shows. |
| `author_avatar_url` | Profile picture link. |
| `author_followers` | Followers. |
| `author_following` | Accounts followed. |
| `author_likes` | Total likes across everything the poster published. |
| `author_video_count` | Videos the poster published. |
| `music_id` | TikTok's id for the sound. |
| `music_title` | Sound title, or "original sound". |
| `music_author` | Who the sound is credited to. |
| `music_duration_seconds` | Sound length in seconds. |
| `music_url` | Direct audio link. |
| `music_cover_url` | Sound cover image link. |
| `video_url` | Direct MP4 play link. Signed and time-limited. |
| `download_url` | The second MP4 link TikTok offers for downloading. Also time-limited. |
| `cover_url` | Cover image link. |
| `origin_cover_url` | The poster's own cover frame. |
| `dynamic_cover_url` | The moving cover built from the first frames. |
| `share_cover_url` | The cover shown when the video is shared. |
| `subtitle_count` | How many caption tracks the video has. |
| `subtitle_languages` | Language codes of the tracks, such as `eng-US`. |
| `subtitles` | Per track: language, language id, format, source, size, version, expiry, file link. |
| `transcript` | The spoken words, one line per cue, when Get subtitles was on. |
| `transcript_language` | The language of the transcript read. |
| `subtitle_file_key` | Key of the saved WebVTT file, when Get subtitles was on. |
| `scraped_at` | When the video was read, ISO 8601. |

`transcript`, `transcript_language` and `subtitle_file_key` are empty unless
Get subtitles is on, and `transcript` is also empty when the video has no
caption track: 26 of 46 popular videos on 2026-11-15. `requested_id` is
normally empty. A stat the site itself does not publish, or a video with no
hashtags or mentions, leaves that list empty rather than filling it.

### How much does it cost?

You pay for what you get:

- **$0.90 per 1,000 videos** ($0.0009 each): charged once per video saved to
  your dataset. Not charged for a video TikTok says is deleted or private,
  for a repeat of a video already saved, or for a link that could not be read.
- **$3.00 per 1,000 videos with a transcript** ($0.003 each): only when **Get
  subtitles** is on, and only for a video whose caption track was read. A
  video with no track is not charged.

A run that saves 1,000 videos costs $0.90. The same 1,000 with subtitles on
costs $2.19 together: 1,000 videos at $0.0009 is $0.90, and 430 of them
carrying a track (the measured share) at $0.003 is $1.29.

Bronze pays 90% of the list price, Silver 80%, Gold and above 70%.

### How long does a run take?

A link is one page read of about one to three seconds, and three links are
read at a time. 107 links took 50 seconds in the measured run; a list of 1,000
takes about 8 minutes. Subtitles add about a second per video that has a track:
45 videos with subtitles on took 22 seconds.

### Good to know

- **Links expire.** `video_url`, `download_url` and the caption file links are
  signed addresses with a lifetime of hours, so fetch them soon after a run.
  The MP4 addresses are fetched from your own network; TikTok's CDN refuses a
  cloud server address, which is why this Actor returns the links rather than
  re-hosted files.
- **Caption tracks are the poster's, not a transcript service.** TikTok
  carries them when the poster recorded or uploaded them, or wrote them with
  its own tool. 20 of 46 popular videos had one. A video with none has no
  transcript to read, and the row says `subtitle_count: 0`.
- **Four in 50 popular videos were gone.** A deleted or private video answers
  "not available". The run summary lists it by link and nothing is charged.
- **No repost count, no ad flag.** TikTok's video page does not publish those,
  so the row does not invent them.
- **The page decides the numbers.** Counts are TikTok's own as of the moment
  the page was read, and can differ from what the app shows minutes later.
- **Duplicates cost nothing.** The same video given twice, or as a short link
  and a full link, is read and charged once.
- **For daily tracking,** keep the list short and stable: the same 100 videos
  read daily costs $0.09 a day at the base price.

### FAQ

**Can I get the video files?** Not as a file from this Actor: TikTok's CDN
refuses a cloud server address. Every row carries the site's own signed play and
download links, which work from your own network for a few hours.

**Does it work for private videos?** No. A private or deleted video answers
"not available", and it is reported, not charged.

**Are the subtitles auto-generated?** Usually, yes: TikTok marks the track as
machine-written (`ASR` in the `subtitles` list) when it wrote them. The track
itself says which.

**Can I get a whole profile's videos?** Not with this Actor: it reads the
videos you give it. A profile link stops the run and says so, rather than
returning someone else's videos.

# Actor input Schema

## `videoLinks` (type: `array`):

One TikTok video link or video id per line: https://www.tiktok.com/@user/video/7600000000000000000, a vm.tiktok.com short link, or the 19-digit id on its own. Up to 1,000 lines. Each video is one page read of about a second and is charged once; a video TikTok has deleted or made private is not charged. A line that is not a TikTok video link stops the run before anything is read.

## `includeSubtitles` (type: `boolean`):

Read the caption track TikTok carries for each video and add the spoken text to the row: a full transcript, its language, and the WebVTT file in this run's key-value store. Measured on 2026-11-15: 20 of 46 popular videos carried a track, so about four in ten. Charged separately at $3.00 per 1,000 videos with a transcript; a video with no track is not charged.

## `subtitleLanguage` (type: `string`):

Which caption track to read when a video has more than one, such as en or eng-US. A two-letter code matches any track that starts with it. Empty reads English when it exists, otherwise the longest track.

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

Save at most this many videos, taken from the top of your list. 0 saves every video that can be read. A video TikTok says is gone does not count toward the limit.

## Actor input object example

```json
{
  "videoLinks": [
    "https://www.tiktok.com/@redbull/video/7706093984610815254",
    "https://www.tiktok.com/@redbull/video/7691700071905201430",
    "https://www.tiktok.com/@redbull/video/7707672738034453782",
    "https://www.tiktok.com/@redbull/video/7707602790540971286"
  ],
  "includeSubtitles": false,
  "subtitleLanguage": "",
  "maxVideos": 0
}
```

# Actor output Schema

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

One row per video in the default dataset; open the link for the overview view.

## `runSummary` (type: `string`):

How many videos were saved, how many were not available and how many had subtitles.

# 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 = {
    "videoLinks": [
        "https://www.tiktok.com/@redbull/video/7706093984610815254",
        "https://www.tiktok.com/@redbull/video/7691700071905201430",
        "https://www.tiktok.com/@redbull/video/7707672738034453782",
        "https://www.tiktok.com/@redbull/video/7707602790540971286"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("luzivanlt/tiktok-video-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 = { "videoLinks": [
        "https://www.tiktok.com/@redbull/video/7706093984610815254",
        "https://www.tiktok.com/@redbull/video/7691700071905201430",
        "https://www.tiktok.com/@redbull/video/7707672738034453782",
        "https://www.tiktok.com/@redbull/video/7707602790540971286",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("luzivanlt/tiktok-video-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 '{
  "videoLinks": [
    "https://www.tiktok.com/@redbull/video/7706093984610815254",
    "https://www.tiktok.com/@redbull/video/7691700071905201430",
    "https://www.tiktok.com/@redbull/video/7707672738034453782",
    "https://www.tiktok.com/@redbull/video/7707602790540971286"
  ]
}' |
apify call luzivanlt/tiktok-video-scraper --silent --output-dataset

```

## MCP server setup

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