Extract, transcribe, and translate YouTube video transcripts using the YouTubeTranscript.dev V2 API. Supports captions, ASR audio transcription, batch processing (up to 100 videos), translation to 100+ languages, and multiple output formats.
Use this skill when the user wants to extract transcripts from YouTube videos, transcribe videos without captions, translate video content, or process multiple videos in batch.
When to Use
User asks to get a transcript/subtitles/captions from a YouTube video
User wants to transcribe a YouTube video that has no captions (ASR)
User wants to translate a YouTube video transcript to another language
User needs to process multiple YouTube videos at once
User wants to build an AI/LLM pipeline that uses YouTube video content
User wants to repurpose video content into text (blog posts, summaries, etc.)
API Overview
Base URL:https://youtubetranscript.dev/api/v2
Authentication: Bearer token via Authorization: Bearer YOUR_API_KEY
This returns immediately with status: "processing". Results are delivered to the webhook URL when ready. Poll with GET /api/v2/jobs/{job_id} if not using webhooks.
Error Handling
HTTP Status
Error Code
Description
400
invalid_request
Invalid JSON or missing required fields
401
invalid_api_key
Missing or invalid API key
402
payment_required
Insufficient credits
404
no_captions
No captions available and ASR not used
429
rate_limit_exceeded
Too many requests — check Retry-After header
Important Notes
Always ask the user for their API key if they haven't provided one. Free keys are available at youtubetranscript.dev.
Omitting the language parameter returns the best available transcript without translation (saves credits).
ASR is async — always use a webhook URL or poll the jobs endpoint.
Batch endpoint accepts both YouTube URLs and 11-character video IDs.
Re-fetching an already-owned transcript costs 0 credits.