Get trending videos
get_trending_videosRetrieve trending YouTube videos by country and optional category, including view and engagement stats, to identify what audiences are watching now.
Instructions
YouTube's most-popular videos in a country right now, optionally in one category, with stats. 1 quota unit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_trending_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_token | No | next_page_token from a previous call, for the next page. | |
| category_id | No | Video category ID, e.g. 26 Howto & Style, 22 People & Blogs, 19 Travel & Events. Omit for all. | |
| max_results | No | Items per page, 1-50. | |
| region_code | No | ISO 3166-1 alpha-2 country code, e.g. CA. | US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||