YouTube Transcript AI

v1.3.0
ai.youtube-transcript/youtube-transcript Checked 4 days ago Published 1 month ago

Read YouTube transcripts and search what people say across 425k videos.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_youtube_transcript Get YouTube transcript

Fetch the full text transcript of a YouTube video. Accepts a YouTube URL (watch, youtu.be, shorts, embed) or a bare 11-character video ID, and returns the transcript as plain text with title and metadata. Optionally pass a BCP-47 language code to select a specific caption track. Very long transcripts (multi-hour videos) come back in parts of up to 120,000 characters: when there is more, the result ends with a note giving the offset to pass on the next call.

ParameterTypeDescription
video *stringYouTube video URL or 11-character video ID
langstringOptional BCP-47 language code, e.g. "en", "zh-CN", "es". Omit for the default track.
offsetintegerOptional. Character position to continue a long transcript from. Use the value given in the note at the end of the previous part. Omit to start from the beginning.

search_youtube_videos Search YouTube videos

Search YouTube and return matching videos with channel, view count and duration. Use it first when researching a topic: run several differently-worded queries (and in more than one language), then read the best hits with get_youtube_transcript, find_in_transcript or get_transcripts_batch. Optional filters on views and length.

ParameterTypeDescription
query *stringSearch words, e.g. "how I improved my English speaking"
limitintegerHow many videos to return. Default 15.
max_minutesnumberDrop videos longer than this many minutes.
min_minutesnumberDrop videos shorter than this many minutes.
min_viewsintegerDrop videos with fewer views than this.
sortstringrelevance (default) or date (newest first).

find_in_transcript Find in transcript

Find where a video talks about something. Give one or more keywords and get back only the matching passages, each with a timestamp and a link that opens the video at that moment. Far cheaper than reading the whole transcript when you are looking for specific points. Matching is a case-insensitive text match, so try synonyms and spelling variants (auto-captions often mis-hear names).

ParameterTypeDescription
keywords *arrayWords or short phrases to look for (up to 8). A passage matches if it contains any of them.
video *stringYouTube video URL or 11-character video ID
contextintegerParagraphs (about 30 seconds each) to include before and after each match. Default 1.
langstringOptional BCP-47 caption language code. Omit for the default track.
max_hitsintegerMaximum passages to return. Default 8.

get_transcripts_batch Get transcripts batch

Read the transcripts of several videos in one call (up to 5, or 25 on the Ultra plan), each cut to a length you choose, so you can skim a set of search results without filling your context. Each video counts as one request against your daily quota. For the rest of a long video use find_in_transcript or get_youtube_transcript.

ParameterTypeDescription
videos *arrayYouTube URLs or 11-character video IDs (up to 5, or 25 on the Ultra plan; get_account_status shows the limit for this key).
langstringOptional BCP-47 caption language code applied to every video.
max_chars_eachintegerCharacters of transcript to keep per video. Default 6000.

get_video_details Get video details

Get the facts about one video without its transcript: title, channel, views, length, publish date, which caption languages exist (human-made or auto-generated), the full description, and the chapter list with a link to each chapter. Use it to decide whether a video is worth reading, to find the right lang code, or to read one chapter at a time with get_transcript_section.

ParameterTypeDescription
video *stringYouTube video URL or 11-character video ID

get_transcript_section Get transcript section

Read only part of a transcript, between two timestamps, e.g. one chapter of a long podcast or the ten minutes around a moment found with find_in_transcript. Much smaller than the full transcript.

ParameterTypeDescription
from *stringStart time: "12:30", "1:02:00", or seconds like "750".
video *stringYouTube video URL or 11-character video ID
langstringOptional BCP-47 caption language code. Omit for the default track.
tostringEnd time in the same formats. Omit to read to the end.

find_in_videos Find in videos

Search several videos for the same keywords in one call and get back only the matching passages, grouped by video, plus which videos never mention them. Use it to check a set of search results or a channel's latest uploads for a topic without reading them all. Up to 5 videos per call, or 25 on the Ultra plan; each video counts as one request.

ParameterTypeDescription
keywords *arrayWords or short phrases to look for (up to 8). Try synonyms and likely mis-hearings.
videos *arrayYouTube URLs or 11-character video IDs.
contextintegerParagraphs (about 30 seconds each) before and after each match. Default 1.
langstringOptional BCP-47 caption language code applied to every video.
max_hits_eachintegerPassages to return per video. Default 3.

latest_from_channels Latest from channels

See what several channels uploaded most recently, in one call: the newest videos of each channel, newest first. Use it as a watchlist ("anything new from these creators?"), then skim the new videos with get_transcripts_batch or check them for a topic with find_in_videos. Up to 5 channels per call, or 25 on the Ultra plan; each channel counts as one request.

ParameterTypeDescription
channels *arrayChannels as @handles, channel URLs or playlist URLs.
per_channelintegerHow many recent videos per channel. Default 5.

get_video_comments Get video comments

Fetch the top comments of a YouTube video (YouTube's "top" ordering, replies not included), with like counts. Comments are where viewers report what worked for them, which makes them useful for checking claims made in the video.

ParameterTypeDescription
video *stringYouTube video URL or 11-character video ID
limitintegerHow many comments. Default 30.

list_channel_videos List channel videos

List the latest videos of a YouTube channel or playlist, with view count and duration. Use it to follow a creator who looks credible, or to cover a playlist. Returns at most 50 videos per call; to go further, call again with offset set to the number of videos already read (the result ends with the offset to use). Reaches up to the first 500 videos.

ParameterTypeDescription
channel *stringA channel @handle (e.g. "@RachelsEnglish"), a channel or playlist URL.
limitintegerHow many videos. Default 20.
offsetintegerOptional. How many videos to skip, to read the next page. Use the value given at the end of the previous result. Default 0.

get_account_status Get account status

Show the plan of the API key on this connection (Free or Pro), the daily request quota, how many requests were used today, how many remain, when the quota resets, and the per-call limits of the tools. Free: it does not use any quota. Call it before a large job to check the quota is enough.

search_spoken_words Search spoken words

Search what people actually say inside YouTube videos. Full-text search over about 100 million spoken sentences from about 425,000 English-language videos (the ones users looked up on youtube-transcript.ai), with typically 1 to 8 million new sentences added every day. Returns matching sentences, each with the video, channel and a link that opens the video at that moment. Use it to find evidence and quotes, to see how people talk about a topic, product or phrase, or to find which videos mention something. Captions are auto-generated and often mis-hear names (for example "Claude Code" is often w…

ParameterTypeDescription
query *stringA word or short phrase (up to 8 words), e.g. "claude code" or "break the ice". Plain words only, no search operators.
also_matcharrayOther spellings or mis-hearings to count as the same thing, e.g. ["cloud code"]. Up to 5.
channelstringOnly this channel: a channel ID (UC...) or part of the channel name.
limitintegerHow many sentences to return. Default 10.
sincestringOnly captions captured on or after this date, YYYY-MM-DD.
untilstringOnly captions captured on or before this date, YYYY-MM-DD.

get_spoken_context Get spoken context

Read what was said around a moment in a video: the sentences before and after a timestamp. Use it after search_spoken_words to see what a matching sentence was part of, before you quote or rely on it. Works for videos in the library only.

ParameterTypeDescription
seconds *numberThe moment to read around, in seconds from the start of the video.
video *stringYouTube video ID or URL, as returned by search_spoken_words.
windowintegerSeconds to include before and after. Default 20.

rank_videos_by_topic Rank videos by topic

Find the videos that talk about something the most, ranked by how many sentences mention it. Better than searching titles when you want the videos that really go deep on a topic. Each result has the number of mentions, the first mention and a link. Read the best ones with get_youtube_transcript or find_in_transcript. Same library, caption quirks and dates as search_spoken_words.

ParameterTypeDescription
query *stringA word or short phrase (up to 8 words).
also_matcharrayOther spellings or mis-hearings to count as the same thing. Up to 5.
channelstringOnly this channel: a channel ID (UC...) or part of the channel name.
limitintegerHow many videos. Default 10.
sincestringOnly captions captured on or after this date, YYYY-MM-DD.
untilstringOnly captions captured on or before this date, YYYY-MM-DD.

rank_channels_by_topic Rank channels by topic

Find which channels talk about something the most, ranked by mentions, with how many of their videos mention it. Use it to find who covers a topic: creators to follow, experts, or partners. Same library, caption quirks and dates as search_spoken_words.

ParameterTypeDescription
query *stringA word or short phrase (up to 8 words).
also_matcharrayOther spellings or mis-hearings to count as the same thing. Up to 5.
limitintegerHow many channels. Default 10.
sincestringOnly captions captured on or after this date, YYYY-MM-DD.
untilstringOnly captions captured on or before this date, YYYY-MM-DD.

spoken_mentions_over_time Spoken mentions over time

Count how often something is mentioned over time, by day, week or month. Each period shows the mentions and the rate per million spoken sentences, so busy and quiet periods compare fairly. Use it to see whether a topic is rising or fading. The date is when we captured the captions, not when the video was published, and the first day (2026-09-13) holds a one-off backfill of earlier captions, so compare the rate, not the raw count, and be careful with that first period.

ParameterTypeDescription
query *stringA word or short phrase (up to 8 words).
also_matcharrayOther spellings or mis-hearings to count as the same thing. Up to 5.
bucketstringPeriod size. Default week.
channelstringOnly this channel: a channel ID (UC...) or part of the channel name.
sincestringStart date, YYYY-MM-DD.
untilstringEnd date, YYYY-MM-DD.