YouTube Transcript API
Extract accurate, timestamped transcripts from YouTube videos in 20+ languages. Perfect for accessibility, content analysis, AI training, and search functionality. Get started with our professional YouTube Transcript API today.
curl
-X GET
"https://api.vcyon.com/v1/youtube/transcript?videoId=dQw4w9WgXcQ&language=English"
\
-H
"Authorization: Bearer YOUR_API_KEY"
# Response
{
"language": "English",
"segments": [
{"start": 0, "end": 3000, "text": "We’re no strangers to love"}
]
}
Powerful YouTube Transcript Extraction Features
Our YouTube Transcript API provides comprehensive features for extracting, processing, and utilizing video transcripts at scale.
- Auto-detect language
- Manual language selection
- Fallback options
- Millisecond precision
- Start/end times
- Segment boundaries
YouTube Transcript API Code Examples
Get started quickly with our comprehensive code examples in multiple programming languages.
// Extract YouTube transcript with JavaScript const response = await fetch('https://api.vcyon.com/v1/youtube/transcript?videoId=dQw4w9WgXcQ&language=English', { headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' } }); const transcript = await response.json(); // Process transcript segments transcript.segments.forEach(segment => { if (segment.text) { const startTime = segment.start / 1000; // Convert to seconds console.log(`[${startTime}s] ${segment.text}`); } }); // Available languages console.log('Available languages:', transcript.transcriptLanguages);
YouTube Transcript API Use Cases
Discover how businesses and developers are using our YouTube Transcript API to build innovative applications and solve real-world problems.
Common Applications:
Common Applications:
Common Applications:
Common Applications:
Common Applications:
Common Applications:
YouTube Transcript API Documentation
Complete API reference, parameters, response formats, and integration guides for the YouTube Transcript API.
/v1/youtube/transcript
Extract timestamped transcripts from YouTube videos
Parameters
videoId
RequiredYouTube video ID (11 characters)
language
OptionalLanguage name (e.g., "English", "Spanish")
{ "language": "English", "transcriptLanguages": [ "English", "Spanish", "French" ], "segments": [ { "start": 0, "end": 3000, "text": "Welcome to our video" }, { "start": 3000, "end": 6000, "text": "Today we'll discuss..." } ] }
YouTube Transcript API FAQ
Common questions about our YouTube Transcript API service
The YouTube Transcript API is a professional service that extracts accurate, timestamped transcripts from YouTube videos in multiple languages. It provides developers with easy access to video transcript data for applications like accessibility, content analysis, and AI training.
Our YouTube Transcript API provides high-accuracy transcripts with millisecond-level timestamps. The accuracy depends on the original video's audio quality and whether auto-generated or manual captions are available. We support both auto-generated and human-created transcripts.
We support multiple languages based on availability of languages in the video.
Auto-generated transcripts are created automatically by YouTube's speech recognition technology, while manual transcripts are created by humans. Manual transcripts are typically more accurate but not available for all videos. Our API provides access to both types when available.
Our YouTube Transcript API can only extract transcripts from publicly available videos that have captions enabled. Private, unlisted, or videos without captions cannot be processed through our service.
Rate limits depend on your subscription plan: Free tier allows 60 requests/minute, Professional plan allows 300 requests/minute, and Enterprise plans offer custom rate limits. All plans include generous monthly credit allowances.
If a video doesn't have transcripts available, our API will return an appropriate error message. You can check the 'transcriptLanguages' field in the video info endpoint first to see what transcript languages are available before making a transcript request.
Yes, our YouTube Transcript API operates within YouTube's terms of service by accessing only publicly available transcript data. We don't scrape or violate any platform policies, ensuring your applications remain compliant.
Start Using YouTube Transcript API Today
Start building with us today. Get your free API key and make your first call in under 5 minutes.