Google Trends API
trends.google.com
Google Trends — get search interest over time, regional breakdowns, related queries and topics, trending searches, compare up to 5 keywords, keyword suggestions, and browse 1000+ category IDs.
- Actions
- 8
- Category
- Analytics
- Login
- Not required
- Output
- JSON
Call the Google Trends API
Submit a task, then poll the job until it settles. This example runs gt_categories.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "gt_categories",
"params": {}
}'8 actions on trends.google.com
Read
Category List
gt_categoriesread1 credit / callReturns the full Google Trends category tree — 1000+ categories with IDs for filtered trend analysis.
Compare Keywords
gt_compareread1 credit / callReturns side-by-side search interest comparison for up to 5 keywords over time.
- keywords
- string · required
- geo
- string
- timeframe
- string
Interest Over Time
gt_interest_over_timeread1 credit / callReturns search volume index (0-100) for a keyword over time — the core Google Trends metric.
- keyword
- string · required
- geo
- string
- timeframe
- string
- category
- integer
- property
- string
Interest by Region
gt_interest_by_regionread1 credit / callReturns regional breakdown of search interest — by country, state, DMA, or city.
- keyword
- string · required
- geo
- string
- timeframe
- string
- resolution
- string
Keyword Suggestions
gt_suggestionsread1 credit / callReturns keyword suggestions and autocomplete with topic entity IDs and types.
- keyword
- string · required
Related Queries
gt_related_queriesread1 credit / callReturns top and rising related search queries for a keyword.
- keyword
- string · required
- geo
- string
- timeframe
- string
Related Topics
gt_related_topicsread1 credit / callReturns top and rising related topics (entities) with type classification for a keyword.
- keyword
- string · required
- geo
- string
- timeframe
- string
Trending Searches
gt_trendingread1 credit / callReturns currently trending searches with traffic estimates, images, and related news articles.
- geo
- string
- limit
- integer
Google Trends API questions
- Is there an API for Google Trends?
- Google Trends does not offer a public data API for this, but Anakin Wire provides 8 maintained endpoints for trends.google.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Google Trends data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when trends.google.com changes its markup, Anakin updates the action.
- Do I need a Google Trends account?
- No. Every Google Trends action listed here runs anonymously — no account and no credentials required.
- What does the Google Trends API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.