Google Trends API - Real-Time and Historical Data

API ID 13071

Google Trends data as clean JSON — 5 endpoints: interest over time, related queries, regional breakdown, live trending, and 2-5 keyword comparison on one shared scale.

2,859 ms avg response

API Documentation

Endpoints

Request

Returns search interest for a keyword over time on a 0-100 scale, exactly as Google Trends shows it. Supports timeframes from real-time (past hours) to full history since 2004, any country and category. Ideal for demand tracking, SEO research and trend validation.

Endpoint ID: 26439
GET https://zylalabs.com/api/13071/google+trends+api+-+real-time+and+historical+data/26439/interest+over+time
INPUT PARAMETERS

Interest Over Time — Endpoint Features

Object Description
kw Required Keyword or topic to analyze, e.g. bitcoin
geo Optional Country code, e.g. US, GB, ES. Empty = worldwide
time Optional Timeframe: now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all. Default: today 3-m
cat Optional Google Trends category ID, 0 = all categories. Default: 0

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

kw
geo
time
cat
API EXAMPLE RESPONSE
JSON
{"cached":true,"coalesced":false,"data":{"kw":"bitcoin","geo":"","time":"today 3-m","points":[{"date":"Apr 11, 2026","value":54,"isPartial":false},{"date":"Apr 12, 2026","value":60,"isPartial":false},{"date":"Apr 13, 2026","value":59,"isPartial":false},{"date":"Apr 14, 2026","value":68,"isPartial":false},{"date":"Apr 15, 2026","value":61,"isPartial":false},{"date":"Apr 16, 2026","value":62,"isPartial":false},{"date":"Apr 17, 2026","value":83,"isPartial":false},{"date":"Apr 18, 2026","value":58,"isPartial":false},{"date":"Apr 19, 2026","value":50,"isPartial":false},{"date":"Apr 20, 2026","value":57,"isPartial":false},{"date":"Apr 21, 2026","value":57,"isPartial":false},{"date":"Apr 22, 2026","value":60,"isPartial":false},{"date":"Apr 23, 2026","value":67,"isPartial":false},{"date":"Apr 24, 2026","value":57,"isPartial":false},{"date":"Apr 25, 2026","value":47,"isPartial":false},{"date":"Apr 26, 2026","value":50,"isPartial":false},{"date":"Apr 27, 2026","value":56,"isPartial":false},{"date":"Apr 28, 2026","value":50,"isPartial":false},{"date":"Apr 29, 2026","value":51,"isPartial":false},{"date":"Apr 30, 2026","value":52,"isPartial":false},{"date":"May 1, 2026","value":54,"isPartial":false},{"date":"May 2, 2026","value":50,"isPartial":false},{"date":"May 3, 2026","value":50,"isPartial":false},{"date":"May 4, 2026","value":57,"isPartial":false},{"date":"May 5, 2026","value":60,"isPartial":false},{"date":"May 6, 2026","value":70,"isPartial":false},{"date":"May 7, 2026","value":66,"isPartial":false},{"date":"May 8, 2026","value":65,"isPartial":false},{"date":"May 9, 2026","value":57,"isPartial":false},{"date":"May 10, 2026","value":56,"isPartial":false},{"date":"May 11, 2026","value":58,"isPartial":false},{"date":"May 12, 2026","value":57,"isPartial":false},{"date":"May 13, 2026","value":57,"isPartial":false},{"date":"May 14, 2026","value":58,"isPartial":false},{"date":"May 15, 2026","value":55,"isPartial":false},{"date":"May 16, 2026","value":52,"isPartial":false},{"date":"May 17, 2026","value":49,"isPartial":false},{"date":"May 18, 2026","value":56,"isPartial":false},{"date":"May 19, 2026","value":56,"isPartial":false},{"date":"May 20, 2026","value":50,"isPartial":false},{"date":"May 21, 2026","value":47,"isPartial":false},{"date":"May 22, 2026","value":52,"isPartial":false},{"date":"May 23, 2026","value":57,"isPartial":false},{"date":"May 24, 2026","value":48,"isPartial":false},{"date":"May 25, 2026","value":49,"isPartial":false},{"date":"May 26, 2026","value":50,"isPartial":false},{"date":"May 27, 2026","value":49,"isPartial":false},{"date":"May 28, 2026","value":57,"isPartial":false},{"date":"May 29, 2026","value":53,"isPartial":false},{"date":"May 30, 2026","value":46,"isPartial":false},{"date":"May 31, 2026","value":55,"isPartial":false},{"date":"Jun 1, 2026","value":58,"isPartial":false},{"date":"Jun 2, 2026","value":81,"isPartial":false},{"date":"Jun 3, 2026","value":73,"isPartial":false},{"date":"Jun 4, 2026","value":87,"isPartial":false},{"date":"Jun 5, 2026","value":100,"isPartial":false},{"date":"Jun 6, 2026","value":85,"isPartial":false},{"date":"Jun 7, 2026","value":72,"isPartial":false},{"date":"Jun 8, 2026","value":73,"isPartial":false},{"date":"Jun 9, 2026","value":70,"isPartial":false},{"date":"Jun 10, 2026","value":64,"isPartial":false},{"date":"Jun 11, 2026","value":64,"isPartial":false},{"date":"Jun 12, 2026","value":60,"isPartial":false},{"date":"Jun 13, 2026","value":56,"isPartial":false},{"date":"Jun 14, 2026","value":57,"isPartial":false},{"date":"Jun 15, 2026","value":67,"isPartial":false},{"date":"Jun 16, 2026","value":62,"isPartial":false},{"date":"Jun 17, 2026","value":58,"isPartial":false},{"date":"Jun 18, 2026","value":61,"isPartial":false},{"date":"Jun 19, 2026","value":57,"isPartial":false},{"date":"Jun 20, 2026","value":54,"isPartial":false},{"date":"Jun 21, 2026","value":53,"isPartial":false},{"date":"Jun 22, 2026","value":57,"isPartial":false},{"date":"Jun 23, 2026","value":62,"isPartial":false},{"date":"Jun 24, 2026","value":74,"isPartial":false},{"date":"Jun 25, 2026","value":68,"isPartial":false},{"date":"Jun 26, 2026","value":65,"isPartial":false},{"date":"Jun 27, 2026","value":44,"isPartial":false},{"date":"Jun 28, 2026","value":42,"isPartial":false},{"date":"Jun 29, 2026","value":44,"isPartial":false},{"date":"Jun 30, 2026","value":47,"isPartial":false},{"date":"Jul 1, 2026","value":48,"isPartial":false},{"date":"Jul 2, 2026","value":46,"isPartial":false},{"date":"Jul 3, 2026","value":42,"isPartial":false},{"date":"Jul 4, 2026","value":41,"isPartial":false},{"date":"Jul 5, 2026","value":40,"isPartial":false},{"date":"Jul 6, 2026","value":43,"isPartial":false},{"date":"Jul 7, 2026","value":41,"isPartial":false},{"date":"Jul 8, 2026","value":43,"isPartial":false},{"date":"Jul 9, 2026","value":39,"isPartial":false},{"date":"Jul 10, 2026","value":37,"isPartial":false},{"date":"Jul 11, 2026","value":41,"isPartial":true}]}}
Interest Over Time — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13071/google+trends+api+-+real-time+and+historical+data/26439/interest+over+time?kw=bitcoin&geo=ES&time=now 1-H' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Returns top and rising search queries and topics related to a keyword. Rising items reveal emerging trends before they peak. Essential for SEO keyword research, content planning and market discovery.

Endpoint ID: 26440
GET https://zylalabs.com/api/13071/google+trends+api+-+real-time+and+historical+data/26440/related+queries
INPUT PARAMETERS

Related Queries — Endpoint Features

Object Description
kw Required Keyword or topic to analyze, e.g. bitcoin
geo Optional Country code, e.g. US, GB, ES. Empty = worldwide
time Optional Timeframe: now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all. Default: today 3-m
cat Optional Google Trends category ID, 0 = all categories. Default: 0

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

kw
geo
time
cat
API EXAMPLE RESPONSE
JSON
{"cached":true,"coalesced":false,"data":{"kw":"iphone","geo":"","time":"today 3-m","queries":{"top":[{"query":"iphone 17","value":100,"growth":null},{"query":"apple iphone","value":65,"growth":null},{"query":"apple","value":64,"growth":null},{"query":"iphone 16","value":55,"growth":null},{"query":"iphone 15","value":54,"growth":null},{"query":"iphone 17 pro","value":53,"growth":null},{"query":"iphone 13","value":41,"growth":null},{"query":"iphone 14","value":38,"growth":null},{"query":"iphone 17 pro max","value":31,"growth":null},{"query":"iphone 12","value":28,"growth":null},{"query":"iphone 18","value":26,"growth":null},{"query":"iphone 11","value":25,"growth":null},{"query":"iphone 16 pro","value":25,"growth":null},{"query":"iphone 15 pro","value":23,"growth":null},{"query":"iphone 14 pro","value":19,"growth":null},{"query":"iphone air","value":18,"growth":null},{"query":"iphone 13 pro","value":15,"growth":null},{"query":"iphone se","value":13,"growth":null},{"query":"iphone 16 pro max","value":13,"growth":null},{"query":"iphone 10","value":13,"growth":null},{"query":"iphone 15 pro max","value":12,"growth":null},{"query":"iphone 18 pro","value":11,"growth":null},{"query":"iphone 12 pro","value":10,"growth":null},{"query":"iphone 14 pro max","value":9,"growth":null},{"query":"iphone 17 price","value":8,"growth":null}],"rising":[{"query":"apple iphone 18 pro thickness","value":null,"growth":"+900%"},{"query":"apple iphone 18 pro","value":null,"growth":"+140%"},{"query":"golang","value":null,"growth":"+130%"},{"query":"apple iphone 18 pro max","value":null,"growth":"+120%"},{"query":"iphone 18 pro","value":null,"growth":"+120%"},{"query":"iphone 17 256gb","value":null,"growth":"+120%"},{"query":"iphone 18 pro max","value":null,"growth":"+110%"},{"query":"apple iphone ultra","value":null,"growth":"+110%"},{"query":"refurbished iphone","value":null,"growth":"+100%"},{"query":"iphone 18","value":null,"growth":"+100%"},{"query":"iphone 18 release date","value":null,"growth":"+90%"},{"query":"apple iphone 17 pro max","value":null,"growth":"+70%"},{"query":"iphone 19","value":null,"growth":"+70%"},{"query":"iphone 20","value":null,"growth":"+60%"},{"query":"iphone air","value":null,"growth":"+50%"},{"query":"iphone 10","value":null,"growth":"+50%"},{"query":"apple store","value":null,"growth":"+50%"},{"query":"iphone ultra","value":null,"growth":"+40%"}]},"topics":{"top":[],"rising":[]}}}
Related Queries — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13071/google+trends+api+-+real-time+and+historical+data/26440/related+queries?kw=iphone&geo=ES&time=now 1-H' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Returns geographic breakdown of search interest for a keyword, scored 0-100 per location. Drill down from countries to regions, cities or US metro areas. Perfect for market sizing, expansion research and localized campaigns.

Endpoint ID: 26441
GET https://zylalabs.com/api/13071/google+trends+api+-+real-time+and+historical+data/26441/interest+by+region
INPUT PARAMETERS

Interest By Region — Endpoint Features

Object Description
kw Required Keyword or topic to analyze, e.g. bitcoin
geo Optional Country code, e.g. US, GB, ES. Empty = worldwide
time Optional Timeframe: now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all. Default: today 3-m
cat Optional Google Trends category ID, 0 = all categories. Default: 0
resolution Optional Geographic level: COUNTRY, REGION, CITY or DMA. COUNTRY is only valid worldwide (empty geo); with a specific geo use REGION, CITY or DMA. An incompatible combination returns 400 INVALID_INPUT. Default: COUNTRY (worldwide).

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

kw
geo
time
cat
resolution
API EXAMPLE RESPONSE
JSON
{"cached":true,"coalesced":false,"data":{"kw":"bitcoin","resolution":"COUNTRY","rows":[{"geoCode":"CH","geoName":"Switzerland","value":100},{"geoCode":"AT","geoName":"Austria","value":85},{"geoCode":"NG","geoName":"Nigeria","value":81},{"geoCode":"NL","geoName":"Netherlands","value":79},{"geoCode":"SG","geoName":"Singapore","value":78},{"geoCode":"DE","geoName":"Germany","value":74},{"geoCode":"SH","geoName":"St. Helena","value":73},{"geoCode":"SI","geoName":"Slovenia","value":70},{"geoCode":"SV","geoName":"El Salvador","value":62},{"geoCode":"CA","geoName":"Canada","value":57},{"geoCode":"FI","geoName":"Finland","value":50},{"geoCode":"NO","geoName":"Norway","value":49},{"geoCode":"ES","geoName":"Spain","value":49},{"geoCode":"US","geoName":"United States","value":48},{"geoCode":"BE","geoName":"Belgium","value":47},{"geoCode":"CZ","geoName":"Czechia","value":47},{"geoCode":"AU","geoName":"Australia","value":45},{"geoCode":"NZ","geoName":"New Zealand","value":41},{"geoCode":"BR","geoName":"Brazil","value":41},{"geoCode":"AE","geoName":"United Arab Emirates","value":40},{"geoCode":"LT","geoName":"Lithuania","value":39},{"geoCode":"HR","geoName":"Croatia","value":38},{"geoCode":"PT","geoName":"Portugal","value":38},{"geoCode":"SE","geoName":"Sweden","value":37},{"geoCode":"KR","geoName":"South Korea","value":37},{"geoCode":"IE","geoName":"Ireland","value":36},{"geoCode":"HK","geoName":"Hong Kong","value":36},{"geoCode":"IL","geoName":"Israel","value":34},{"geoCode":"IT","geoName":"Italy","value":32},{"geoCode":"SK","geoName":"Slovakia","value":32},{"geoCode":"DK","geoName":"Denmark","value":31},{"geoCode":"FR","geoName":"France","value":30},{"geoCode":"GB","geoName":"United Kingdom","value":30},{"geoCode":"PL","geoName":"Poland","value":29},{"geoCode":"ZA","geoName":"South Africa","value":25},{"geoCode":"BG","geoName":"Bulgaria","value":25},{"geoCode":"AR","geoName":"Argentina","value":24},{"geoCode":"TR","geoName":"Türkiye","value":23},{"geoCode":"GR","geoName":"Greece","value":23},{"geoCode":"MY","geoName":"Malaysia","value":22},{"geoCode":"RO","geoName":"Romania","value":21},{"geoCode":"HU","geoName":"Hungary","value":19},{"geoCode":"PK","geoName":"Pakistan","value":19},{"geoCode":"VN","geoName":"Vietnam","value":18},{"geoCode":"CL","geoName":"Chile","value":18},{"geoCode":"CO","geoName":"Colombia","value":16},{"geoCode":"IN","geoName":"India","value":16},{"geoCode":"ID","geoName":"Indonesia","value":16},{"geoCode":"TH","geoName":"Thailand","value":15},{"geoCode":"MA","geoName":"Morocco","value":15},{"geoCode":"EC","geoName":"Ecuador","value":13},{"geoCode":"VE","geoName":"Venezuela","value":13},{"geoCode":"MX","geoName":"Mexico","value":13},{"geoCode":"TW","geoName":"Taiwan","value":13},{"geoCode":"PH","geoName":"Philippines","value":12},{"geoCode":"SA","geoName":"Saudi Arabia","value":11},{"geoCode":"PE","geoName":"Peru","value":11},{"geoCode":"JP","geoName":"Japan","value":9},{"geoCode":"BD","geoName":"Bangladesh","value":9},{"geoCode":"EG","geoName":"Egypt","value":9},{"geoCode":"UA","geoName":"Ukraine","value":6},{"geoCode":"RU","geoName":"Russia","value":5}]}}
Interest By Region — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13071/google+trends+api+-+real-time+and+historical+data/26441/interest+by+region?kw=bitcoin&geo=ES&time=now 1-H&cat=Optionalresolution=REGION' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Compares 2 to 5 keywords on a single shared 0-100 scale, exactly like the compare feature on the Google Trends website. Shows which term dominates and how the gap changes over time. Pass keywords comma-separated in the kw parameter, e.g. kw=iphone,samsung.

Endpoint ID: 26442
GET https://zylalabs.com/api/13071/google+trends+api+-+real-time+and+historical+data/26442/compare+keywords
INPUT PARAMETERS

Compare Keywords — Endpoint Features

Object Description
cat Optional Google Trends category ID, 0 = all categories. Default: 0
kw Required Keywords to compare, comma-separated, 2 to 5 items, e.g. iphone,samsung
geo Optional Country code, e.g. US, GB, ES. Empty = worldwide
time Optional Timeframe: now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all. Default: today 3-m

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

cat
kw
geo
time
API EXAMPLE RESPONSE
JSON
{"cached":true,"coalesced":false,"data":{"geo":"","time":"today 3-m","keywords":["iphone","samsung"],"points":[{"date":"Apr 11, 2026","isPartial":false,"values":{"iphone":93,"samsung":59}},{"date":"Apr 12, 2026","isPartial":false,"values":{"iphone":94,"samsung":58}},{"date":"Apr 13, 2026","isPartial":false,"values":{"iphone":89,"samsung":52}},{"date":"Apr 14, 2026","isPartial":false,"values":{"iphone":82,"samsung":51}},{"date":"Apr 15, 2026","isPartial":false,"values":{"iphone":81,"samsung":50}},{"date":"Apr 16, 2026","isPartial":false,"values":{"iphone":86,"samsung":56}},{"date":"Apr 17, 2026","isPartial":false,"values":{"iphone":88,"samsung":55}},{"date":"Apr 18, 2026","isPartial":false,"values":{"iphone":88,"samsung":57}},{"date":"Apr 19, 2026","isPartial":false,"values":{"iphone":87,"samsung":55}},{"date":"Apr 20, 2026","isPartial":false,"values":{"iphone":86,"samsung":52}},{"date":"Apr 21, 2026","isPartial":false,"values":{"iphone":85,"samsung":52}},{"date":"Apr 22, 2026","isPartial":false,"values":{"iphone":77,"samsung":52}},{"date":"Apr 23, 2026","isPartial":false,"values":{"iphone":76,"samsung":48}},{"date":"Apr 24, 2026","isPartial":false,"values":{"iphone":79,"samsung":50}},{"date":"Apr 25, 2026","isPartial":false,"values":{"iphone":85,"samsung":52}},{"date":"Apr 26, 2026","isPartial":false,"values":{"iphone":85,"samsung":55}},{"date":"Apr 27, 2026","isPartial":false,"values":{"iphone":82,"samsung":50}},{"date":"Apr 28, 2026","isPartial":false,"values":{"iphone":81,"samsung":49}},{"date":"Apr 29, 2026","isPartial":false,"values":{"iphone":78,"samsung":51}},{"date":"Apr 30, 2026","isPartial":false,"values":{"iphone":85,"samsung":51}},{"date":"May 1, 2026","isPartial":false,"values":{"iphone":90,"samsung":56}},{"date":"May 2, 2026","isPartial":false,"values":{"iphone":90,"samsung":56}},{"date":"May 3, 2026","isPartial":false,"values":{"iphone":97,"samsung":54}},{"date":"May 4, 2026","isPartial":false,"values":{"iphone":86,"samsung":50}},{"date":"May 5, 2026","isPartial":false,"values":{"iphone":88,"samsung":52}},{"date":"May 6, 2026","isPartial":false,"values":{"iphone":86,"samsung":55}},{"date":"May 7, 2026","isPartial":false,"values":{"iphone":93,"samsung":57}},{"date":"May 8, 2026","isPartial":false,"values":{"iphone":91,"samsung":59}},{"date":"May 9, 2026","isPartial":false,"values":{"iphone":91,"samsung":60}},{"date":"May 10, 2026","isPartial":false,"values":{"iphone":95,"samsung":59}},{"date":"May 11, 2026","isPartial":false,"values":{"iphone":86,"samsung":57}},{"date":"May 12, 2026","isPartial":false,"values":{"iphone":82,"samsung":55}},{"date":"May 13, 2026","isPartial":false,"values":{"iphone":86,"samsung":54}},{"date":"May 14, 2026","isPartial":false,"values":{"iphone":82,"samsung":57}},{"date":"May 15, 2026","isPartial":false,"values":{"iphone":92,"samsung":56}},{"date":"May 16, 2026","isPartial":false,"values":{"iphone":83,"samsung":52}},{"date":"May 17, 2026","isPartial":false,"values":{"iphone":91,"samsung":57}},{"date":"May 18, 2026","isPartial":false,"values":{"iphone":86,"samsung":51}},{"date":"May 19, 2026","isPartial":false,"values":{"iphone":82,"samsung":51}},{"date":"May 20, 2026","isPartial":false,"values":{"iphone":80,"samsung":48}},{"date":"May 21, 2026","isPartial":false,"values":{"iphone":80,"samsung":49}},{"date":"May 22, 2026","isPartial":false,"values":{"iphone":78,"samsung":49}},{"date":"May 23, 2026","isPartial":false,"values":{"iphone":88,"samsung":55}},{"date":"May 24, 2026","isPartial":false,"values":{"iphone":91,"samsung":51}},{"date":"May 25, 2026","isPartial":false,"values":{"iphone":86,"samsung":55}},{"date":"May 26, 2026","isPartial":false,"values":{"iphone":83,"samsung":50}},{"date":"May 27, 2026","isPartial":false,"values":{"iphone":85,"samsung":51}},{"date":"May 28, 2026","isPartial":false,"values":{"iphone":83,"samsung":53}},{"date":"May 29, 2026","isPartial":false,"values":{"iphone":86,"samsung":53}},{"date":"May 30, 2026","isPartial":false,"values":{"iphone":87,"samsung":53}},{"date":"May 31, 2026","isPartial":false,"values":{"iphone":95,"samsung":61}},{"date":"Jun 1, 2026","isPartial":false,"values":{"iphone":83,"samsung":55}},{"date":"Jun 2, 2026","isPartial":false,"values":{"iphone":84,"samsung":55}},{"date":"Jun 3, 2026","isPartial":false,"values":{"iphone":78,"samsung":50}},{"date":"Jun 4, 2026","isPartial":false,"values":{"iphone":84,"samsung":54}},{"date":"Jun 5, 2026","isPartial":false,"values":{"iphone":88,"samsung":53}},{"date":"Jun 6, 2026","isPartial":false,"values":{"iphone":92,"samsung":55}},{"date":"Jun 7, 2026","isPartial":false,"values":{"iphone":96,"samsung":55}},{"date":"Jun 8, 2026","isPartial":false,"values":{"iphone":88,"samsung":53}},{"date":"Jun 9, 2026","isPartial":false,"values":{"iphone":87,"samsung":52}},{"date":"Jun 10, 2026","isPartial":false,"values":{"iphone":90,"samsung":50}},{"date":"Jun 11, 2026","isPartial":false,"values":{"iphone":88,"samsung":50}},{"date":"Jun 12, 2026","isPartial":false,"values":{"iphone":87,"samsung":49}},{"date":"Jun 13, 2026","isPartial":false,"values":{"iphone":91,"samsung":53}},{"date":"Jun 14, 2026","isPartial":false,"values":{"iphone":93,"samsung":56}},{"date":"Jun 15, 2026","isPartial":false,"values":{"iphone":85,"samsung":48}},{"date":"Jun 16, 2026","isPartial":false,"values":{"iphone":89,"samsung":48}},{"date":"Jun 17, 2026","isPartial":false,"values":{"iphone":89,"samsung":53}},{"date":"Jun 18, 2026","isPartial":false,"values":{"iphone":90,"samsung":50}},{"date":"Jun 19, 2026","isPartial":false,"values":{"iphone":85,"samsung":52}},{"date":"Jun 20, 2026","isPartial":false,"values":{"iphone":94,"samsung":54}},{"date":"Jun 21, 2026","isPartial":false,"values":{"iphone":100,"samsung":56}},{"date":"Jun 22, 2026","isPartial":false,"values":{"iphone":93,"samsung":49}},{"date":"Jun 23, 2026","isPartial":false,"values":{"iphone":96,"samsung":52}},{"date":"Jun 24, 2026","isPartial":false,"values":{"iphone":100,"samsung":55}},{"date":"Jun 25, 2026","isPartial":false,"values":{"iphone":80,"samsung":53}},{"date":"Jun 26, 2026","isPartial":false,"values":{"iphone":78,"samsung":56}},{"date":"Jun 27, 2026","isPartial":false,"values":{"iphone":79,"samsung":48}},{"date":"Jun 28, 2026","isPartial":false,"values":{"iphone":77,"samsung":46}},{"date":"Jun 29, 2026","isPartial":false,"values":{"iphone":74,"samsung":43}},{"date":"Jun 30, 2026","isPartial":false,"values":{"iphone":69,"samsung":41}},{"date":"Jul 1, 2026","isPartial":false,"values":{"iphone":68,"samsung":42}},{"date":"Jul 2, 2026","isPartial":false,"values":{"iphone":73,"samsung":45}},{"date":"Jul 3, 2026","isPartial":false,"values":{"iphone":73,"samsung":46}},{"date":"Jul 4, 2026","isPartial":false,"values":{"iphone":78,"samsung":47}},{"date":"Jul 5, 2026","isPartial":false,"values":{"iphone":79,"samsung":49}},{"date":"Jul 6, 2026","isPartial":false,"values":{"iphone":73,"samsung":45}},{"date":"Jul 7, 2026","isPartial":false,"values":{"iphone":71,"samsung":47}},{"date":"Jul 8, 2026","isPartial":false,"values":{"iphone":76,"samsung":46}},{"date":"Jul 9, 2026","isPartial":false,"values":{"iphone":73,"samsung":42}},{"date":"Jul 10, 2026","isPartial":false,"values":{"iphone":75,"samsung":43}},{"date":"Jul 11, 2026","isPartial":true,"values":{"iphone":84,"samsung":42}}],"keywords_meta":{}}}
Compare Keywords — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13071/google+trends+api+-+real-time+and+historical+data/26442/compare+keywords?cat=Optionalkw=iphone,samsung&geo=ES&time=now 1-H' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request

Returns real-time trending searches for a given country, updated continuously throughout the day. Use it for newsjacking, content ideation and monitoring what is exploding right now.

Endpoint ID: 26443
GET https://zylalabs.com/api/13071/google+trends+api+-+real-time+and+historical+data/26443/trending+now
INPUT PARAMETERS

Trending Now — Endpoint Features

Object Description
geo Required Country code for trending searches, e.g. US, GB, DE

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

geo
API EXAMPLE RESPONSE
JSON
{"cached":true,"coalesced":false,"data":[{"query":"chris hemsworth","traffic":"200+","articles":[{"title":"Chris Hemsworth Returns to Costa Rica for Beach Vacation","url":"https://ticotimes.net/2026/07/07/chris-hemsworth-costa-rica-surfing","source":"The Tico Times"},{"title":"Chris Hemsworth spotted on beach and surfing in Costa Rica","url":"https://www.yahoo.com/news/videos/chris-hemsworth-spotted-beach-surfing-085019398.html","source":"Yahoo"},{"title":"Chris Hemsworth Is In Costa Rica: The Actor Who Plays Thor Has Returned To The Country","url":"https://thecostaricanews.com/chris-hemsworth-is-in-costa-rica-the-actor-who-plays-thor-has-returned-to-the-country/","source":"The Costa Rica News"}]},{"query":"olivia dean","traffic":"200+","articles":[{"title":"Sam Fender and Olivia Dean make UK chart history with Rein Me In","url":"https://www.bbc.com/news/articles/cn94rdz3e59o","source":"BBC"},{"title":"Sam Fender & Olivia Dean’s ‘Rein Me In’ Becomes Longest-Running British No. 1 Single in U.K. Chart History","url":"https://www.billboard.com/music/chart-beat/sam-fender-olivia-dean-rein-me-in-uk-chart-record-single-1236291499/","source":"Billboard"},{"title":"Sam Fender and Olivia Dean overtake Wet Wet Wet with record-breaking chart run","url":"https://news.sky.com/story/sam-fender-and-olivia-dean-overtake-wet-wet-wet-with-record-breaking-chart-run-13562045","source":"Sky News"}]},{"query":"benjamin netanyahu","traffic":"200+","articles":[{"title":"Poll: In election-season first, ex-IDF chief Eisenkot exceeds Netanyahu's Likud","url":"https://www.haaretz.com/israel-news/elections/2026-07-09/ty-article/poll-in-election-season-first-ex-idf-chief-eisenkot-exceeds-netanyahus-likud/0000019f-47dc-d6c0-a9df-dfdfb9220000","source":"Haaretz"},{"title":"Poll: 60% of Israelis don’t consider Netanyahu trustworthy; most trust Eisenkot","url":"https://www.timesofisrael.com/liveblog_entry/poll-60-of-israelis-dont-consider-netanyahu-trustworthy-most-trust-eisenkot/","source":"The Times of Israel"},{"title":"Former General Emerges as Netanyahu’s Chief Rival in Israeli Elections","url":"https://www.wsj.com/world/middle-east/former-general-emerges-as-netanyahus-chief-rival-in-israeli-elections-224b2601","source":"WSJ"}]},{"query":"olivia wilde","traffic":"2000+","articles":[{"title":"The Secret to the Biting Sexual Dynamics of ‘The Invite’: Esther Perel","url":"https://www.nytimes.com/2026/07/08/movies/the-invite-esther-perel-olivia-wilde.html","source":"The New York Times"},{"title":"The Invite welcomes heterosexual polyamory into cinemas. It’s about time","url":"https://www.theguardian.com/film/2026/jul/07/the-invite-polyamory-non-monogamy-seth-rogen-penelope-cruz-olivia-wilde-edward-norton","source":"The Guardian"},{"title":"New R-Rated Comedy Movie Has Near-Perfect Score on Rotten Tomatoes","url":"https://www.yahoo.com/entertainment/movies/articles/r-rated-comedy-movie-near-005354188.html","source":"Yahoo"}]},{"query":"robin williams","traffic":"200+","articles":[{"title":"Jeff Bridges recalls Robin Williams ‘busting everybody’s chops’ during ‘late nights’ on set: ‘Brilliant’","url":"https://ew.com/jeff-bridges-recalls-robin-williams-fisher-king-set-12016557","source":"Entertainment Weekly"},{"title":"Jeff Bridges recalls Robin Williams ‘busting everybody’s chops’ during ‘late nights’ on set: ‘Brilliant’","url":"https://www.aol.com/articles/jeff-bridges-recalls-robin-williams-000022000.html","source":"AOL.com"},{"title":"Dwayne Johnson Confesses to Taking Robin Williams’ Jumanji Dice from the Sequel’s Set (Exclusive)","url":"https://people.com/dwayne-johnson-stole-robin-williams-jumanji-dice-from-set-exclusive-12013948","source":"People.com"}]},{"query":"koa peat","traffic":"200+","articles":[{"title":"Koa Peat’s desire to win not going anywhere as he enters 1st NBA Summer League","url":"https://arizonasports.com/nba/phoenix-suns/koa-peats-desire-to-win-not-going-anywhere-1st-nba-summer-league","source":"Arizona Sports"},{"title":"Game Preview: Summer League opens with a big test for Khaman Maluach","url":"https://www.brightsideofthesun.com/suns-game-previews/107424/khaman-maluach-koa-peat-rasheer-fleming-koby-brea-summer-league-preview","source":"Bright Side Of The Sun"},{"title":"Koa Peat scores 17 points in Suns summer debut","url":"https://www.nbcsports.com/fantasy/basketball/player-news/2026-07-11/koa-peat-scores-17-points-in-suns-summer-debut","source":"NBC Sports"}]},{"query":"valve steam frame","traffic":"2000+","articles":[{"title":"Steam Frame Launch Nears as Valve Releases ‘Great on Frame’ Store Page","url":"https://roadtovr.com/valve-ready-steam-frame-release-store-page/","source":"Road to VR"},{"title":"Steam Frame update adds verification for Valve’s showcase VR games","url":"https://www.theshortcut.com/p/steam-frame-update-adds-verification-for-valves-showcase-vr-games","source":"The Shortcut | Matt Swider"},{"title":"The Steam Frame's \"Great on Frame\" Page Is Now Live","url":"https://steamdeckhq.com/news/the-steam-frames-great-on-frame-page-is-now-live/","source":"Steam Deck HQ"}]},{"query":"trump endangered species","traffic":"500+","articles":[{"title":"Trump administration opens endangered species’ habitats to development, reversing 50 years of environmental law","url":"https://www.cnn.com/2026/07/10/climate/trump-endangered-species-habitats-rule-change","source":"CNN"},{"title":"Trump administration rolls back a key protection for imperiled wildlife","url":"https://www.npr.org/2026/07/11/nx-s1-5890025/trump-administration-imperiled-wildlife","source":"NPR"},{"title":"Trump Cuts Habitat Protections for Endangered Species","url":"https://www.nytimes.com/2026/07/10/climate/endangered-species-act-harm.html","source":"The New York Times"}]},{"query":"filling station","traffic":"5000+","articles":[{"title":"Trump promotes ‘Freedom Fuel’ stations that sell cheap gas. How they’re able to do so is unclear","url":"https://www.cnn.com/2026/07/09/business/trump-freedom-fuel-stations","source":"CNN"},{"title":"Gas industry experts express skepticism Freedom Fuel Network can sustain discounted gas prices","url":"https://6abc.com/post/gas-industry-experts-express-skepticism-freedom-fuel-network-can-sustain-discounted-prices/19480056/","source":"6abc Philadelphia"},{"title":"Gas is cheaper at Freedom Fuel Network stations promoted by Trump. An economist weighs in on the price cuts","url":"https://www.phillyvoice.com/freedom-fuel-network-gas-prices-philly-nj-trump-stations/","source":"PhillyVoice"}]},{"query":"love island usa season 8 vote","traffic":"10000+","articles":[{"title":"Love Island USA Season 8 Finalists Revealed as More Islanders Dumped from the Villa","url":"https://people.com/love-island-usa-season-8-finalists-revealed-12016371","source":"People.com"},{"title":"‘Love Island’ USA Recap: The Winners Are Already Clear, Superfans Say","url":"https://www.today.com/popculture/tv/love-island-usa-week-5-recap-season-8-rcna353440","source":"TODAY.com"},{"title":"‘Love Island USA’ Season 8: Final 4 Couples Revealed & 2 Couples Dumped","url":"https://deadline.com/gallery/love-island-usa-season-8-final-4-couples-revealed-2-couples-dumped/","source":"Deadline"}]}]}
Trending Now — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/13071/google+trends+api+-+real-time+and+historical+data/26443/trending+now?geo=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Google Trends API - Real-Time and Historical Data simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring
zeiss-logo amazon-logo zoom-logo decathlon-logo

Trusted by leading companies

Overview

Access Google Trends data programmatically through a fast, reliable REST API — 5 endpoints including multi-keyword comparison that most alternatives do not offer. No official Google Trends API exists; this service fills the gap with production-grade infrastructure: a smart caching layer that returns repeat queries in milliseconds, anti-blocking rotation that survives Google's rate limits, and normalized JSON schemas that stay stable even when Google changes its internals.

WHAT YOU GET

- Interest Over Time — search interest for any keyword on a 0–100 scale, from real-time (past hours) to full history since 2004. Custom date ranges supported.
- Keyword Comparison — compare 2–5 keywords on a single shared 0–100 scale, exactly like the Google Trends website does.
- Related Queries & Topics — top and rising related searches for any keyword, ideal for SEO and content research.
- Interest by Region — geographic breakdown by country, region, or city.
- Trending Now — real-time trending searches for any country.

WHY THIS API

- Clean, predictable JSON — normalized response schemas, fixed error vocabulary, no scraping artifacts.
- Worldwide coverage — any country/region code, any language, any timeframe Google Trends supports.
- Built for production — caching layer for fast repeat queries, automatic retry handling, honest error codes with Retry-After headers.
- No empty surprises — errors are explicit and documented; you always know what happened.

USE CASES

SEO & content planning, market and demand research, brand monitoring, product trend validation, financial signals research, academic studies, dashboards and BI integrations.

Google Trends API - Real-Time and Historical Data FAQs

Search interest over time (0-100 scale, from real-time to full history since 2004), related queries and topics, geographic breakdown by country/region/city, real-time trending searches per country, and comparison of 2-5 keywords on a single shared scale — the same data you see on the Google Trends website, as clean JSON.

Use the Compare Keywords endpoint and pass keywords comma-separated in the kw parameter, e.g. kw=iphone,samsung. From 2 to 5 keywords are supported. All keywords are scored on one shared 0-100 scale, so the values are directly comparable — exactly like the compare feature on the Google Trends website.

Real-time: now 1-H, now 4-H, now 1-d, now 7-d. Historical: today 1-m, today 3-m, today 12-m, today 5-y, all (since 2004), plus custom date ranges in the format YYYY-MM-DD YYYY-MM-DD. If the time parameter is omitted, today 3-m is used.

The API returns an explicit error with code EMPTY_RESULT instead of an empty chart, so you always know what happened. Errors use a fixed, documented vocabulary: INVALID_INPUT (400), EMPTY_RESULT and other upstream issues (502), and SERVICE_UNAVAILABLE (503) with a Retry-After header telling you when to retry.

No. Google does not offer a generally available Google Trends API. This service provides the same data through production-grade infrastructure with caching, automatic retries and stable response schemas that do not change when Google changes its internals.

Each endpoint returns specific Google Trends data: Interest Over Time shows search interest on a 0-100 scale; Related Queries provides top and rising search queries; Interest By Region offers geographic breakdowns; Compare Keywords displays comparative interest for multiple keywords; and Trending Now lists real-time trending searches.

Key fields include "kw" (keyword), "geo" (geographic location), "time" (timeframe), and "points" (data points with date and value) for Interest Over Time; "queries" and "topics" for Related Queries; and "rows" for Interest By Region, detailing geographic interest scores.

Response data is structured in a predictable JSON format. Each endpoint returns a "data" object containing relevant fields. For example, Interest Over Time includes "points" as an array of objects, each with "date" and "value," allowing easy access to time-series data.

Parameters vary by endpoint. For Interest Over Time, use "kw" for keywords, "geo" for location, and "time" for the timeframe. Related Queries requires "kw" for the keyword, while Compare Keywords uses "kw" for multiple keywords. Each endpoint supports specific parameters to customize requests.

Interest Over Time provides historical search interest; Related Queries reveals top and rising queries; Interest By Region shows interest scores by location; Compare Keywords allows for comparative analysis of multiple keywords; and Trending Now lists current trending searches.

Users can customize requests by specifying parameters such as keywords, geographic locations, and timeframes. For example, in the Interest Over Time endpoint, users can define a custom date range or select a specific country to tailor the data to their needs.

Data accuracy is maintained through a robust caching layer and automatic retry handling. The API uses stable response schemas and documented error codes, ensuring users receive reliable data even if Google changes its internal structures.

Typical use cases include SEO and content planning, market research, brand monitoring, product trend validation, and academic studies. The API's data helps users identify trends, understand regional interests, and make informed decisions based on search behavior.

The Interest Over Time endpoint provides historical search interest for a specified keyword on a 0-100 scale. It includes data points over time, allowing users to track trends from real-time to historical data since 2004, across various countries and categories.

Users can leverage the Related Queries endpoint to identify top and rising search queries related to a keyword. This information is valuable for SEO strategies, content planning, and market discovery, helping users capitalize on emerging trends.

The Interest By Region endpoint covers global data, allowing users to drill down from countries to specific regions, cities, or US metro areas. This granularity helps in understanding localized search interests and market opportunities.

The Trending Now endpoint accepts parameters such as "geo" for specifying the country of interest. This allows users to retrieve real-time trending searches tailored to specific geographic locations, enhancing relevance for local content strategies.

The Compare Keywords endpoint returns a structured JSON object containing "keywords," "points," and "values." Each "point" includes a date and a set of values for each keyword, enabling users to visualize comparative trends over time on a shared scale.

In the Interest By Region response, "geoCode" indicates the geographic location, "geoName" provides the name of the location, and "value" represents the search interest score on a 0-100 scale. This helps users assess interest levels across different areas.

Users can customize requests for the Interest Over Time endpoint by specifying parameters such as "kw" for the keyword, "geo" for the geographic location, and "time" for the desired timeframe. This flexibility allows for tailored data retrieval based on specific needs.

Data accuracy is ensured through a robust caching layer, automatic retry handling, and stable response schemas. The API provides explicit error codes and documented responses, allowing users to understand any issues and maintain data reliability.

The Trending Now endpoint provides real-time trending search queries for a specified country. Each entry includes the query itself, estimated traffic volume, and related articles, allowing users to monitor current interests and newsworthy topics.

The "isPartial" field indicates whether the data point is complete or only partially available. A value of true means the data for that date is not fully finalized, which may affect trend analysis for that specific point in time.

The Interest By Region endpoint allows analysis at various geographic levels, including countries, regions, cities, and US metro areas. This granularity helps users understand localized search interests and tailor marketing strategies accordingly.

Users can utilize the Related Queries endpoint to discover top and rising search queries related to their keywords. This insight aids in identifying emerging trends and optimizing content strategies to capture growing interest in specific topics.

The "traffic" field indicates the estimated volume of searches for a trending query, categorized as "2000+" or "1000+" searches. This metric helps users gauge the popularity and potential impact of the trending topic.

Users can expect data patterns that reflect search interest fluctuations over time, represented on a 0-100 scale. This includes peaks during significant events or trends, enabling users to identify seasonal or event-driven interest changes.

The "geo" field provides the geographic code for each location, allowing users to identify and analyze search interest scores by specific areas. This information is crucial for understanding regional market dynamics and tailoring campaigns effectively.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs