Platforms/Google/Trends interest

Google Trends Interest Over Time API

GET ยท 1 credit

Send up to 5 searches, and get their interest over time as Google Trends charts it, from 0 to 100.

GET /v1/google/trends/interest

What people use it for

  • Brand comparisons: chart your brand against competitors week by week.
  • Seasonality: see when interest in a product peaks over five years.
  • Campaign impact: check whether a launch moved search interest.

How it works with other endpoints

Topic ids from Trends suggestions work in query. For where interest comes from, use Trends regions; for what else people searched, Trends related queries.

Limits

  • Up to 5 searches a call, separated by commas.
  • Values are relative (0 to 100), not search counts.

Example request

const url = `${process.env.API_URL}/v1/google/trends/interest?query=nike%2Cadidas&country=US`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
queryYesUp to 5 searches to compare, separated by commas (nike,adidas). A topic id from the suggestions endpoint stands for the topic, in any words.
countryNoOnly searches from this country (US) or a region of it (US-CA). None: worldwide.
timeNoThe period: the last hour, day, week, month, quarter, year or five years.

Example response

{
  "data": [
    {
      "time": "2025-12-07T00:00:00Z",
      "values": [
        72,
        41
      ],
      "partial": false
    },
    {
      "time": "2025-12-14T00:00:00Z",
      "values": [
        100,
        47
      ],
      "partial": false
    },
    {
      "time": "2026-11-29T00:00:00Z",
      "values": [
        68,
        39
      ],
      "partial": true
    }
  ],
  "page": null,
  "meta": {
    "platform": "google",
    "endpoint": "trends_interest",
    "params": {
      "query": "nike,adidas",
      "country": "US",
      "time": "year"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

What do the values mean?

Each search's interest at that point, from 0 to 100, where 100 is the highest point for any of them in the period. values follows the order the searches were asked for.

Which periods can I pick?

time: hour, day, week, month, quarter, year (the default) or five_years.

What does partial mean?

The point's period is still going, so its value may change.

Can I compare topics, not words?

Yes. Use topic ids from Trends suggestions in query.

Works with

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required