# Extract TikTok Subtitles & Video Transcripts

**Use case:** 

Extract subtitles and transcripts from TikTok videos when available. Get timestamped text segments, subtitle language and track data, and export subtitles as SRT or WebVTT for transcription and content analysis.

## Input

```json
{
  "urls": [
    "https://www.tiktok.com/@thatwasepic_tok/video/7647568802229570846"
  ],
  "download_videos": false,
  "download_slideshows": false,
  "download_audio": false,
  "download_subtitles": true,
  "translate_subtitles": true,
  "quality:": "highest",
  "audio_format": "native",
  "subtitles_format": "webvtt",
  "preferred_language": "en",
  "storage_name": "videos"
}
```

## Output

```json
{
  "id": {
    "label": "Post ID",
    "format": "string"
  },
  "type": {
    "label": "Post type",
    "format": "string"
  },
  "source_url": {
    "label": "Source URL",
    "format": "string"
  },
  "created_at": {
    "label": "Created at",
    "format": "string"
  },
  "created_at_timestamp": {
    "label": "Created at timestamp",
    "format": "integer"
  },
  "created_location": {
    "label": "Created location",
    "format": "string"
  },
  "author_id": {
    "label": "Author id",
    "format": "string"
  },
  "author_secUid": {
    "label": "Author secure UID",
    "format": "string"
  },
  "author_unique_id": {
    "label": "Author username",
    "format": "string"
  },
  "author_nickname": {
    "label": "Author display name",
    "format": "string"
  },
  "author_avatar": {
    "label": "Author avatar",
    "format": "string"
  },
  "author_description": {
    "label": "Author description",
    "format": "string"
  },
  "author_created_at": {
    "label": "Author created at",
    "format": "string"
  },
  "author_created_at_timestamp": {
    "label": "Author created at timestamp",
    "format": "integer"
  },
  "author_verified": {
    "label": "Author verified",
    "format": "boolean"
  },
  "author_private_account": {
    "label": "Author private account",
    "format": "boolean"
  },
  "author_ttSeller": {
    "label": "Author TikTok seller",
    "format": "boolean"
  },
  "author_followerCount": {
    "label": "Author follower count",
    "format": "integer"
  },
  "author_followingCount": {
    "label": "Author following count",
    "format": "integer"
  },
  "author_heartCount": {
    "label": "Author heart count",
    "format": "integer"
  },
  "author_videoCount": {
    "label": "Author video count",
    "format": "integer"
  },
  "author_diggCount": {
    "label": "Author digg count",
    "format": "integer"
  },
  "author_friendCount": {
    "label": "Author friend count",
    "format": "integer"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "videoHeadline": {
    "label": "Video headlines",
    "format": "array"
  },
  "challenges": {
    "label": "Challenges",
    "format": "array"
  },
  "hashtags": {
    "label": "Hashtags",
    "format": "array"
  },
  "mentions": {
    "label": "Mentions",
    "format": "array"
  },
  "labels": {
    "label": "Labels",
    "format": "array"
  },
  "suggestedKeywords": {
    "label": "Suggested keywords",
    "format": "array"
  },
  "isAd": {
    "label": "Is ad",
    "format": "boolean"
  },
  "duration": {
    "label": "Duration",
    "format": "number"
  },
  "duration_formatted": {
    "label": "Duration formatted",
    "format": "string"
  },
  "likeCount": {
    "label": "Like count",
    "format": "integer"
  },
  "shareCount": {
    "label": "Share count",
    "format": "integer"
  },
  "commentCount": {
    "label": "Comment count",
    "format": "integer"
  },
  "playCount": {
    "label": "Play count",
    "format": "integer"
  },
  "collectCount": {
    "label": "Collect count",
    "format": "integer"
  },
  "repostCount": {
    "label": "Repost count",
    "format": "integer"
  },
  "height": {
    "label": "Height",
    "format": "integer"
  },
  "width": {
    "label": "Width",
    "format": "integer"
  },
  "bitrate": {
    "label": "Bitrate",
    "format": "integer"
  },
  "ratio": {
    "label": "Ratio",
    "format": "string"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "codecType": {
    "label": "Codec type",
    "format": "string"
  },
  "cover": {
    "label": "Cover",
    "format": "string"
  },
  "originCover": {
    "label": "Original cover",
    "format": "string"
  },
  "dynamicCover": {
    "label": "Dynamic cover",
    "format": "string"
  },
  "videoUrl": {
    "label": "Video URL",
    "format": "string"
  },
  "downloadUrl": {
    "label": "Download URL",
    "format": "string"
  },
  "subtitlesUrl": {
    "label": "Subtitles URL",
    "format": "string"
  },
  "subtitles": {
    "label": "Subtitles",
    "format": "array"
  },
  "subtitles_webvtt": {
    "label": "Subtitles webvtt",
    "format": "string"
  },
  "subtitles_srt": {
    "label": "Subtitles srt",
    "format": "string"
  },
  "subtitles_formatted": {
    "label": "Subtitles formatted",
    "format": "array"
  },
  "subtitle_translation_webvtt": {
    "label": "Subtitle translation webvtt",
    "format": "string"
  },
  "subtitle_translation_srt": {
    "label": "Subtitle translation srt",
    "format": "string"
  },
  "subtitle_translation_formatted": {
    "label": "Subtitle translation formatted",
    "format": "array"
  },
  "availableVideoQualities": {
    "label": "Available video qualities",
    "format": "array"
  },
  "music_id": {
    "label": "Music id",
    "format": "string"
  },
  "music_title": {
    "label": "Music title",
    "format": "string"
  },
  "music_play_url": {
    "label": "Music play url",
    "format": "string"
  },
  "music_download_url": {
    "label": "Music download url",
    "format": "string"
  },
  "music_cover": {
    "label": "Music cover",
    "format": "string"
  },
  "music_author": {
    "label": "Music author",
    "format": "string"
  },
  "music_original": {
    "label": "Music original",
    "format": "boolean"
  },
  "music_duration": {
    "label": "Music duration",
    "format": "number"
  },
  "music_copyrighted": {
    "label": "Music copyrighted",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The TikTok Video Scraper Actor is ready to run with the inputs already set for "Extract TikTok Subtitles & Video Transcripts". [Sign up or log in](https://console.apify.com/create-task-from-example/OBR765RFS9Ij7RL1O) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Extract TikTok Subtitles & Video Transcripts" task

The TikTok Video Scraper Actor will start running based on the input automatically. You can also change all the input fields, like tiktok video urls, download videos to apify storage, and more, to match your specific use case.

### 3. Receive the "Extract TikTok Subtitles & Video Transcripts" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as post id, post type, source url, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Extract TikTok Subtitles & Video Transcripts" task via API](https://apify.com/radeance/tiktok-video-scraper-premium.md).

## About this Actor

This example demonstrates how to use [TikTok Video Scraper](https://apify.com/radeance/tiktok-video-scraper-premium.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/radeance/tiktok-video-scraper-premium.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/radeance/tiktok-video-scraper-premium.md

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`).
