Submit transcripts batch
submit_transcripts_jobBatch-queue up to 4,000 YouTube transcripts in one async job and receive a job ID immediately. Submit video IDs, then poll for finished transcripts—avoiding slow per-video calls.
Instructions
Queue transcripts for MANY videos at once (up to 4000) and get a job_id back immediately — the work continues in the background. Use this instead of calling get_transcript in a loop for more than a handful of videos. Feed it video ids from list_channel_videos or list_playlist_videos (ids_only=true). Next: poll get_transcripts_job until status is 'done', reading finished transcripts from get_transcripts_results as they land. Costs 1 credit per video, charged on submit; duplicates are removed first. Requires a user key (sk_...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Track kind. Omit to prefer a manual track and fall back to auto | |
| lang | No | Language code for every video, e.g. 'en'. Default 'en'. | |
| format | No | 'text' = plain text (default), 'json' = timed segments, 'srt'/'vtt' = subtitle file body, 'srv3' = raw YouTube XML (srv3 does not combine with segment) | |
| videos | Yes | Video ids or URLs, up to 4000. Duplicates are collapsed. | |
| segment | No | Max characters per segment, for every video in the job. Raise it to 500-1500 when the transcripts are going into embeddings or retrieval. Left out, an auto-generated track is cut into ~180-character segments and a manual one keeps its author's own lines — so pass this when the whole job has to come back at one size. | |
| video_metadata | No | Include each video's title, channel and duration alongside its transcript. Replaces a get_video_info call per video and costs nothing extra. | |
| idempotency_key | No | Optional. Resubmitting the same list with the same key returns the SAME job instead of opening a second one and charging twice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| job_id | No | ||
| status | No | ||
| credits | No |