YouTube Video API
Extract comprehensive video metadata from YouTube including titles, descriptions, thumbnails, view counts, channel information, and engagement metrics. Perfect for content management, analytics, and video discovery applications.
curl
-X GET
"https://api.vcyon.com/v1/youtube/video?videoId=dQw4w9WgXcQ"
\
-H
"Authorization: Bearer YOUR_API_KEY"
# Response
{
"title": "Rick Astley - Never Gonna Give You Up",
"viewCount": 1445963252,
"channel": {"name": "Rick Astley"}
}
Comprehensive YouTube Video Data Extraction
Our YouTube Video API provides complete access to video metadata, engagement metrics, and channel information for building powerful applications.
- Full metadata extraction
- Real-time data
- Structured JSON format
- Multiple resolutions
- Various aspect ratios
- Direct image URLs
- Channel metadata
- Subscriber counts
- Channel verification status
- View statistics
- Engagement data
- Performance metrics
- Category information
- Tag extraction
- Content classification
- Multi-region support
- Language detection
- Localized metadata
YouTube Video API Data Fields
Complete reference of all data fields available through our YouTube Video API endpoint.
Field | Type | Description |
---|---|---|
id | string | Unique YouTube video identifier |
title | string | Video title |
description | string | Video description text |
thumbnails | array | Array of thumbnail objects with URLs and dimensions |
category | string | Video category (Music, Education, etc.) |
tags | array | Array of video tags/keywords |
duration | number | Video duration in seconds |
channel | object | Channel information including name, ID, and URL |
viewCount | number | Total view count |
likeCount | number | Total like count |
publishedAt | string | Publication date in ISO 8601 format |
transcriptLanguages | array | Available transcript languages |
YouTube Video API Code Examples
Get started quickly with our comprehensive code examples in multiple programming languages.
// Extract YouTube video information with JavaScript const response = await fetch('https://api.vcyon.com/v1/youtube/video?videoId=dQw4w9WgXcQ', { headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' } }); const videoData = await response.json(); // Access video information console.log('Title:', videoData.title); console.log('Channel:', videoData.channel.name); console.log('Views:', videoData.viewCount.toLocaleString()); console.log('Duration:', videoData.duration, 'seconds'); console.log('Published:', new Date(videoData.publishedAt)); // Access thumbnails videoData.thumbnails.forEach(thumbnail => { console.log(`Thumbnail: ${thumbnail.width}x${thumbnail.height} - ${thumbnail.url}`); }); // Check available transcript languages if (videoData.transcriptLanguages.length > 0) { console.log('Available transcripts:', videoData.transcriptLanguages); }
YouTube Video API Use Cases
Discover how businesses and developers are using our YouTube Video API to build innovative applications and solve real-world problems.
Common Applications:
Common Applications:
Common Applications:
Common Applications:
Common Applications:
Common Applications:
YouTube Video API Documentation
Complete API reference, parameters, response formats, and integration guides for the YouTube Video API.
/v1/youtube/video
Extract comprehensive video metadata and information
Parameters
videoId
RequiredYouTube video ID (11 characters)
{ "id": "dQw4w9WgXcQ", "title": "Rick Astley - Never Gonna Give You Up", "description": "The official video...", "thumbnails": [ { "url": "https://i.ytimg.com/vi/.../maxres.jpg", "width": 1280, "height": 720 } ], "category": "Music", "tags": ["Rick Astley", "80s"], "duration": 212, "channel": { "id": "UCuAXFkgsw1L7xaCfnd5JJOw", "name": "Rick Astley", "url": "https://www.youtube.com/@RickAstley" }, "viewCount": 1445963252, "likeCount": 15234567, "publishedAt": "2009-10-25T06:57:33Z", "transcriptLanguages": ["English", "Spanish"] }
YouTube Video API FAQ
Common questions about our YouTube Video API service
The YouTube Video API is a professional service that extracts comprehensive metadata from YouTube videos including titles, descriptions, thumbnails, view counts, channel information, and engagement metrics. It provides developers with structured access to video data for building applications.
You can extract complete video metadata including title, description, thumbnails (multiple sizes), duration, view count, like count, channel information, publication date, category, tags, and available transcript languages. All data is returned in structured JSON format.
Our YouTube Video API provides real-time data that is updated regularly. View counts, like counts, and other engagement metrics reflect the most current information available from YouTube's platform.
Yes, our YouTube Video API returns multiple thumbnail sizes including default (120x90), medium (320x180), high (480x360), standard (640x480), and maxres (1280x720) when available. Each thumbnail includes the direct URL, width, and height.
Our YouTube Video API can only extract data from publicly available videos. Private, unlisted, or restricted videos cannot be accessed through our service as they require special permissions or authentication.
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.
Yes, our YouTube Video API is designed for commercial use. We offer different pricing tiers to accommodate various business needs, from startups to enterprise applications. All plans include commercial usage rights.
If a video has been deleted, made private, or is otherwise unavailable, our YouTube Video API will return an appropriate error response with details about why the video cannot be accessed. You should implement error handling in your application to manage these cases gracefully.
Ready to Build something amazing?
Start building with us today. Get your free API key and make your first call in under 5 minutes.