Google Trends API
trends.google.com
Google Trends - interest over time, regional breakdowns, related queries, and trending searches.
- Actions
- 7
- Category
- Marketing
- 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": {}
}'7 actions on trends.google.com
Read
Category List
gt_categoriesread1 credit / callReturns the full Google Trends category tree with over 1000 categories and IDs.
Interest by Region
gt_interest_by_regionread2 credits / callReturns regional search interest by country, state, DMA, or city.
- keyword
- string · required
- geo
- string
- timeframe
- string
- resolution
- string
Interest Over Time
gt_interest_over_timeread3 credits / callReturns the search volume index from 0 to 100 for a keyword over time.
- keyword
- string · required
- geo
- string
- timeframe
- string
- category
- integer
- property
- string
Keyword Comparison
gt_compareread3 credits / callReturns side-by-side search interest comparison for up to five keywords over time.
- keywords
- string · required
- geo
- string
- timeframe
- string
Keyword Suggestions
gt_suggestionsread3 credits / callReturns keyword suggestions and autocomplete with topic entity IDs and types.
- keyword
- string · required
Related Queries
gt_related_queriesread3 credits / callReturns top and rising related search queries for a keyword.
- keyword
- string · required
- geo
- string
- timeframe
- string
Trending Searches
gt_trendingread2 credits / callReturns currently trending searches with traffic estimates, images, and related news.
- 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 7 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.
More Marketing APIs
Ahrefs
Ahrefs - website authority, backlink checks, keyword difficulty, and SERP analysis.
AWeber
AWeber - email templates, resource articles, pricing plans, and knowledge base.
Backlinko
Backlinko - SEO studies, ranking-factor research, benchmarks, and how-to guides.
Bazaarvoice
Bazaarvoice - UGC platform with ratings, reviews, brand case studies, and demos.
BuiltWith
BuiltWith - web technology profiler with company intelligence and usage trends.
Copy.ai
Copy.ai - use-case pages, pricing plans, homepage content, and blog articles.