Skip to content

Get a YouTube video's details

POST/v1/tools/youtube.video.detail/callsNeeds an API key

Returns one YouTube video's title, description, channel, length and view count. Use it to read a known video's details.

Tool youtube.video.detail on YouTube. Contract version 1, released 2026-11-01.

Over REST, send the input in the body. Over MCP, pass the same input to call_tool.

Both return the full response: the call's ID, status and cost, with this tool's result in output.

Input

video_idstringRequired

YouTube's identifier of the video, the 11 characters after watch?v= in its address.

Matches ^[0-9A-Za-z_-]{11}$.

Output

A successful call returns these blocks in its output. A field not marked required can be null.

video

One object. Can be null.

idstringRequired

YouTube's identifier of the video. The video is at https://www.youtube.com/watch?v= followed by it.

urlstring

Address of the video on youtube.com.

titlestring
descriptionstring

The video's description.

published_atstring

When the video was published, in ISO 8601.

duration_msinteger

Length of the video, in milliseconds.

preview_image_urlstring

Address of the video's thumbnail.

liveboolean

Whether the video is a live stream on air now.

categorystring

YouTube's category of the video, in English.

keywordsarray of string

The keywords the channel set on the video.

author_idstring

YouTube's identifier of the channel, which begins with UC.

author_namestring

The channel's name.

author_image_urlstring

Address of the channel's profile picture.

author_verifiedboolean

Whether YouTube marks the channel as verified.

view_countinteger

Number of times the video was watched.

like_countinteger