YouTube Video Details API
Full YouTube video metadata — title, views, likes, description, keywords, thumbnails, and available formats. Video intelligence from $0.02/call.
Retrieve comprehensive video metadata including title, description, view count, likes, channel info, keywords, thumbnails, and available formats. Uses 6 quota units upstream.
Try it live
Fill in the fields and hit Run to see a real response.
{
"ok": true,
"data": {
"status": "OK",
"id": "dQw4w9WgXcQ",
"title": "Rick Astley - Never Gonna Give You Up (Official Video)",
"channelTitle": "Rick Astley",
"viewCount": "1756095483",
"likeCount": "18882500",
"lengthSeconds": "213",
"keywords": [
"rick astley",
"Never Gonna Give You Up"
]
}
}Features
One call to /v1/youtube/video returns title, description, viewCount, and likeCount as exact numbers — e.g. 1,756,095,483 views and 18,882,500 likes for a single video ID.
Each response includes the owning channelTitle and channel details, so you can attribute a video to its creator without a separate channel lookup.
Returns the creator's keywords array (e.g. ['rick astley', 'Never Gonna Give You Up']) — the tags YouTube uses for ranking, useful for SEO and topic analysis.
Get every thumbnail resolution YouTube generates for the video, so you can pick the right size for embeds, previews, or grid layouts.
Lists the available muxed and adaptive formats with their qualities, for media-processing pipelines that need to know what streams exist.
Use cases
Video Analytics
Track video performance metrics over time — views, likes, and engagement for any YouTube video.
Content Database
Build a searchable database of YouTube video metadata for your platform or research project.
Thumbnail Extraction
Get high-resolution thumbnails for video embedding or preview generation in your app.
Channel Monitoring
Monitor specific videos or channels for view count milestones and engagement changes.
Media Processing
Access available video formats and qualities for media processing pipelines.
Quick start
Copy this snippet and start making calls.
const res = await fetch('https://api.yepapi.com/v1/youtube/video', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"id": "dQw4w9WgXcQ",
"geo": "US"
}),
});
const data = await res.json();
console.log(data);The YouTube Video Details API — every field for one video ID
Send a single video ID like dQw4w9WgXcQ to /v1/youtube/video and get back the complete picture: exact viewCount and likeCount, lengthSeconds, full description, the creator's keywords array, every thumbnail size, and the available stream formats. It's the deep-metadata endpoint — where Search gives you a list, this gives you everything about one video.
This is the heavyweight read of the YouTube suite, billed at $0.02 per call because it pulls formats and the full keyword set. If you only need title, views, likes, and description without stream URLs, the lighter Video Info endpoint costs $0.01; for live view-count polling, Metadata is cheaper still.
What is a YouTube Video Details API?
A YouTube Video Details API takes a single video ID and returns every available field about that one video as structured JSON. That means exact engagement numbers (viewCount, likeCount), lengthSeconds, the full description text, the channel that owns it, the keywords the creator tagged it with, all thumbnail resolutions, and the list of downloadable video and audio formats. Where a search endpoint returns shallow data across many videos, this returns deep data about one — it's the endpoint you call once you already have an ID and need the full record for analytics, cataloging, or media processing.
Build your own video intelligence tool
Use the keywords array to reverse-engineer how top creators tag their videos, then build an SEO advisor that suggests tags for a given topic. Or track a list of video IDs on a schedule, storing viewCount and likeCount over time to chart engagement velocity and catch milestones. The available formats make it the natural first step in a media pipeline: read what qualities exist, then hand off to your downloader or transcoder. Combine with the Transcript endpoint and you have both the metadata and the words for a full content database.
YouTube Video Details API pricing — $0.02/call
This endpoint costs $0.02 per call because it resolves the full record including stream formats and the keyword set — it uses six quota units upstream. There's no daily cap. If your use case doesn't need formats or keywords, the Video Info endpoint returns the core metadata for $0.01, and Metadata returns just live view and like counts for $0.01 — pick the cheapest endpoint that has the fields you actually use.
When to use Video Details over Video Info
Reach for Video Details when you need the keywords array, multiple thumbnail sizes, or the available stream formats — none of which the lighter endpoints return. If you only need title, channel, views, likes, description, and publish date, Video Info covers that for half the price. A common pattern: run a cheap Video Info pass across thousands of IDs, then upgrade only the videos you care about to a full Video Details call.
Try the YouTube Video Details API free
Get $5 of free credit at signup with no card required — enough for 250 full-detail lookups. Test it against any video ID and inspect the keywords, formats, and exact engagement numbers before you build.
Start making API calls in 30 seconds
$5 free credit on signup. No credit card required. Pay per call.
What developers say
“Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.”
“One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.”
“The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.”
Frequently asked questions
Retrieve comprehensive video metadata including title, description, view count, likes, channel info, keywords, thumbnails, and available formats. Uses 6 quota units upstream.
Each API call costs $0.02. No monthly minimums or subscriptions — you only pay for what you use.
Sign up for a free API key, then send a POST request to /v1/youtube/video. Check the code example above for a ready-to-use snippet in JavaScript, cURL, or Python.
YepAPI bundles SEO, AI, and web scraping APIs under one key with no monthly minimums. You get lower per-call pricing, a unified dashboard, and one billing account instead of managing multiple providers.
Ready to integrate?
Get your API key and start making calls in 30 seconds. $5 free credit on signup — no credit card required.
More youtube api endpoints
Search
$0.01YouTube search API — find videos, channels, and playlists with filters for date, duration, and type. Structured JSON results from $0.01/call.
Comments
$0.01YouTube comments API — fetch top-level comments and replies with author info, likes, and timestamps. Sentiment analysis and engagement research from $0.01/call.
Related Videos
$0.01YouTube related videos API — discover recommended videos for any video ID. Content suggestion and competitor video research from $0.01/call.