218
All tools

Get a YouTube transcript

Returns the transcript of one YouTube video, from a URL or video ID, with optional per-line timestamps and a caption language.

Updated Nov 16, 2026

get-youtube-transcript.md

Get a YouTube transcript

Returns the transcript of one YouTube video, from a URL or video ID, with optional per-line timestamps and a caption language.

Note: Costs 1 credit, with or without timestamps; language defaults to en. The free GET /transcript/languages lists a video's caption languages first: an empty list means captions are off and there is no transcript to get.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "getyoutubetranscript": { "url": "https://getyoutubetranscript.com/api/mcp" } } }

Call the MCP tool get_youtube_transcript.

Server URL: https://getyoutubetranscript.com/api/mcp

CLI (official)

Install the command, then confirm it runs.

npm install -g @tubeagentkit/cli
gyt --version

Run gyt transcript.

Set $GYT_API_KEY in your environment first (get a key: https://getyoutubetranscript.com/dashboard).

API (official)

Note: Transcripts, searches and channel video pages cost 1 credit each, and failed requests cost nothing. GET /credits is free, the cheapest check of a key. New accounts get 100 free credits, no card.

Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
  • Never print API keys.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remoteget_youtube_transcriptOAuthDocs
CLIOfficialgyt transcriptAPI key in $GYT_API_KEYDocs
APIOfficialGET /transcriptAPI key in $GYT_API_KEYDocs

Workflows using Get a YouTube transcript

No workflows yet
No published workflow uses Get a YouTube transcript yet.