{
"count": 1,
"items": [
{
"inputUrlOrTerm": "chatgpt",
"searchTerm": "chatgpt",
"keyword": "chatgpt",
"geo": "US",
"timeframe": "today 12-m",
"searchType": "web",
"category": 0,
"interestOverTime": [
{
"date": "2025-11-16T00:00:00Z",
"formattedTime": "Nov 16 – 22, 2025",
"value": 100,
"isPartial": false
},
{
"date": "2025-11-23T00:00:00Z",
"formattedTime": "Nov 23 – 29, 2025",
"value": 68,
"isPartial": false
},
{
"date": "2025-11-30T00:00:00Z",
"formattedTime": "Nov 30 – Dec 6, 2025",
"value": 91,
"isPartial": false
},
{
"date": "2025-12-07T00:00:00Z",
"formattedTime": "Dec 7 – 13, 2025",
"value": 91,
"isPartial": false
},
{
"date": "2025-12-14T00:00:00Z",
"formattedTime": "Dec 14 – 20, 2025",
"value": 83,
"isPartial": false
}
],
"averageInterest": 80.8,
"peakInterest": 100,
"peakDate": "2025-11-16T00:00:00Z",
"trendDirection": "flat",
"changePercent": -0.4,
"interestOverTime_timelineData": [
{
"time": "1763251200",
"formattedTime": "Nov 16 – 22, 2025",
"formattedAxisTime": "Nov 16, 2025",
"value": [
100
],
"hasData": [
true
],
"formattedValue": [
"100"
]
},
{
"time": "1763856000",
"formattedTime": "Nov 23 – 29, 2025",
"formattedAxisTime": "Nov 23, 2025",
"value": [
68
],
"hasData": [
true
],
"formattedValue": [
"68"
]
},
{
"time": "1764460800",
"formattedTime": "Nov 30 – Dec 6, 2025",
"formattedAxisTime": "Nov 30, 2025",
"value": [
91
],
"hasData": [
true
],
"formattedValue": [
"91"
]
},
{
"time": "1765065600",
"formattedTime": "Dec 7 – 13, 2025",
"formattedAxisTime": "Dec 7, 2025",
"value": [
91
],
"hasData": [
true
],
"formattedValue": [
"91"
]
},
{
"time": "1765670400",
"formattedTime": "Dec 14 – 20, 2025",
"formattedAxisTime": "Dec 14, 2025",
"value": [
83
],
"hasData": [
true
],
"formattedValue": [
"83"
]
}
],
"interestOverTime_averages": [
80.77
]
}
]
}
curl --location --request GET 'https://zylalabs.com/api/14703/google+trends+interest+over+time+api/38021/keyword+trends?keywords=chatgpt&geos=US&timeframe=past_12_months&searchType=web&category=OptionalincludeRegions=true®ionResolution=auto&includeRelated=true&maxRelatedItems=25&compareKeywords=true&language=en-US&maxItems=10&isMultiple=false' --header 'Authorization: Bearer YOUR_API_KEY'
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 Interest Over Time API simply include your bearer token in the Authorization header.
| 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.
Reliable Google Trends data: interest over time, by region, related queries and topics for many keywords compared on one scale. Clean JSON, no blocking.
Reliable Google Trends data: interest over time, by region, related queries and topics for many keywords compared on one scale. Clean JSON, no blocking.
Up to 100 results per request. Set it with the maxItems parameter.
Every request collects live data from the public source. Identical requests may be served from a cache for up to 6 hours.
List parameters accept several values separated by commas, for example: london,paris.
Key fields in the response include "averageInterest," "changePercent," "comparedInterest," and "interestByRegion." Each region's interest is detailed with "geoCode," "geoName," and "value," allowing for comprehensive analysis of trends.
The response data is structured in JSON format, with a main object containing a "count" of results and an "items" array. Each item represents a keyword trend, detailing its interest metrics and regional breakdowns.
The endpoint provides information on keyword interest over time, regional interest variations, and related queries. Users can analyze trends across different regions and compare multiple keywords simultaneously.
The endpoint accepts these query parameters, all optional: keywords, geos, timeframe, customTimeframe, searchType, category, includeRegions, regionResolution, includeRelated, maxRelatedItems, compareKeywords, language, maxItems, searchTerms, isMultiple. Keywords: Search terms to analyze, one per line. Any number of keywords; they can also be compared on one common scale. Several values: comma separated. Geos: Country or region codes such as US, GB, DE or US-CA. Leave empty for worldwide. Each keyword is analyzed for every location. Several values: comma separated. Timeframe: Period to analyze. CustomTimeframe: Overrides the time range. Format: YYYY-MM-DD YYYY-MM-DD
The Google Trends API endpoint returns data on keyword trends, including average interest over time, interest by region, and related queries. It provides insights into how specific keywords are performing across different geographical areas.
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.
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.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund