list_trending_videos
Fetch trending YouTube videos for a specified region and optional category. Returns video snippets, duration, and statistics like views and likes.
Instructions
Fetch the currently most popular videos on YouTube for a given region and optional category. Returns snippet (title, channelTitle, publishedAt), contentDetails (duration), and statistics (viewCount, likeCount, commentCount) for each video. Use list_video_categories to discover valid category_id values for your region. Use page_token to paginate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_code | No | ISO 3166-1 alpha-2 country code (e.g., 'US', 'IN', 'GB'). Defaults to 'US'. | |
| category_id | No | YouTube video category ID to filter trending videos. Use list_video_categories to discover valid IDs for your region. | |
| max_results | No | Number of results to return. Default 10, max 50. | |
| page_token | No | Token from a previous response to fetch the next page of results. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| nextPageToken | No | ||
| pageInfo | No | ||
| items | Yes |