# Tiktok Subtitles Extractor Download Captions From Any Video (`solid-scraper/tiktok-subtitles-extractor-download-captions-from-any-video`) Actor

📽️ Extract captions from any TikTok video in seconds! 🔥 Download subtitles, enhance accessibility, and repurpose content faster for creators, marketers & students. 🚀 Grab the TikTok Subtitles Extractor now! ✅

- **URL**: https://apify.com/solid-scraper/tiktok-subtitles-extractor-download-captions-from-any-video.md
- **Developed by:** [SolidScraper](https://apify.com/solid-scraper) (community)
- **Categories:** Social media, Automation, Other
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

### TikTok Subtitles Extractor - Download Captions from Any Video 🎬

**TikTok Subtitles Extractor - Download Captions from Any Video** downloads subtitle/caption tracks from a given TikTok video URL and returns them in your chosen format (plain text or SRT-like output). If you’re looking for a **TikTok subtitles extractor**, **download TikTok captions**, or a **TikTok video transcript extractor**, this tool helps you turn video captions into usable text—at scale—saving you hours of manual work.

Whether you’re a marketer, data analyst, researcher, or content ops professional, this actor is designed to streamline subtitle extraction and make transcripts easy to reuse.

---

### Why choose TikTok Subtitles Extractor - Download Captions from Any Video?

| Feature | Benefit |
|---|---|
| ✅ **Download captions from a TikTok video URL** | Get the subtitle/caption content for each provided URL in one run |
| ✅ **Language selection + available language detection** | Choose your preferred language while still exposing what’s available |
| ✅ **Reliability with fallback behavior** | Produces output even when the preferred language track isn’t available |
| ✅ **Structured JSON output** | Integrate results into analytics pipelines, CRMs, or spreadsheets quickly |
| ✅ **Scales to batches of URLs** | Process multiple TikTok videos in a single actor run |
| ✅ **Built-in proxy support** | Improves consistency when fetching subtitle tracks across videos |

---

### Key features

- 🗣️ **Captions to usable text**: Converts VTT subtitles into clean plain text (or SRT-like output when requested)
- 🌍 **Preferred language support**: Uses your `language` preference to select the best matching subtitle file
- 📚 **Available language list**: Returns `availableLanguages` so you can see what subtitle/caption tracks were found
- 🔄 **Fallback to first available track**: If your preferred language isn’t available, it automatically falls back to another subtitles file
- 💾 **Real-time result saving**: Each video’s result is pushed immediately so you don’t lose progress mid-run
- 🔌 **URL-based input**: Works from a list of TikTok video links (no manual downloading needed)
- 🛡️ **Proxy support for more reliable scraping**: Includes built-in proxy support for consistent fetching
- 🧾 **Clear success/failure reporting**: Returns `success`, plus `message` on failures, with timestamps for auditability

---

### Input

Provide input via an `input.json` file. Example structure:

```json
{
  "urls": "https://www.tiktok.com/@someuser/video/1234567890",
  "language": "en",
  "startUrls": "",
  "format": "text",
  "url": ""
}
````

#### Input Fields

| Field | Required | Description |
|---|---|---|
| `urls` | No | Enter urls (string). You can provide the TikTok video URL(s) you want to extract captions from. |
| `language` | No | Enter language (string). Preferred language code for selecting the subtitle track (e.g., `en`). |
| `startUrls` | No | Enter startUrls (string). This input is used to build the list of target URLs via `startUrls`’s `url` values when provided in the expected structure. |
| `format` | No | Enter format (string). Choose the output format for the extracted subtitles (the actor checks for `"srt"` vs anything else). |
| `url` | No | Enter url (string). Use this single URL when you only want to process one video. |

> Note: The actor will use `startUrls` first (when it contains `url` values). If that’s not provided, it falls back to `urls` or `url`. If no URLs are provided, the actor logs an error.

***

### Output

The actor pushes each result as a JSON object into the dataset (one item per input URL).

```json
{
  "url": "https://www.tiktok.com/@someuser/video/1234567890",
  "success": true,
  "format": "text",
  "subtitle": "Sample cleaned caption text ...",
  "availableLanguages": [
    { "code": "en", "name": "en" }
  ],
  "scrapedAt": "2026-06-02T12:34:56.789123"
}
```

If extraction fails, you’ll receive:

```json
{
  "url": "https://www.tiktok.com/@someuser/video/1234567890",
  "success": false,
  "message": "Error details here",
  "scrapedAt": "2026-06-02T12:34:56.789123"
}
```

#### Output Fields

| Field | Type | Description |
|---|---|---|
| `url` | string | The TikTok video URL being processed |
| `success` | boolean | `true` when subtitles were extracted successfully; `false` otherwise |
| `format` | string | The requested output format value |
| `subtitle` | string | Extracted subtitle content as cleaned text (or SRT-like output when `format` is `"srt"`) |
| `availableLanguages` | array | List of detected subtitle/caption tracks as `{ code, name }` |
| `scrapedAt` | string | ISO timestamp when the actor generated the result |
| `message` | string | Present on failures: error details explaining what went wrong |

After the run, export from Apify as JSON/CSV if you need it for analysis or downstream systems.

***

### How to use TikTok Subtitles Extractor - Download Captions from Any Video (via Apify Console)

1. **Open Apify Console**: Sign in at https://console.apify.com and go to the **Actors** tab.
2. **Find the actor**: Search for **TikTok Subtitles Extractor - Download Captions from Any Video** and open its page.
3. **Go to the INPUT panel**: Paste your `input.json` content into the input editor.
4. **Add your TikTok video URL(s)**: Provide your target video links using one of the supported inputs (`startUrls`, `urls`, or `url`).
5. **Set `language`**: Choose your preferred language code (e.g., `en`) so the actor can pick the most relevant caption track.
6. **Choose `format`**: Set `format` to `"text"` (default) or `"srt"` for SRT-like output.
7. **Run the actor**: Click **Run**. Watch logs as each URL is processed; results are pushed to the dataset immediately.
8. **Open the OUTPUT dataset**: Export the dataset items (JSON/CSV) for use in your transcript extractor workflow, caption analysis, or content operations.

No coding required—get caption downloads and transcript text in minutes.

***

### Advanced features & SEO optimization

- 🗣️ **TikTok caption downloader for preferred language tracks**: Works with your `language` preference and still reports `availableLanguages` so you can adjust when needed.
- 🌍 **Download subtitles from any video**: Feed multiple TikTok video URLs and retrieve caption text for each in a single run.
- 🔄 **Resilient fallbacks**: If the exact language track isn’t found, it automatically selects another available subtitles file to keep the workflow moving.
- 📊 **Subtitle extractor outputs ready for analysis**: Returns cleaned caption text (or SRT-like output) so you can process transcripts without extra formatting.
- 💾 **Automation-friendly JSON structure**: Designed to plug into pipelines that need a **video captions downloader** output quickly and consistently.

***

### Best use cases

- 📈 **Marketing teams**: Extract captions for campaign content auditing and multilingual caption reuse.
- 🎓 **Researchers**: Build transcript datasets from TikTok videos for text analysis and content studies.
- 🧠 **NLP practitioners**: Turn TikTok subtitle download output into training-ready text (or SRT-like segments).
- 🎬 **Content ops & editors**: Speed up review workflows by getting **TikTok subtitle download from video** text without manual caption copying.
- 🗂️ **Data analysts**: Combine transcript text with metadata across batches of videos for insights and reporting.
- 💼 **Agency workflows**: Standardize caption extraction across client videos using a repeatable actor run.
- 💻 **Developer pipelines**: Feed output into downstream systems that need the transcript extractor text as JSON records.

***

### Technical specifications

- **Supported Input Formats**
  - ✅ `startUrls`, `urls`, and `url` inputs accept strings for providing TikTok video URLs
  - ✅ `language` (string) for preferred subtitle/caption track selection
  - ✅ `format` (string) where `"srt"` triggers SRT-like output; other values return cleaned text

- **Proxy Support**
  - ✅ Built-in proxy support is used to improve fetching reliability

- **Retry Mechanism**
  - ✅ Includes resilience behaviors and consistent processing across URLs (with fallback when the preferred language track isn’t available)

- **Dataset Structure**
  - ✅ One JSON object per processed URL pushed via `Actor.push_data` with keys like `url`, `success`, `subtitle`, `availableLanguages`, and `scrapedAt`
  - ✅ On failure, returns `message` and `success: false`

- **Limitations**
  - ❌ If no URLs are provided in input, the actor logs an error and stops
  - ❌ If no subtitle/caption files are available for a URL, the `subtitle` output may be empty while the actor still returns `success`

***

### FAQ

#### Can I download captions from a TikTok video I have the link for?

✅ Yes. The actor processes the TikTok `url` you provide (or a list of URLs via `urls` / `startUrls`) and returns the extracted captions.

#### What output formats are supported?

✅ The actor supports a plain-text style output by default, and it supports SRT-like output when `format` is set to `"srt"`.

#### How does the actor choose the subtitle language?

✅ It uses your preferred `language` input to select the best matching subtitle track. It also returns `availableLanguages` so you can see what tracks were detected and adjust if needed.

#### What happens if the preferred language subtitles are not available?

✅ It falls back to a different available subtitles file so the run can still produce caption output rather than failing outright.

#### Will results be saved while the run is still going?

✅ Yes. Each processed URL is pushed immediately to the dataset, so you can start reviewing partial results before the entire batch finishes.

#### Do I need to write code to use this TikTok caption downloader?

✅ No. You can run it directly in Apify Console by filling in the input fields and downloading the resulting dataset.

#### Is the extracted data only from public sources?

✅ Yes. This actor collects information from publicly accessible sources and does not access private, authenticated, or password-protected data.

#### How can I request data removal?

For data removal requests, contact <dataforleads@gmail.com>.

***

### Support & feature requests

If you’re using **TikTok Subtitles Extractor - Download Captions from Any Video** and want to suggest improvements, we’d love to hear your ideas.

- 💡 **Feature Requests**: Examples include adding additional output transformations (beyond cleaned text vs `"srt"`), improving language track selection behavior, or extending dataset fields for easier downstream processing.
- 📧 **Contact**: Reach us at <dataforleads@gmail.com>.

Your feedback helps shape the roadmap for this TikTok subtitle download tool—so keep the suggestions coming! 🚀

***

*If you need a reliable TikTok subtitles extractor that turns video captions into structured results, **TikTok Subtitles Extractor - Download Captions from Any Video** is built for exactly that.*

# Actor input Schema

## `urls` (type: `string`):

Enter urls

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

Enter language

## `startUrls` (type: `string`):

Enter startUrls

## `format` (type: `string`):

Enter format

## `url` (type: `string`):

Enter url

## Actor input object example

```json
{}
```

# 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("solid-scraper/tiktok-subtitles-extractor-download-captions-from-any-video").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("solid-scraper/tiktok-subtitles-extractor-download-captions-from-any-video").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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 solid-scraper/tiktok-subtitles-extractor-download-captions-from-any-video --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=solid-scraper/tiktok-subtitles-extractor-download-captions-from-any-video",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Tiktok Subtitles Extractor Download Captions From Any Video",
        "description": "📽️ Extract captions from any TikTok video in seconds! 🔥 Download subtitles, enhance accessibility, and repurpose content faster for creators, marketers & students. 🚀 Grab the TikTok Subtitles Extractor now! ✅",
        "version": "0.1",
        "x-build-id": "0IQpvzrJ0IgjSyZDb"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/solid-scraper~tiktok-subtitles-extractor-download-captions-from-any-video/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-solid-scraper-tiktok-subtitles-extractor-download-captions-from-any-video",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/solid-scraper~tiktok-subtitles-extractor-download-captions-from-any-video/runs": {
            "post": {
                "operationId": "runs-sync-solid-scraper-tiktok-subtitles-extractor-download-captions-from-any-video",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/solid-scraper~tiktok-subtitles-extractor-download-captions-from-any-video/run-sync": {
            "post": {
                "operationId": "run-sync-solid-scraper-tiktok-subtitles-extractor-download-captions-from-any-video",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "urls": {
                        "title": "Urls",
                        "type": "string",
                        "description": "Enter urls"
                    },
                    "language": {
                        "title": "Language",
                        "type": "string",
                        "description": "Enter language"
                    },
                    "startUrls": {
                        "title": "Starturls",
                        "type": "string",
                        "description": "Enter startUrls"
                    },
                    "format": {
                        "title": "Format",
                        "type": "string",
                        "description": "Enter format"
                    },
                    "url": {
                        "title": "Url",
                        "type": "string",
                        "description": "Enter url"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
