Real-Time Trends Time-Series JSON

Google Trends API for Real-Time Search Interest & Breakout Topics

Our Google Trends API turns volatile consumer demand into clean, timestamped JSON time series without brittle headless scrapers, rotating cookie jars, or 429 rate blocks. Whether you are building an API for Google Trends velocity alerts, ecommerce demand forecasting, or multi-brand share-of-search dashboards, DataForAPI delivers normalized 0–100 interest curves, state-level regional heatmaps, and breakout query tables in seconds.

  • Up to 5 Keywords Benchmarking
  • Sub-Region, Metro & Category Filtering
  • Rising & Breakout Topic Detection
Rendered · Google Trends API200 OK · $0.0108
periodserp apimcp server
2026-09-01 to 2026-09-306448
2026-10-01 to 2026-10-317872
2026-11-01 to 2026-11-309295

Production capabilities of our API for Google Trends pipelines

Unofficial open-source wrappers break whenever upstream session tokens change. Our managed edge gateway handles token negotiation, regional routing, and strict schema normalization across Web, YouTube, News, Images, and Shopping properties.

At a glance
Authentication
Bearer dfa_live_...
Live rate
$0.0108
Free trial
$1.00 + $0 Sandbox
Agent protocol
/mcp + SKILL.md
1–5
comparison terms normalized in a single call
12 mo+
historical & real-time breakout interest curves
$0.00265
starting rate in Standard Queue ($0.0108 Live)
1

Up to 5 Keywords Benchmarking

Compare up to five terms in one call across granular date windows—including past_hour, past_7_days, past_30_days, past_12_months, or custom date_from / date_to ranges—to quantify relative market momentum.

keywords: ["serp api", "mcp server"]
2

Sub-Region, Metro & Category Filtering

Slice search momentum by country, state, DMA metro subregion, vertical category code, and search property (web, youtube, news, froogle) through one unified API for Google Trends.

type: "web", time_range: "past_12_months"
3

Rising & Breakout Topic Detection

Capture top and rising related queries plus related entity topics jumping >500% weeks before trailing monthly volume averages update—ideal for SEO radar automation and quantitative market signals.

item_types: ["google_trends_graph", "google_trends_queries_list"]
What you can build
  • Autonomous agent groundingFeed fresh citations, competitor ranks, and demand metrics into Claude Code, Codex, or custom RAG workflows.
  • Programmatic SEO & monitoringSchedule batch checks across locales without maintaining proxy pools, headless browsers, or monthly SaaS seats.
  • Internal BI & client reportingIngest deterministic JSON fields directly into Postgres, ClickHouse, or warehouse pipelines.
What you can count on
  • Zero charge on upstream failuresEvery call pre-authorizes micro-USD and releases 100% automatically on any timeout or 5xx error.
  • Free deterministic SandboxMint unlimited dfa_test_... keys to validate your parser in local dev and CI at $0.000000.
  • Prepaid balance that never expiresTop up once and spend across all 12 families (42+ endpoints) at your own pace with per-key daily UTC caps.

Interactive Google Trends API sample

Test parameters immediately with $0.00 simulated data, or open in the full Playground with your API key.

Open in full Playground →
POST https://dataforapi.com/v1/keywords_data/google_trends/explore/live200 OK · 38 ms · $0.0108
perioddataforapimcp server
2026-09-01 to 2026-09-306448
2026-10-01 to 2026-10-317872
2026-11-01 to 2026-11-309295
1{
2 "version": "1.0",
3 "status_code": 20000,
4 "status_message": "Ok.",
5 "time": "0.0842 sec.",
6 "cost": 0,
7 "tasks_count": 1,
8 "tasks_error": 0,
9 "tasks": [
10 {
11 "id": "0194b8f0-7c2a-7000-8000-000000000001",
12 "status_code": 20000,
13 "status_message": "Ok.",
14 "time": "0.0620 sec.",
15 "cost": 0,
16 "result_count": 1,
17 "path": [
18 "v1",
19 "keywords_data",
20 "google_trends",
21 "explore",
22 "live"
23 ],
24 "data": {
25 "api": "keywords_data",
26 "se": "google_trends",
27 "keywords": [
28 "dataforapi",
29 "mcp server"
30 ],
31 ...

Time-series JSON schema returned by the Google Trends API

Responses follow our Keywords Data specification with UTC Unix timestamps, ISO date intervals, and missing-data flags so BI warehouses and LLM agents ingest series with zero custom parsing.

FieldTypeMeaning
tasks[].result[].keywordsstring[]Ordered array of up to 5 compared seed terms in the exact request sequence.
tasks[].result[].items[].data[]object[]Timestamped intervals (date_from, date_to, timestamp) with normalized 0–100 integer values per term.
tasks[].result[].items[].averagesnumber[]Mean relative interest index per term across the requested historical window.
costnumber (USD)Exact USD charge debited from your non-expiring balance ($0.00265 Standard / $0.0108 Live / $0.0000 Sandbox).
curl -X POST "https://dataforapi.com/v1/keywords_data/google_trends/explore/live" \
  -H "Authorization: Bearer dfa_test_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '[{"keywords":["serp api","mcp server"],"location_code":2840,"language_code":"en","time_range":"past_12_months"}]'

Clean REST API ergonomics and native MCP tool support

Run Trends queries directly in the browser Playground, call our REST API with Bearer auth, or connect Claude Code and Cursor via our Streamable HTTP MCP endpoint.

ModePer callPer 1,000
Standard Queue
~45–180 sec async
$0.00265$2.65
Priority Queue
~15–45 sec async
$0.0053$5.30
Live Mode
1–5 sec sync
$0.0108$10.80
REST API & Agent MCP ready

Every request reserves worst-case micro-USD upfront and refunds unused capacity or upstream failures automatically.

Authorization: Bearer dfa_live_YOUR_KEY
Remote MCP: POST /mcp
Agent spec: GET /docs.md

Google Trends API FAQ

Questions on custom batch workloads?Email support@dataforapi.com

Is there an official public Google Trends API for commercial SEO tools?

Public research alpha access is tightly restricted to academic applicants, which is why engineering teams use our commercial Google Trends API for guaranteed uptime, SLA-backed JSON schemas, and global country coverage.

How many terms can I compare in a single request?

Each task compares up to 5 keywords simultaneously across identical date ranges, categories, and locations, matching native multi-term comparison scaling.

What does the Google Trends API cost on DataForAPI?

Standard async requests cost $0.00265 per task, Priority requests cost $0.0053, and real-time Live requests cost $0.0108 per task, billed from your non-expiring USD balance.

Can I test time-series responses without spending balance?

Yes. Create a dfa_test_... Sandbox key in the Console to run unlimited $0.00 test calls with deterministic time-series curves, plus $1.00 in free Live trial credit upon signup.

Related endpoints on the same key

Combine search rankings, keyword demand, trends, and link graphs with a single balance.

All endpoints →
Google Search API
POST /serp/google/organic/live
$0.00054 - $0.00195

Ranked organic results, sitelinks, local packs, and People Also Ask as clean JSON.

dataforapi · US
10 organic · #1 dataforapi.com
AI Overview SERP
POST /serp/google/organic/live
$0.00118 - $0.0039

Full AI Overview markdown synthesis and cited grounding URLs alongside organic ranks.

best vector db
AI summary · 5 cited sources
Bing, Maps & YouTube
POST /serp/bing + /maps/live
$0.00054 - $0.00195

Multi-engine web rankings, local business ratings, and video search results.

coffee roasters nyc
20 local listings · 4.8 avg
Keyword Planner API
POST /keywords_data/search_volume
$0.059 - $0.088

Batch monthly volume, CPC bids, and 12-month history for up to 1,000 keywords.

1,000 keywords · US
14,800/mo · $6.40 CPC
Backlink API
POST /backlinks/summary/live
$0.0235 + $0.000035/row

Referring domains, dofollow ratio, anchor text distributions, and link spam score.

cloudflare.com
DR 92 · 418k ref. domains
Referring Domains & Anchors
POST /backlinks/referring_domains
$0.0235 + row

Granular source URLs, anchor strings, and unused-row automatic USD refunds.

vercel.com · limit 100
100 rows · 86% dofollow
Domain Ranked Keywords
POST /labs/google/ranked_keywords
$0.0118 + $0.000118/item

Every organic keyword a competitor ranks for with estimated traffic value.

raycast.com · US
18.4k ranked keywords
On-Page Instant Audit
POST /on_page/instant_pages
$0.000145 / page

Real-time technical SEO check for titles, canonicals, broken links, and response speed.

https://dataforapi.com
Score 98/100 · 0 broken
Domain Tech & Whois
POST /domain_analytics/technologies
$0.0118 / $0.118+

Detect web frameworks, CDNs, analytics stacks, and Whois registration profiles.

linear.app
Cloudflare · Stripe · React
Content & Sentiment
POST /content_analysis + /generation
$0.0029 - $0.0235

Brand citation monitoring, web sentiment polarity, and automated meta tag generation.

model context protocol
78% positive · 14.2k citations
Merchant Shopping & Amazon
POST /merchant/google + /amazon
$0.0009 - $0.00297

Google Shopping & Amazon marketplace product rankings, ASINs, Buy Box prices, and sellers.

mechanical keyboard
$119.95 · 4.8★ (2,180)
App Store & Google Play
POST /app_data/apple + /google
$0.00054 - $0.098+

iOS App Store and Android Play Store keyword rankings, app metadata, and user reviews.

ai note taking
Top 3 apps · 4.9★ avg
Reviews, Hotels & Local
POST /business_data/listings + /hotels
$0.000675 - $0.0118+

Google Business reviews, hotel nightly rates, Trustpilot scores, and Tripadvisor listings.

linear.app · reviews
4.7★ · 4,820 verified reviews
AI Optimization & LLM GEO
POST /ai_optimization/llm_mentions
$0.00059 - $0.098+

Track brand citations and live grounded answers across ChatGPT, Claude, Gemini & Perplexity.

supabase.com · LLMs
3,840 LLM citations · #1 rank
Account Balance & Status
GET /appendix/user_data + /status
$0.00 (Free)

Inspect prepaid USD balance, daily spend caps, gateway health, and geo/language dictionaries.

GET /appendix/user_data
$50.00 balance · 12 families OK

Start with the Google Trends API

Sign in with Google for $1.00 free balance, send one Bearer header, and get structured JSON back.

curl -X POST "https://dataforapi.com/v1/keywords_data/google_trends/explore/live" -H "Authorization: Bearer $DATAFORAPI_KEY" -d '[{"keywords":["serp api","mcp server"],"location_code":2840,"language_code":"en","time_range":"past_12_months"}]'