getVideoCategories
Retrieve YouTube video categories for a specific region to filter trending videos and perform category-specific operations. Supports two-letter country codes for regional category variations.
Instructions
Retrieves available video categories for a specific region. Returns a list of YouTube video categories with their IDs and titles that can be used for filtering trending videos or other category-specific operations. Different regions may have different available categories.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
regionCode | No | Two-letter country code (e.g., 'US', 'GB', 'JP'). Defaults to 'US' | US |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"regionCode": {
"default": "US",
"description": "Two-letter country code (e.g., 'US', 'GB', 'JP'). Defaults to 'US'",
"maxLength": 2,
"minLength": 2,
"type": "string"
}
},
"type": "object"
}