# osintverse-community/youtube-transcript-api

Downloads the transcript or subtitles of a YouTube video, including auto-generated ones

## Install and run

```sh
ot install osintverse-community/youtube-transcript-api
ot run osintverse-community/youtube-transcript-api --video_id dQw4w9WgXcQ
```

The first `ot run` installs the tool after asking once. New to `ot`? See https://otinstaller.com/docs/getting-started.

From an AI agent, through ot's MCP server (`ot mcp`):

```
run_tool {"tool":"osintverse-community/youtube-transcript-api","inputs":{"video_id":"dQw4w9WgXcQ"}}
```

## Inputs

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `video_id` | string | yes |  | The YouTube video ID (the v= part of the URL) |
| `language` | string | no | `en` | Language code to fetch, such as en or de (default en) |

## Outputs

Finds: document.

## What a run does

- Does not contact the target.
- Does not collect personal data.
- Does not need an account.
- Does not notify the target.
- Usually takes about 10 seconds.
- Connects to the internet.

An agent needs the person's consent before running this tool, because it goes online. See https://otinstaller.com/docs/agents#consent.

## Trust

- Latest version: 1.2.4
- Signed: no
- Verified publisher: yes
- Health: unknown
- Installs in the last 30 days: 0
- License: MIT
- Runtime: Python wheel (pipx), pinned by hash
- Repository: https://github.com/osintverse-community/youtube-transcript-api
- Packaged by the community from a third-party tool

## Links

- Web page: https://otinstaller.com/osintverse-community/youtube-transcript-api
- JSON: https://api.otinstaller.com/v1/tools/osintverse-community/youtube-transcript-api
- README: https://github.com/osintverse-community/youtube-transcript-api#readme
- Homepage: https://github.com/jdepoix/youtube-transcript-api
- Security details: https://otinstaller.com/osintverse-community/youtube-transcript-api/security
