# YouTube subtitles download: caption URLs in every language

**Use case:** 

Paste a YouTube video link and get a direct URL for every subtitle track it has, in SRT, VTT, TTML and JSON, plus the auto-generated captions, with the title, channel and length. The example, a TED talk, has subtitles in 49 languages. Links are YouTube's own and expire after a few hours, so download soon after the run.

## Input

```json
{
  "urls": [
    "https://www.youtube.com/watch?v=arj7oStGLkU"
  ],
  "includeFormats": false,
  "includeSubtitles": true,
  "playlistLimit": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "title": {
    "label": "Video title (title)",
    "format": "string"
  },
  "extractor": {
    "label": "Site (extractor)",
    "format": "string"
  },
  "duration": {
    "label": "Length (duration)",
    "format": "string"
  },
  "view_count": {
    "label": "Views (view_count)",
    "format": "number"
  },
  "best_resolution": {
    "label": "Quality (best_resolution)",
    "format": "string"
  },
  "best_url_kind": {
    "label": "Link type (best_url_kind)",
    "format": "string"
  },
  "best_url": {
    "label": "Direct link (best_url)",
    "format": "string"
  },
  "webpage_url": {
    "label": "Source page (webpage_url)",
    "format": "string"
  }
}
```

## How it works

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

The yt-dlp Video Link Extractor API - Any URL, 1000+ Sites Actor is ready to run with the inputs already set for "YouTube subtitles download: caption URLs in every language". [Sign up or log in](https://console.apify.com/create-task-from-example/7bnAmvLYB7bDy19I1) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube subtitles download: caption URLs in every language" task

The yt-dlp Video Link Extractor API - Any URL, 1000+ Sites Actor will start running based on the input automatically. You can also change all the input fields, like video urls (urls), all formats (includeformats), and more, to match your specific use case.

### 3. Receive the "YouTube subtitles download: caption URLs in every language" 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 video title (title), site (extractor), length (duration), 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 "YouTube subtitles download: caption URLs in every language" task via API](https://apify.com/anshumanatrey/yt-dlp-video-link-extractor.md).

## About this Actor

This example demonstrates how to use [yt-dlp Video Link Extractor API - Any URL, 1000+ Sites](https://apify.com/anshumanatrey/yt-dlp-video-link-extractor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/anshumanatrey/yt-dlp-video-link-extractor.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/anshumanatrey/yt-dlp-video-link-extractor.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`).
