get_trending_videos
Retrieve popular YouTube videos by region and category using YouTube Data API v3. Specify country codes and categories like Music, Gaming, or Movies to access trending content.
Instructions
Returns currently popular YouTube videos for a given region and category. NOTE: As of July 2025, YouTube removed its global Trending page. Results now come from category-specific charts (Music, Movies, Gaming). Use category_id 10 for Music, 20 for Gaming, 43 for Movies. category_id 0 returns a mixed set across all categories.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_code | No | ISO 3166-1 alpha-2 country code (e.g. US, GB, IN). Defaults to US. | US |
| category_id | No | YouTube video category ID. Use '0' for all categories. Defaults to '0'. | 0 |
| limit | No | Number of trending videos to return. Max 50. Defaults to 25. |