Skip to content

YouTube API: Get video transcript

Returns the spoken captions and timed segments of a YouTube video, given a video link or a title (top search match). Only captions the video has are returned.

youtube.com (opens in a new tab)Version 3ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by YouTube.

Inputs

Values from the run on Oct 27, 2026, shown under Output.

Video, requiredvideo

A YouTube video link or its title, for example https://www.youtube.com/watch?v=Ks-_Mh1QhMc.

https://www.youtube.com/watch?v=Ks-_Mh1QhMc

Language optionallanguage

Caption language name or code, for example Spanish or es; defaults to the original caption language.

Default .

Output

From a run on Oct 27, 2026, shortened for this page.
{  "segments": [    {      "text": "Translator: Joseph Geni Reviewer: Morton Bast",      "start_time": "0:00",      "start_seconds": 0,      "duration_seconds": 7    },    {      "text": "So I want to start by offering you a free no-tech life hack,",      "start_time": "0:15",      "start_seconds": 15.967,      "duration_seconds": 5.398    },    {      "text": "and all it requires of you is this:",      "start_time": "0:21",      "start_seconds": 21.389,      "duration_seconds": 2.597    }  ],  "transcript": "Translator: Joseph Geni Reviewer: Morton Bast\nSo I want to start by offering you a free no-tech life hack,\nand all it requires of you is this:\nthat you change your posture for two minutes.\nBut before I give it away, I want to ask you to right now\ndo a little audit of your body and what you're doing …",  "video_link": "https://www.youtube.com/watch?v=Ks-_Mh1QhMc",  "video_title": "Your Body Language May Shape Who You Are | Amy Cuddy | TED",  "auto_generated": false,  "caption_language": "English",  "available_language_codes": [    "sq",    "ar",    "hy"  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
youtube.com/get_video_transcript
Returns
video title, link, caption language, auto-generated flag, transcript text, timed segments, available caption languages

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method youtube.com/get_video_transcript with the inputs above.

Ask your agent

  • Get me the full transcript of https://www.youtube.com/watch?v=dQw4w9WgXcQ with timestamps
  • What does the speaker actually say in Simon Sinek's 'Start With Why' TED talk? I need the text of the captions.
  • Pull the Spanish captions for https://youtu.be/8jPQjjsBbIc so I can study the vocabulary
  • I need the YouTube captions for 'How to Make Sourdough Bread Joshua Weissman' in plain text, and tell me if they're auto-generated
  • Which caption languages are available for this YouTube video, and can you give me the Japanese ones: https://www.youtube.com/watch?v=aircAruvnKk
  • Gets public details and statistics for one YouTube video by link, ID or title. A title selects the top search match.

    youtube.com/get_video
  • Gets public top-level comments on a YouTube video, found by link, video ID or title. Reply text is not included.

    youtube.com/get_video_comments
  • Gets a public YouTube channel's profile, links and statistics from its name, @handle or link. Subscriber totals may be rounded as YouTube displays them.

    youtube.com/get_channel
  • Lists a YouTube channel's public videos, Shorts, or live uploads, newest first or most popular first, along with channel details. Counts and dates taken from displayed text may be approximate.

    youtube.com/list_channel_videos
  • Lists the latest weekly YouTube Music Top Songs chart for a country or globally, with ranks, weekly views and video links.

    youtube.com/list_top_songs
  • Finds a company's verified YouTube channel by name and returns its name, link, subscriber count, description, country and official website when identifiable.

    youtube.com/find_company_channel
  • Translates up to 5,000 characters on Google Translate, with the detected source language, Latin-letter pronunciation when shown, and dictionary alternatives for words or short phrases.

    translate.google.com/translate_text
  • Gets a public Vimeo video's title, creator, play, like and comment counts, length, upload date, description, tags, thumbnail and link from its video link.

    vimeo.com/get_video