get_trends
Retrieve historical Google Trends interest-over-time scores (0-100) for known keywords to analyze trajectory and compare performance across a specified timeframe.
Instructions
Return historical Google Trends interest-over-time points for one or more known keywords. Use this for trajectory and comparisons across a timeframe; values are normalized 0-100 interest scores, not absolute search volume. Use get_trending_terms for what is trending now.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cat | No | Google Trends category ID; use 0 for all categories or a value from get_categories. | |
| geo | No | Geographic region code (e.g. 'US'). | US |
| source | No | Search source: 'google search', 'youtube search', 'news search', 'image search', 'google shopping'. | google search |
| keyword | Yes | Search keyword(s) to analyze. | |
| data_mode | No | Legacy resolution hint used only when timeframe is omitted: 'weekly', 'daily', 'monthly'. | weekly |
| timeframe | No | Explicit TrendsPy range, for example 'today 12-m', 'today 90-d', 'all', or 'YYYY-MM-DD YYYY-MM-DD'. Overrides data_mode when supplied. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |