YouTube Transcript API
Pricing
from $1.76 / 1,000 transcripts
YouTube Transcript API
Get YouTube transcripts in supplied languages from videos, Shorts, channels and playlists. Export segments, plain text and video metadata.
YouTube Transcript API
Pricing
from $1.76 / 1,000 transcripts
Get YouTube transcripts in supplied languages from videos, Shorts, channels and playlists. Export segments, plain text and video metadata.
YouTube video IDs or HTTPS watch, youtu.be, Shorts, live or embed URLs; @handle or /channel/ID channel URLs; or /playlist?list=ID URLs. Omitted, null or empty means no work.
Inspect at most this many distinct video IDs per channel or playlist in source order. Failed, filtered and duplicate-in-run videos consume the source bound. Zero means no work. Single-video sources inspect one video. Range 0–200.
Try supplied caption language codes in this order, manual before auto within each language. If no preference matches, use the unique source default when eligible. If that default exists but is ineligible, use the first eligible track. If no unique source default exists, report CAPTION_SELECTION. No translation is requested.
[]Allow auto-generated caption tracks. False excludes them; a video with only auto captions goes to ERRORS.
Include segments with start and duration in seconds. Missing source duration is null. Captions are still fetched and validated when false.
Include plainText by joining nonempty source paragraphs with newlines. Captions are still validated when false.
Optional inclusive UTC calendar date YYYY-MM-DD or ISO timestamp with timezone. Applies within the per-source bound. Missing source publication time goes to ERRORS when filtering.