get_trends
Analyze historical Google Trends interest-over-time for known keywords, comparing normalized 0-100 scores across timeframes to track trajectory.
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 |
| keyword | Yes | Search keyword(s) to analyze; comparison lists support 1-5 keywords. | |
| data_mode | No | Legacy resolution hint used only when timeframe is omitted. | 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 |