LLMLayer icon

LLMLayer

Search and answer questions using LLMLayer API

Actions5

YouTube → Get Transcript

AI-generated

Summary

Retrieve the transcript text of a YouTube video by providing its URL, optionally specifying the transcript language code.

Inputs

  • Video URL (required) — The full URL of the YouTube video for which to fetch the transcript.
  • Language — Optional language code (e.g., 'en') to specify the transcript language.

Output shape

a single JSON object containing the transcript data from the LLMLayer API

The response JSON structure depends on the LLMLayer API's /api/v1/youtube_transcript endpoint. Errors are returned in a JSON object with an 'error' field if the request fails.

Discussion