interest_over_time
Compare relative Google search interest (0-100) for up to 5 keywords over a chosen timeframe and region, returned as per-date records to reveal trend patterns.
Instructions
Relative Google search interest (0-100) over time for up to 5 keywords, compared side by side.
Args: keywords: 1-5 search terms to compare. Only the first 5 are used; additional keywords are silently dropped. timeframe: pytrends timeframe string, e.g. "today 12-m", "today 5-y", "now 7-d", or "YYYY-MM-DD YYYY-MM-DD". geo: ISO country code (e.g. "IN", "US"), or "" for worldwide.
Returns: A list of records, one per date, each containing: - "date": ISO date string - "isPartial": boolean indicating if the time period is incomplete (True for the most recent period) - One numeric key per keyword (0-100 relative interest value)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| geo | No | IN | |
| keywords | Yes | ||
| timeframe | No | today 12-m |