Reef AI: ask for any data. Try it
Looking for the overview — what this API returns, what it costs, and a call you can run without a key? See the Google Trends API page →
Search & SEO

Google Trends API & Scraper

The Google Trends API returns Google Trends data as clean JSON: interest over time on Google's 0-100 scale, top and rising related queries, interest by country, state, city or US metro, trending searches with their news articles, realtime story clusters, entity suggestions and the full category tree.

7 actionsLive JSON1,000 free credits$0.67–$1.50 / 1,000 creditsMCP-ready
Get a free keyOpen in playground

🤖 Using an AI assistant? Copy this link into ChatGPT / Claude / Cursor — it reads every endpoint and parameter instantly and tells you if this API fits your use case.

interest_over_time, related_queries and interest_by_region were switched off from 2026-07-29 and came back on 2026-11-15, when 178 of 180 test calls across 20 keywords in 12 countries and worldwide returned data. related_topics is still disabled and says so with an explicit DISABLED error. One ReefAPI key, one shared credit pool, the standard envelope.

Reference

Which google-trends actions return data (measured 2026-11-15)

interest_over_time, related_queries and interest_by_region answered DISABLED from 2026-07-29 and are live again since 2026-11-15. That day we ran 20 keywords through all three actions in three rounds between 14:16 and 15:05 UTC, across the United States, the United Kingdom, Brazil, Japan, Germany, Turkey, India, Canada, Australia, France, Mexico, Spain and worldwide: 178 of 180 calls returned data (98.9%), and 15 calls made in parallel all returned data. related_topics is the one action still disabled. Check this table before you design against an action.

ActionReturns data on 2026-11-15?What came back
interest_over_timeYeskeyword "black friday", geo US, timeframe today 12-m returned 54 weekly points on Google's 0-100 scale, peaking in the week of 2025-11-23. Timeframes today 12-m, today 3-m, today 5-y, today 1-m, now 7-d and now 1-d all returned data, as did a category filter and a two-keyword comparison
related_queriesYes"black friday" in the United States returned 25 top and 25 rising queries; rising entries carry a percentage increase or Breakout, e.g. "walmart black friday deals 2026" marked Breakout. 58 of 60 calls returned data; the 2 that failed ("chatgpt" worldwide, "world cup" in Brazil) returned TARGET_BLOCKED and returned data in the other two rounds
interest_by_regionYes"black friday" in the United States returned 51 state-level regions, Kansas highest at 100
related_topicsNostill ok: false with error.code DISABLED (HTTP 503) and retryable false on 2026-11-15
trending_nowYesunchanged and working on 2026-11-15. Measured 2026-08-27: geo=US returned 10 trends with title, traffic "200+" (string), approx_traffic 200 (integer), pub_date, picture and articles[] carrying title/url/source
realtime_trendingYesrebuilt on 2026-11-15 (engine 1.3.0) after returning PARSE_ERROR on every call from 2026-11-07. The United States feed held 76 stories for hours=4, 576 for 24, 1,059 for 48 and 3,222 for 168, answering in about 0.5 to 1.0 s; each story carries title, traffic, started_date, active, category_ids, related_queries, article_count and the new increase_percentage
suggestYesunchanged. Measured 2026-08-27: keyword "apple" returned 5 entities: /m/04st9hr Topic, /m/014j1m Fruit, /m/0k8z Technology company, /g/11bc6hq8w2 Topic, /m/05253_m Vinegar
categoriesYesunchanged. The whole tree in one call, over 1,400 rows; query=finance returned id 7 Finance (parent_id 0, depth 1), 1138 Business Finance (parent 12 Business & Industrial, depth 2) and 1161 Public Finance

Two things to plan for. related_topics answers DISABLED with retryable: false, so do not build a retry loop around it. And when a keyword has too little search volume in a region, interest_over_time, interest_by_region and related_queries answer ok with has_data: false and a reason, and that answer costs no credits. Google briefly refuses some requests in short bursts; the API waits and asks again for you, and in a side-by-side run on 2026-11-24 the three actions answered 260 of 260 calls where the previous version answered 145. The 0-100 values are relative to the peak of the window you requested, not counts of searches.

Live example

Real request and response JSON

Captured from the indexed primary action, trending_now, on .

Captured request
{
  "method": "POST",
  "url": "https://api.reefapi.com/google-trends/v1/trending_now",
  "headers": {
    "x-api-key": "$REEF_KEY",
    "content-type": "application/json"
  },
  "body": {
    "geo": "US"
  }
}
Captured response
{
  "ok": true,
  "meta": {
    "api": "google-trends",
    "endpoint": "trending_now",
    "mode": "live",
    "latency_ms": 654.8,
    "record_count": 10,
    "cache_hit": false,
    "completeness_pct": 100
  },
  "data": {
    "geo": "US",
    "trends": [
      {
        "title": "miami airport",
        "traffic": "500+",
        "approx_traffic": 500,
        "link": "https://trends.google.com/trending/rss?geo=US",
        "picture": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcR3K6tdTzhCkrHFaHQw6XIXirKTZA2t8y8-TuOGhVOYbD0IurECyZl5hH-xBi8",
        "pub_date": "Wed, 23 Sep 2026 14:20:00 -0700",
        "articles": [
          {
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "source": "[trimmed-depth]",
            "picture": "[trimmed-depth]"
          },
          {
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "source": "[trimmed-depth]",
            "picture": "[trimmed-depth]"
          },
          {
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "source": "[trimmed-depth]",
            "picture": "[trimmed-depth]"
          }
        ]
      },
      {
        "title": "kevin durant",
        "traffic": "500+",
        "approx_traffic": 500,
        "link": "https://trends.google.com/trending/rss?geo=US",
        "picture": "https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQ3EyNGAFSuAojJjxgQ8ewrwgV3d2zZ5kAuR_6Dbpv-ptPVlegWwGfzBUOYgYo",
        "pub_date": "Wed, 23 Sep 2026 14:20:00 -0700",
        "articles": [
          {
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "source": "[trimmed-depth]",
            "picture": "[trimmed-depth]"
          },
          {
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "source": "[trimmed-depth]",
            "picture": "[trimmed-depth]"
          },
          {
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "source": "[trimmed-depth]",
            "picture": "[trimmed-depth]"
          }
        ]
      },
      {
        "title": "khloe kardashian",
        "traffic": "500+",
        "approx_traffic": 500,
        "link": "https://trends.google.com/trending/rss?geo=US",
        "picture": "https://encrypted-tbn2.gstatic.com/images?q=tbn:ANd9GcT9rFVSerPT52NKJBS_AUuAnI8G86RkiJZOpVXgh8WJO2xTC2th3fbaWpvLrzs",
        "pub_date": "Wed, 23 Sep 2026 14:20:00 -0700",
        "articles": [
          {
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "source": "[trimmed-depth]",
            "picture": "[trimmed-depth]"
          },
          {
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "source": "[trimmed-depth]",
            "picture": "[trimmed-depth]"
          },
          {
            "title": "[trimmed-depth]",
            "url": "[trimmed-depth]",
            "source": "[trimmed-depth]",
            "picture": "[trimmed-depth]"
          }
        ]
      }
    ]
  }
}
Actions

What the Google Trends API does

ActionDescriptionConcrete use caseKey params
interest_over_timeSearch interest over time for one keyword or a comparison of several, as Google Trends' own 0-100 index per week/day/hour for the chosen geo, timeframe, category and property (web, news, images, YouTube, shopping). Measured 2026-11-24 side by side with the previous version, same calls in the same minutes: 188/188 ok (previous version 95/188, 70 refused by Google's throttling); median 1.3 s, 95th percentile 4.5 s, up to 40 s while Google sheds traffic. 'Black Friday' US 2025-10-10..2025-12-26 = 78 daily points. When Google has too little search volume it returns an empty or an all-zero timeline; both come back ok with has_data:false and a reason, and are not charged ('journal de trading' 12 months: FR 23-24 non-zero weeks, MA/DZ/TN no data).SEO teams call interest_over_time to search interest over time for one keyword or a comparison of several, as Google Trends' own 0….keyword, keywords, geo, timeframe, category, ...
related_queriesThe queries people also search for a keyword: top[] (0-100) and rising[] (percentage growth or Breakout), each with its Trends explore link. Measured 2026-11-24 side by side with the previous version: 36/36 ok (previous version 16/36, 20 refused by Google's throttling); median 2.3 s, 95th percentile 23.5 s; 25 top + 25 rising for 'Black Friday' US. A keyword with too little search volume returns ok with empty top/rising, has_data:false and a reason, and is not charged ('journal de trading' in FR, MA and LU).Content strategists call related_queries to get the queries people also search for a keyword.keyword, geo, timeframe, category, property
interest_by_regionWhere a keyword is searched most: regions[] with Google Trends' 0-100 value per country, state/region, metro (DMA) or city, for one keyword or a comparison. Measured 2026-11-24 side by side with the previous version: 36/36 ok (previous version 34/36); median 1.3 s; 'Black Friday' US = 51 states. Too little search volume returns ok with has_data:false and a reason (e.g. 'journal de trading' in LU: 3 regions, none with data) and is not charged.Rank trackers call interest_by_region to get where a keyword is searched most.keyword, keywords, geo, timeframe, resolution, ...
trending_nowCurrently trending searches for a geo (title + approx traffic + news articles)AI answer-monitoring tools call trending_now to get currently trending searches for a geo (title + approx traffic + news articles).geo
suggestKeyword autocomplete — candidate topics/entities (the Google Trends suggestion list) so you can pick the right entity (e.g. the 'Apple Inc. — Technology company' topic mid vs the fruit) before querying interest_over_time/related.SEO teams call suggest to get keyword autocomplete.keyword, hl
categoriesList the Google Trends category taxonomy (id + name, hierarchical) so you can find the right `category` id to narrow interest_over_time / related_queries / interest_by_region (e.g. 7=Finance, 5=Computers & Electronics). Optionally filter by a name substring.Content strategists call categories to list the Google Trends category taxonomy (id + name, hierarchical) so you can find the right….query
realtime_trendingRealtime trending story-clusters for a country (richer than trending_now): each cluster has a title, approximate search-traffic volume, the FULL related-query set, category ids, and an article count. Best for 'what is breaking right now' research.Rank trackers call realtime_trending to get realtime trending story-clusters for a country (richer than trending_now).geo, hours, limit, hl
Code samples

Call trending_now from your stack

curl -X POST https://api.reefapi.com/google-trends/v1/trending_now \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"geo":"US"}'
MCP one-liner
Ask your MCP-connected assistant: call reefapi.google-trends.trending_now with {"geo":"US"}.
Use cases

Who uses this API and why

  • Market researchers call interest_over_time with up to five keywords to compare seasonal demand over 12 months or 5 years on one 0-100 scale.
  • SEO and content teams call related_queries for a seed keyword and take the rising list, Breakout entries first, as new topics.
  • Regional marketers call interest_by_region to see which US states search a term most before splitting a budget.
  • Trend trackers call trending_now for the country feed and catch a rising topic with its source articles.
  • Editorial teams call realtime_trending for the story cluster behind a headline and take its related_queries list as keyword vocabulary.
FAQ

Questions developers ask before integrating

Is there a Google Trends API for interest over time?

Yes. interest_over_time returns Google Trends' 0-100 interest index as JSON for one keyword, or for up to five keywords compared on the same scale, in any country or worldwide. Measured 2026-11-15: "black friday" in the United States over the last 12 months returned 54 weekly points, peaking in the week of 2025-11-23. The timeframes today 12-m, today 3-m, today 5-y, today 1-m, now 7-d and now 1-d all returned data that day, and a category filter and a two-keyword comparison worked. The engine averaged 2.8 to 4.4 seconds per call; calls through the public gateway measured 1.1 to 1.8 seconds. The value is relative to the peak of the window you asked for, not a count of searches.

Can I get Google Trends data by region or US state?

Yes. interest_by_region returns the 0-100 interest score per region for a keyword. For "black friday" in the United States on 2026-11-15 it returned 51 state-level regions, with Kansas highest at 100. The resolution parameter accepts COUNTRY, REGION, CITY and DMA (US metro areas); we measured the state level. geo takes a country code such as US, GB or DE, a sub-region code such as US-CA, or a name such as Texas.

Does it support related queries and rising queries?

Yes. related_queries returns two lists for a keyword: top, the most searched related queries, and rising, the fastest-growing ones with a percentage increase or Breakout. "black friday" in the United States returned 25 top and 25 rising queries on 2026-11-15, including "walmart black friday deals 2026" marked Breakout. When a keyword has too few searches in a region, the call answers ok with has_data: false and costs no credits; on 2026-11-24, "journal de trading" answered that way in both France and Morocco.

Why is related_topics not available?

related_topics is still disabled on 2026-11-15: it answers ok: false with error.code DISABLED (HTTP 503) and retryable false. Since this engine was built, Google's related-topics list has come back empty even when related queries for the same keyword returned results, so we return an explicit error instead of an empty list that looks like a real answer. For the vocabulary around a keyword use related_queries, and use suggest to resolve a word to Google's topic ids.

What is the difference between trending_now and realtime_trending?

trending_now is the headline feed and realtime_trending is the story cluster behind it. Measured for geo=US on 2026-08-27, trending_now returned 10 items where traffic is a string bucket ("200+", "2000+") with approx_traffic as the parsed integer, plus pub_date and an articles[] list carrying title, url and source such as CNN, Fox News and ESPN. realtime_trending returns clusters instead: on that day "tim curry" carried traffic as a plain integer 2,000,000, category_ids [4], started and started_date, active true, article_count 44 and a 127-entry related_queries list. Since 2026-11-15 each story also carries increase_percentage. Use the first for headlines, the second when you want the query vocabulary around a breaking story.

Why did realtime_trending return PARSE_ERROR in November 2026?

From 2026-11-07 to 2026-11-15 every realtime_trending call returned PARSE_ERROR because Google changed how its Trending now page delivers its data. The engine was rebuilt on 2026-11-15 (version 1.3.0) and answers again in about 0.5 to 1.0 seconds, respecting geo and hours: the United States feed held 76 stories in the last 4 hours, 576 in 24 hours, 1,059 in 48 hours and 3,222 in 7 days.

How do I find the right Google Trends category id?

Call categories. The full taxonomy runs to over fourteen hundred entries — the exact total drifts by a row or two as Google edits it, so read it from meta rather than pinning it — and each row carries id, name, parent_id, parent_name and depth so you can see where it sits. query=finance returned id 7 (Finance, parent All categories, depth 1), 1138 (Business Finance, parent Business & Industrial, depth 2) and 1161 (Public Finance). id 0 is All categories and is the default. Pass an id as category to interest_over_time, related_queries or interest_by_region to narrow them. Omit query to pull the whole tree once and cache it.

What is the mid value in a suggest response?

It is Google's entity id for that topic, and it is how you disambiguate a word that means several things. The keyword "apple" returned five: /m/04st9hr as a Topic, /m/014j1m as a Fruit, /m/0k8z as a Technology company, /g/11bc6hq8w2 as another Topic and /m/05253_m for Apple cider vinegar. The /m/ prefix marks older Knowledge Graph entities and /g/ marks newer ones. Run suggest before interest_over_time or related_queries so you know which sense of a word you are about to measure.

What geo values do the trending actions accept?

Country level. trending_now takes a country code and defaults to US. realtime_trending is country-only, so a sub-region suffix such as US-CA is dropped rather than honored. Since 2026-11-15 an unknown geo returns INVALID_PARAM, and a real country with no trending feed, such as Vatican City (VA), returns NOT_FOUND. realtime_trending also takes hours from the set 4, 24, 48 and 168 (default 24), limit from 1 to 300 (default 50) and an optional hl for the page language (default en-US). The keyword actions are different: interest_over_time, related_queries and interest_by_region also take sub-region codes and leave geo empty for worldwide.

Is a DISABLED error worth retrying?

No. Only related_topics returns DISABLED now, with error.retryable false; it fails instantly and will not succeed on a retry. Treat it as a capability statement and branch your code on it. related_queries, interest_over_time and interest_by_region do not need a retry loop: Google's short refusals are retried inside the call, and a keyword with too little search volume answers ok with has_data: false at no charge.

What is the Google Trends API?

Google Trends API is a ReefAPI endpoint group for search interest over time, by region, and trending now. It returns live JSON through POST requests under /google-trends/v1.

Is the Google Trends API free to try?

Yes. ReefAPI starts with 1,000 free credits, no card required. Google Trends calls use the same shared credit balance as every other ReefAPI engine.

Do I need a Google Trends login or account?

No login to Google Trends is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.

How fresh is the Google Trends data?

The page example is captured from a live interest_over_time call, and production requests fetch live data through ReefAPI rather than a static sample.

docs / google-trends

Google Trends

Search interest over time, by region, and trending now.

base /google-trends/v17 endpoints
post/google-trends/v1/interest_over_time1 credit

Search interest over time for one keyword or a comparison of several, as Google Trends' own 0-100 index per week/day/hour for the chosen geo, timeframe, category and property (web, news, images, YouTube, shopping). Measured 2026-11-24 side by side with the previous version, same calls in the same minutes: 188/188 ok (previous version 95/188, 70 refused by Google's throttling); median 1.3 s, 95th percentile 4.5 s, up to 40 s while Google sheds traffic. 'Black Friday' US 2025-10-10..2025-12-26 = 78 daily points. When Google has too little search volume it returns an empty or an all-zero timeline; both come back ok with has_data:false and a reason, and are not charged ('journal de trading' 12 months: FR 23-24 non-zero weeks, MA/DZ/TN no data).

ParameterAllowed / rangeDescription
keywordrequired—The search term to analyze (e.g. 'bitcoin'). For multi-term compare use 'keywords'.
keywordsoptional—Up to 5 terms to compare (array, or a comma-separated string). When given, overrides 'keyword'; extras beyond 5 are dropped.
geooptional—Geography filter: empty = Worldwide; a country code (US, GB, DE) or a sub-region code (US-CA, GB-ENG). Country names and US-state names (e.g. 'United Kingdom', 'Texas', 'Austin, TX') are auto-mapped to codes. Omit for worldwide.
timeframe = today 12-moptional—Date range in Google Trends syntax, e.g. 'today 12-m', 'today 5-y', 'now 7-d', 'all', or an explicit 'YYYY-MM-DD YYYY-MM-DD'.
category = 0optional0–Google Trends category id to narrow the topic (0 = All categories). e.g. 7=Finance, 5=Computers & Electronics.
propertyoptional · images · news · youtube · froogleWhich Google property's search interest to measure. Empty = web search.
Try in playground →
post/google-trends/v1/interest_by_region1 credit

Where a keyword is searched most: regions[] with Google Trends' 0-100 value per country, state/region, metro (DMA) or city, for one keyword or a comparison. Measured 2026-11-24 side by side with the previous version: 36/36 ok (previous version 34/36); median 1.3 s; 'Black Friday' US = 51 states. Too little search volume returns ok with has_data:false and a reason (e.g. 'journal de trading' in LU: 3 regions, none with data) and is not charged.

ParameterAllowed / rangeDescription
keywordrequired—The search term to analyze (e.g. 'bitcoin'). For multi-term compare use 'keywords'.
keywordsoptional—Up to 5 terms to compare (array, or a comma-separated string). When given, overrides 'keyword'; extras beyond 5 are dropped.
geooptional—Geography filter: empty = Worldwide; a country code (US, GB, DE) or a sub-region code (US-CA, GB-ENG). Country names and US-state names (e.g. 'United Kingdom', 'Texas', 'Austin, TX') are auto-mapped to codes. Omit for worldwide.
timeframe = today 12-moptional—Date range in Google Trends syntax, e.g. 'today 12-m', 'today 5-y', 'now 7-d', 'all', or an explicit 'YYYY-MM-DD YYYY-MM-DD'.
resolutionoptionalCOUNTRY · REGION · CITY · DMAinterest_by_region granularity. Defaults to the geo's natural level; an unrecognized value is ignored.
category = 0optional0–Google Trends category id to narrow the topic (0 = All categories). e.g. 7=Finance, 5=Computers & Electronics.
propertyoptional · images · news · youtube · froogleWhich Google property's search interest to measure. Empty = web search.
Try in playground →
post/google-trends/v1/suggest1 credit

Keyword autocomplete — candidate topics/entities (the Google Trends suggestion list) so you can pick the right entity (e.g. the 'Apple Inc. — Technology company' topic mid vs the fruit) before querying interest_over_time/related.

ParameterAllowed / rangeDescription
keywordrequired—The term to autocomplete into Trends topics/entities.
hl = en-USoptional—UI language for suggestion titles (e.g. en-US, tr, de).
Try in playground →
post/google-trends/v1/categories1 credit

List the Google Trends category taxonomy (id + name, hierarchical) so you can find the right `category` id to narrow interest_over_time / related_queries / interest_by_region (e.g. 7=Finance, 5=Computers & Electronics). Optionally filter by a name substring.

ParameterAllowed / rangeDescription
queryoptional—Optional case-insensitive substring to filter category names (e.g. 'finance', 'sports'). Omit to list the full taxonomy.
Try in playground →
Built for volume
5M+ requests a day

Measured at 60 requests a second across the fleet, with no central bottleneck. Volume pricing is on request, and per-key limits are raised for high-volume accounts.

Missing a source?
We build it

Tell us a site we do not cover yet and it becomes an engine. A customer asked for bestprice.gr on a Sunday and it was in the catalog the next day.

Support
2 minute median reply

Median time from a question in the live chat to the first answer, measured across every answered conversation. Setup help included, no support tier to buy.

One key, one balance
Every API included

No per-site plans and no separate subscriptions. One key and one credit pool across the whole catalog, so adding a source costs nothing up front.

Planning something large? Tell us the volume and the sources and we will come back with what it costs and what we would have to build.