YouTube Video API
Fetch public YouTube data — channel details, videos, Shorts, community posts, playlists, and search, plus URL-resolution helpers.
Video
7 endpoints- Get caption track (v2)GETReturns one caption track from required caption_source. Optional caption_style controls formatting and translation_code requests a translation.
/v2/youtube/subtitle1 cr - Get transcript (v2)GETReturns timed transcript segments for required video_reference. Optional language_code selects the transcript language.
/v2/youtube/transcript1 cr - Get video details (v2)GETReturns metadata for one or more required comma-separated video_references. Optional region and language fields localize the response.
/v2/youtube/video1 cr - List caption tracks (v2)GETReturns caption tracks for required video_reference. Optional caption_style and language_code control formatting and language.
/v2/youtube/subtitles1 cr - List download streams (v2)GETReturns stream metadata and available media links for required video_reference and viewer_region. Optional language_code localizes metadata.
/v2/youtube/download1 cr - List related videos (v2)GETReturns videos and playlists related to required video_reference. Optional localization and page_cursor control results.
/v2/youtube/related1 cr - List video comments (v2)GETReturns comments for required video_reference. Optional region, language, ordering, and page_cursor control results.
/v2/youtube/comments1 cr