Search and videoGoogle Trends Explore and Trending Now

Google Trends API: interest over time, regions, related queries and Trending Now

Get Google's 0-100 interest curve for up to 200 keywords per run, the same interest by country, region, city or US metro area, top and rising related queries, and what a country is searching for right now. Empty reports are free.

  • 0.00001 USD per event, trial price until 31 Dec 2026
  • Errors are never charged
  • Free Apify plan: 15 Explore reports and 50 Trending Now rows per run
Example output
json
{
  "type": "interest_over_time",
  "keyword": "example keyword",
  "keywords": ["example keyword"],
  "geo": "US",
  "timeframe": "today 3-m",
  "category": 0,
  "property": "",
  "resolution": "DAY"
}

What you get

  • Interest over time: Google's 0-100 curve per keyword, back to 2004.
  • Interest by region: country, state or region, city or US metro area.
  • Related queries: top and rising searches, with growth such as +250% or Breakout.
  • Trending Now: what a country searches right now, with Google's approximate volume and related searches.
  • Comparisons: up to 5 keywords on one shared 0-100 scale.

Who uses it

  • Content and SEO teams

    Find rising searches while interest is still growing.

  • Marketers

    Compare a brand with competitors on one scale, by country or city.

  • Market researchers

    Measure seasonality and long-term demand back to 2004.

  • Newsrooms

    See what a country is searching for right now.

  • Data teams and agents

    Feed stable records into dashboards and models on a schedule.

Input

FieldKeyWhat it doesDefault
Reports to collectreportsinterest_over_time, interest_by_region, related_queries, related_topics, trending_nowthe first three
Keywordskeywords1-200 search terms["coffee"]
Compare keywordscomparePut 2-5 keywords on one shared scaleoff
Explore locationgeoEmpty for worldwide, US, US-CA or a metro such as US-CA-807worldwide
Explore time rangetimeframePast hour up to all time since 2004, or custom datestoday 12-m
Trending Now country, hours, rowstrendingGeo, trendingHours, trendingMaxItems4 hours to 7 days, up to about 500 rowsUS, 24, 50

One keyword, interest over time in the US, past 3 months

jsonInput
{
  "keywords": ["coffee"],
  "geo": "US",
  "timeframe": "today 3-m",
  "reports": ["interest_over_time"]
}

We ran this exact input on 2 Dec 2026: 1 record, run status SUCCEEDED.

Two keywords on one scale in Germany

jsonInput
{
  "keywords": ["example phone a", "example phone b"],
  "compare": true,
  "geo": "DE",
  "timeframe": "today 3-m"
}

Top 100 trending searches in the UK, past 4 hours

jsonInput
{
  "reports": ["trending_now"],
  "trendingGeo": "GB",
  "trendingHours": "4",
  "trendingMaxItems": 100
}

Output

One record per item in the run's dataset, exportable as JSON, CSV or Excel.

jsonExample record
{
  "type": "interest_over_time",
  "status": "ok",
  "error": null,
  "keyword": "example keyword",
  "keywords": ["example keyword"],
  "geo": "US",
  "timeframe": "today 3-m",
  "category": 0,
  "property": "",
  "resolution": "DAY",
  "average": null,
  "values": [
    {
      "date": "2026-09-03T00:00:00.000Z",
      "value": 61,
      "is_partial": false
    },
    {
      "date": "2026-09-04T00:00:00.000Z",
      "value": 64,
      "is_partial": false
    },
    {
      "date": "2026-12-01T00:00:00.000Z",
      "value": 70,
      "is_partial": true
    }
  ],
  "source_url": "https://trends.google.com/trends/explore?q=example+keyword&geo=US&date=today+3-m",
  "scraped_at": "2026-12-02T12:00:00.000Z"
}

Shortened to three points.

FieldWhat it means
values[].valueRelative interest from 0 to 100 within this request: 100 is the peak, not a search count.
is_partialThe last point is often partial because the period is still running.
statusok, no_data (Google had nothing, free) or error (failed after retries, free).
source_urlThe matching Google Trends page, to check a result by eye.

Use it from your code, agent or workflow

Every example runs the same input. Get your API token in Apify Console under Settings, API & Integrations, and keep it in the APIFY_TOKEN environment variable.

curl

bashSynchronous run (token in APIFY_TOKEN)
curl -sS --max-time 310 -X POST \
  "https://api.apify.com/v2/acts/G4aJjtT7Oiw6gMaAG/run-sync-get-dataset-items?maxTotalChargeUsd=0.10" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["coffee"], "geo": "US", "timeframe": "today 3-m", "reports": ["interest_over_time"]}'

Python

pythonapify-client 3.x
# pip install apify-client
import os
from decimal import Decimal

from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("G4aJjtT7Oiw6gMaAG").call(
    run_input={
        "keywords": ["coffee"],
        "geo": "US",
        "timeframe": "today 3-m",
        "reports": ["interest_over_time"],
    },
    max_total_charge_usd=Decimal("0.10"),  # spend cap for this run
)
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item.get("type"), item.get("keyword"), item.get("status"))

JavaScript

javascriptapify-client 2.x, Node 18+
// npm install apify-client
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('G4aJjtT7Oiw6gMaAG').call(
  {
    keywords: ['coffee'],
    geo: 'US',
    timeframe: 'today 3-m',
    reports: ['interest_over_time'],
  },
  { maxTotalChargeUsd: 0.1 }, // spend cap for this run
);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const item of items) console.log(item.type, item.keyword, item.status);

AI agents (MCP)

jsonMCP client configuration
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=cozybit/google-trends-scraper"
    }
  }
}

Works in any MCP client that accepts a remote server URL (Apify's MCP docs). Clients with OAuth sign you in to Apify on first use; others send "headers": {"Authorization": "Bearer <APIFY_TOKEN>"}. The tool is called cozybit--google-trends-scraper. Try a prompt such as: Compare Google Trends interest in two product names in Germany over the past 3 months. More in AI agents and MCP.

n8n, Make, Zapier

Apify has its own apps for the main automation platforms. Point them at this actor's ID G4aJjtT7Oiw6gMaAG and paste the input JSON.

  • n8n: the Apify node, operation Run an Actor and get dataset.
  • Make: the Apify module Run an Actor, then Get Dataset Items.
  • Zapier: the Apify action Run Actor, or the trigger Finished Actor run for scheduled runs.

Step-by-step setup: n8n, Make and Zapier.

Apify Console

  1. Open the Store page and choose Try for free. Apify asks you to sign in or create a free account.

  2. Paste the input into the JSON tab of the input form, or fill in the fields.

  3. Start the run, then open the dataset and export it as JSON, CSV or Excel. Save the input as a task to schedule it.

  • run-sync-get-dataset-items waits at most 300 seconds, then answers HTTP 408. Keep synchronous calls small and start an asynchronous run for batches (below).
  • maxTotalChargeUsd caps what one run may charge; the run stops cleanly when it is reached.
  • Send the token in the Authorization header, never as ?token= in the URL, where it ends up in logs.
  • The ID G4aJjtT7Oiw6gMaAG never changes; the name cozybit/google-trends-scraper works too.
Batches and schedules: start a run, wait, read the results
bashAsynchronous run, results as CSV
# 1. Start a run; the answer comes back at once
curl -sS -X POST "https://api.apify.com/v2/acts/G4aJjtT7Oiw6gMaAG/runs?maxTotalChargeUsd=1" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d @input.json
# The answer's data.id is RUN_ID and data.defaultDatasetId is DATASET_ID.

# 2. Wait up to 60 s per call until data.status is SUCCEEDED
curl -sS "https://api.apify.com/v2/actor-runs/RUN_ID?waitForFinish=60" \
  -H "Authorization: Bearer $APIFY_TOKEN"

# 3. Read the records as JSON, CSV or Excel (format=json, csv or xlsx)
curl -sS "https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv" \
  -H "Authorization: Bearer $APIFY_TOKEN" -o results.csv

Save a Trending Now input as a task and schedule it daily for a snapshot per country. Schedules live in Apify Console under Schedules; a webhook or the no-code apps can pick up each finished run.

Price

You pay per event, through your Apify account, with platform costs included. The live price is on the Store page: 0.00001 USD per event, a trial price until 31 Dec 2026.

EventWhat countsTrial price until 31 Dec 2026Planned post-trial rate
reportExplore report (one keyword, one report type)0.00001 USD (0.01 USD per 1,000)2.00 USD per 1,000
trend-rowTrending Now row0.00001 USD (0.01 USD per 1,000)0.50 USD per 1,000

What each outcome costs

OutcomeWhat it isCharged?
okExplore report or Trending Now row deliveredCharged
no_dataGoogle returned nothing for this keyword, place and time rangeFree
errorThe request failed after retriesFree

Not charged: no_data and error records.

Apify's free plan (no card) returns up to 15 Explore reports and 50 Trending Now rows per run. You can cap any run's cost with maxTotalChargeUsd.

What typical jobs cost

ExampleCharged eventsAt the trial priceAt the planned rate
One keyword, the three default reports3 × report0.00003 USD0.006 USD
100 keywords, three reports each300 × report0.003 USD0.60 USD
Top 50 trending searches in one country50 × trend-row0.0005 USD0.025 USD

The post-trial rate is planned, not scheduled: the trial may be extended, Apify notifies users before any price increase, and the Store page always shows the price that applies. See how pricing works and the cost estimator.

Reliability

99.9%of reports and rows delivered

3,077 of 3,080 reports and trending rows arrived across 120 runs on the Apify platform with default settings, and Google blocked none of those runs. They spanned 10 countries plus worldwide, time ranges from one day to five years and 1-5 keywords. The median run takes 20 seconds; 95% finish within 49 seconds.

Problems and questions go to the actor's Issues tab on Apify.

Limits

  • Values are relative (0-100), not search counts; two keywords share a scale only in one comparison.
  • Related topics is experimental: Google currently returns it empty to automated requests, so expect no_data (free).
  • Up to 200 keywords per run and 5 per comparison.
  • Google Trends has no generally available official API; a change on Google's side can break the actor until it is updated.

Questions

Does it return search volumes?

Not for Explore reports: Google Trends gives relative interest from 0 to 100. Trending Now rows include Google's approximate volume, such as 2,000,000+.

Can I get data for a state, city or US metro?

Yes: set geo to US, US-CA or US-CA-807, and regionResolution to CITY for a city breakdown.

Why is a report empty?

no_data usually means the keyword has too little search volume for that place and time range. Empty reports are free.

Do I need a Google account or API key?

No. You need only an Apify account.

Captions as plain text, timestamped segments and SRT or WebVTT files.

per transcript

Hotel prices, stars, ratings and details for your dates.

  • Relative dates

per hotel

Try Google Trends API on the free Apify plan

No card needed. Errors are never charged, and every run can carry a spend cap.