YouTube Video API
Any public YouTube video as stable JSON — title, full description, channel, publish time, duration, exact views, likes and comments, tags and thumbnails.
https://api.endpointry.com/v1/youtube/videoRick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)
The official video for “Never Gonna Give You Up” by Rick Astley.
- Channel name
- Rick Astley
- Published at
- 2009-10-25T06:57:33.000Z
- Duration seconds
- 214
- Views
- 1,840,584,609
- Likes
- 19,517,649
- Comments
- 2,462,540
Thumbnails · showing 2 of 2
https://i.ytimg.com/vi/dQw4w9WgXcQ/default.jpg
https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg
Checking live calls…
What you get
Returns a public video by id or link: title, full description, channel, publish time, duration, exact view, like and comment counts, tags, live state and every thumbnail size.
- Description — The full description; null when it is empty
- Duration seconds — Null while the video is a live stream in progress
- Views
- Likes — Null when YouTube shows no like count for the video
- Comments — Null when YouTube shows no comment count for the video
- Tags — The tags the uploader set; empty when there are none
- Is live — Whether the video is a live stream in progress
- Thumbnails — Every size offered, smallest first
Use cases
What teams build with it
- Video performance tracking with exact view, like and comment counts
- Enriching YouTube links in your product with titles, durations and thumbnails
- Content and competitor research across channels
- Metadata for media monitoring and LLM pipelines, in a schema that never shifts
FAQ
Frequently asked questions
What do I pass as the id?
The 11-character video id, or any video link: youtube.com/watch?v=…, youtu.be/…, /shorts/… or /live/…. The id is read from the link for you.
Are the counts exact?
Yes. This endpoint returns exact view, like and comment counts; likes and comments are null when YouTube shows no count for them.
Does it work for live streams and Shorts?
Yes. A stream in progress has is_live: true and duration_seconds: null; a Short is a video like any other, with its length.
How fresh is the data?
Videos are cached for up to 15 minutes; meta.as_of carries the exact time the video was read.
More from the YouTube API
Try it on the free plan
One key covers the whole catalog, this endpoint included, starting on the free plan with no card.