TubeLab icon

TubeLab

Get trending YouTube channels and outlier videos data for any niche.

Video → Transcript

AI-generated

Summary

Fetch the transcript of a specified YouTube video, including timestamps.

Inputs

  • videoId (required) — The YouTube Video ID to fetch. Found at the end of the URL https://youtube.com/watch?v=VIDEO_ID.
  • requestOptions — Additional options for the request, including batching, SSL validation, proxy configuration, and timeout.

Output shape

a transcript containing the video text and timestamps

Ensure the Video ID is valid; otherwise, an error will be returned. Response may vary depending on the video's available transcript.

Examples

Example 1: Retrieving the transcript of a video with ID 'abc123'

Set the Video ID parameter to 'abc123'.

Discussion