# Download TikTok subtitles as SRT files

**Use case:** 

A TikTok video's transcript as an SRT subtitle file, ready to burn into a re-edit, translate or upload with a repost. Uses TikTok's captions when the video has them and AI speech-to-text when it doesn't, up to 15 minutes a video.

## Input

```json
{
  "videoUrls": [
    "https://www.tiktok.com/@guardianaustralia/video/7153169884183039234"
  ],
  "transcriptMode": "auto",
  "captionLanguage": "auto",
  "includeSegments": true,
  "includeSrt": true,
  "includeVtt": false,
  "includeHook": false,
  "maxSpeechToTextMinutes": 15,
  "maxItems": 0
}
```

## Output

```json
{
  "url": {
    "label": "Url",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "transcriptSource": {
    "label": "Transcript source",
    "format": "string"
  },
  "language": {
    "label": "Language",
    "format": "string"
  },
  "wordCount": {
    "label": "Word count",
    "format": "integer"
  },
  "transcript": {
    "label": "Transcript",
    "format": "string"
  },
  "authorHandle": {
    "label": "Author handle",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published at",
    "format": "string"
  },
  "charged": {
    "label": "Charged",
    "format": "boolean"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The TikTok Transcript Scraper & API: AI When No Captions Actor is ready to run with the inputs already set for "Download TikTok subtitles as SRT files". [Sign up or log in](https://console.apify.com/create-task-from-example/1WiffgpYV4FWgMspf) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Download TikTok subtitles as SRT files" task

The TikTok Transcript Scraper & API: AI When No Captions Actor will start running based on the input automatically. You can also change all the input fields, like video links, transcript source, and more, to match your specific use case.

### 3. Receive the "Download TikTok subtitles as SRT files" 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 url, status, transcript source, 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 "Download TikTok subtitles as SRT files" task via API](https://apify.com/waffle-iron/tiktok-transcripts.md).

## About this Actor

This example demonstrates how to use [TikTok Transcript Scraper & API: AI When No Captions](https://apify.com/waffle-iron/tiktok-transcripts.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/waffle-iron/tiktok-transcripts.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/waffle-iron/tiktok-transcripts.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`).
