get_categories
Retrieve Google Trends category IDs and names for use in trend queries. Search by category name or page through results with offset and limit to get the correct cat parameter.
Instructions
Return a bounded page of Google Trends category IDs and names for use in the cat parameter of trend tools. Use query to find categories by name and offset/limit to page through broader results; do not guess category IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum categories to return in this page. | |
| query | No | Optional case-insensitive substring to match against category names. | |
| offset | No | Zero-based offset into the filtered category list. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |