Logo

YouTube Transcript

Authentication Type: API Key
Description: Fetch transcripts from YouTube videos with precise timing information for content analysis and accessibility.


Transcript Operations

Retrieve video transcript data.

Get Video Transcript

Fetch the transcript for a YouTube video by video ID.

Operation Type: Mutation (Write)

Parameters:

  • videoId string (required): The YouTube video ID to get transcript for (e.g., "dQw4w9WgXcQ")

Returns:

  • transcript array of objects: Array of transcript segments with timing information
    • text string: The transcript text segment
    • start number: Start time in seconds
    • duration number: Duration of the segment in seconds

Example Usage:

{
  "videoId": "dQw4w9WgXcQ"
}

Common Use Cases

Content Analysis:

  • Extract video content for text analysis and sentiment research
  • Create searchable transcripts for video content libraries
  • Analyze speech patterns and keyword usage in videos

Accessibility:

  • Generate closed captions and subtitles for videos
  • Create text-based summaries of video content
  • Enable text search within video content

Research and Documentation:

  • Extract quotes and key points from educational videos
  • Create timestamped notes and references
  • Analyze presentation structure and content flow