Get YouTube Video Metadata
youtube_video_infoFetch full YouTube video metadata including title, description, view count, like count, duration, publish date, keywords, and channel details.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_id": "<video_id>"
},
"name": "youtube_video_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | 11-character YouTube video ID or full YouTube watch/Shorts URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Status code (0 on success). | |
| data | Yes | Normalized YouTube video metadata record. | |
| meta | No | Gateway execution metadata including request ID, cache tier, and credits charged. | |
| status | Yes | Response status string (ok or error). |