Fetch YouTube transcripts, timestamped segments, video metadata and chapters as clean JSON for RAG, LLMs, spreadsheets and AI agents. Built for fast, reliable bulk runs at scale.
YouTube videos to fetch: watch URLs, youtu.be links, /shorts/, /embed/ or /live/ links, or bare 11-character video IDs (1-1,000 unique videos). One dataset row is delivered per submitted entry: a transcript row when the transcript is delivered, a status row ({videoId, url, status}) when it is not, or a free invalid_input row ({url, inputIndex, status, reason}) when the entry is not a YouTube link. Duplicates are collapsed in input order. Billed: delivered transcripts and content-outcome statuses (no_captions, unavailable, no_requested_language, age_restricted); free: infrastructure failures and invalid_input. A batch of bad links never fails the run.
Type:string[]
Min. items:1
Max. items:1000
Preferred transcript language
preferredLanguage
Optional
Choose the transcript language from the dropdown. Each option shows its YouTube language code in parentheses (Czech is cs, not the country code CZ); pick Other to enter a code that is not listed. Manual captions beat auto-generated (ASR) for the same language; a regional match (en-US/en-GB) and then the base language (en for en-US) are tried before the any-language fallback.
Used only when Preferred transcript language is Other. Enter an ISO/YouTube code such as en-US, zh-Hans or pt-PT. Ignored for the listed languages.
Type:string
Max. length:20
Fall back to any available language
fallbackToAnyLanguage
Optional
When the preferred language is unavailable, take the first manual track (or the first track) instead of recording no_requested_language. Must be a real boolean. Default: true.
Type:boolean
Default:true
Include timestamped segments
includeTimestamps
Optional
Include the segments array ([{start, duration, end, text}]) alongside the plain transcriptText. segmentCount is always reported. Must be a real boolean. Default: true.
Type:boolean
Default:true
Include video chapters (extra request)
includeChapters
Optional
Extract creator-added chapter markers ({title, startSeconds, timeText}; timeText is nullable when YouTube omits it). Chapters exist only when the creator added them; a video without chapters yields chapters: []. If chapter markers cannot be retrieved, chapters stays [] and the reason is recorded in RUN_SUMMARY.chaptersUnavailable. Default: false.
Type:boolean
Default:false
Max videos
maxVideos
Optional
Maximum number of unique videos processed in one run (1..1000). Videos beyond this cap are counted in RUN_SUMMARY.videosSkippedOverCap and the state becomes partial with partialReason video_cap. At the defaults (25-minute deadline, 4 workers, 1.5 s pacing) 1,000 videos fit comfortably; with 1 worker, 1,000 needs a longer deadline. Default: 100.
Type:integer
Minimum:1
Maximum:1000
Default:100
Parallel workers
concurrency
Optional
How many videos are processed in parallel (1..8, clamped at run time). Each worker keeps its own pacing gap, so the batch finishes about concurrency times faster while every network lane still sees the same per-IP request rate. The effective value is capped by the number of healthy network lanes available to the run. Set 1 for the old sequential behavior when isolating a problem. An out-of-range value is clamped and recorded in the run notes. Default: 4.
Type:integer
Minimum:1
Maximum:8
Default:4
Pacing between videos (seconds)
pacingSeconds
Optional
Delay between videos for each worker in seconds (0.5..30, clamped at run time). The gap is per worker: the aggregate launch rate is concurrency / pacingSeconds, while each exit IP keeps the same per-IP rate. Default: 1.5.
Type:number
Minimum:0.5
Maximum:30
Default:1.5
Fail-safe deadline (minutes)
maxDurationMinutes
Optional
Hard wall for the whole run, 1..59 minutes (clamped). On expiry running stops, transcripts already delivered are kept, and RUN_SUMMARY records state timed_out with partialReason deadline. A single stalled video is capped at 20 seconds (reported as video_timeout), so it cannot consume the run. Budget roughly maxVideos x (1.6 + pacingSeconds) / concurrency seconds plus slow-video headroom; the defaults comfortably fit 1,000 videos. Default: 25.