Get YouTube video transcripts
get_youtube_transcriptsExtract clean, timed YouTube transcripts plus metadata from videos, playlists, channels, or searches for summaries, RAG, research, and content repurposing.
Instructions
Full transcripts of YouTube videos, and of every video in a playlist, a channel (newest first) or a YouTube search, as clean text plus timed caption lines, with title, channel, publish date, length, views, description and keywords. Picks the caption language you prefer (a written transcript over an auto-generated one) and can translate (best effort). Use for summaries, RAG, research and content repurposing. Runs the Apify Actor tacps126/youtube-transcripts on your Apify account (about $0.0025 per transcript (videos without captions are free); spend per call is capped at $0.5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videos | No | Video links or ids, playlist links, channel @handles or channel links. | |
| searches | No | YouTube searches whose top videos to read, e.g. ["rust async tutorial"]. | |
| languages | No | Caption languages in order of preference, e.g. ["en", "de"] (default en). | |
| max_items | No | Maximum results to return (default 20, max 500). Cost scales with this. | |
| extra_input | No | Advanced: extra Actor input fields, merged over the defaults. | |
| translate_to | No | Language code to translate the captions into (best effort). | |
| include_segments | No | Add every caption line with its start time. Off = plain text only. | |
| max_videos_per_source | No | Videos taken from each playlist, channel or search. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Name of the tool that produced the result. | |
| count | Yes | Number of records the Actor returned. | |
| items | Yes | The records. Long text fields are shortened to 600 characters. | |
| shown | Yes | Number of records included in `items` (can be lower than count when the result is long). | |
| truncated | Yes | True when records were left out to keep the result short; ask for fewer items. |