Serpapi Google Trends
serpapi_google_trendsGet Google Trends interest-over-time for <terms> — returns the requested trends block (interest over time, by region, or related queries) via SerpApi. Example: serpapi_google_trends({ q: "bitcoin,ethereum", date: "today 12-m", geo: "US", _apiKey: "your-serpapi-key" })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Up to 5 comma-separated terms to compare, e.g. "bitcoin,ethereum" | |
| geo | No | Optional two-letter geo code to scope the trend, e.g. "US", "GB" | |
| date | No | Optional time range, e.g. "today 12-m", "today 5-y", "2021-01-01 2021-12-31" | |
| _apiKey | Yes | SerpApi API key (get one at serpapi.com) | |
| data_type | No | Trends block to return (default "TIMESERIES"). One of TIMESERIES, GEO_MAP, GEO_MAP_0, RELATED_QUERIES |