docs / youtube

YouTube

Video details, search, comments and transcripts.

base /youtube/v15 endpoints
post/youtube/v1/video_detail1 credit

video metadata: title/views/likes/date/channel/description (+ duration/keywords/thumbnails/caption-langs best-effort)

ParameterAllowed / rangeDescription
video_idrequiredYouTube video id (11 chars) or any watch/youtu.be/shorts/embed URL.
Try in playground →
post/youtube/v1/comments1 credit

video comments (text/author/likes/replies), paginated

ParameterAllowed / rangeDescription
video_idoptionalYouTube video id (11 chars) or any watch/youtu.be/shorts/embed URL.
limit = 20optional1–200How many items to return (1-200). Paged internally; clamped to range.
continuationoptionalNext-page token from a previous response's `continuation` (provide this instead of the primary id to fetch the next page).
Try in playground →
post/youtube/v1/channel1 credit

channel detail: subs/videoCount/description/links

ParameterAllowed / rangeDescription
channel_idrequiredChannel id (UC…), an @handle, or a channel URL — any one resolves the channel.
Try in playground →
post/youtube/v1/transcript1 credit

video transcript/captions (timed segments + full text) select any language the video has via 'lang'; format=text|segments

ParameterAllowed / rangeDescription
video_idrequiredYouTube video id (11 chars) or any watch/youtu.be/shorts/embed URL.
lang = enoptionalPreferred caption language code (e.g. en, es, de). Falls back to an available track; see available_languages in the response.
format = segmentsoptionalsegments · textOutput shape. 'text' omits the per-cue segments[] array.
Try in playground →