Google Trends API & Scraper avatar

Google Trends API & Scraper

Pricing

from $3.00 / 1,000 search-term reports

Go to Apify Store
Google Trends API & Scraper

Google Trends API & Scraper

Google Trends data in clean JSON: interest over time, interest by region, related queries, keyword comparisons (up to 5) and Trending Now. Batch keywords, no browser, built for AI agents and analysts.

Pricing

from $3.00 / 1,000 search-term reports

Rating

0.0

(0)

Developer

Kurt Landman

Kurt Landman

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Get Google Trends data as clean JSON for any number of keywords:

  • Interest over time, with a ready-made summary: average, peak, latest value, and whether interest is rising or falling.
  • Interest by region, by country, region, city or US metro area.
  • Related queries, both top and rising, including "Breakout" searches.
  • Keyword comparisons on one shared scale, up to 5 terms at a time.
  • Trending Now: what people are searching for right now, with search volume, growth and categories, for any country.

It talks directly to Google Trends' own data endpoints, with no browser. That keeps it fast and cheap and lets it handle large batches. Each keyword returns one complete report.

Who uses it

  • SEO and content teams: check whether a topic is growing before writing about it, and find rising related searches.
  • Marketers and e-commerce sellers: compare products, brands or markets, and spot seasonality.
  • Analysts and researchers: pull consistent timelines for many keywords in one run.
  • AI agents: one call answers "is X trending?", with a compact summary that needs no further math.

What you get for each search term

FieldWhat it is
summaryaverageInterest, latestInterest, peak, low, changePercent, and direction (rising / falling / stable)
interestOverTimeOne point per hour, day, week or month: date, value (0–100), isPartial
interestByRegionRegions sorted by interest: geoName, geoCode, value (0–100)
relatedQueriestop and rising lists. Rising values are % growth; isBreakout means more than +5,000%
trendsUrlThe same view on trends.google.com
warningsAny section Google did not return, with the reason

Trending Now items include:

  • title and searchVolume (e.g. 200,000)
  • increasePercent
  • startedAt, endedAt and isActive
  • categories
  • trendBreakdown, the related searches behind the trend

How to use it

  1. Enter one or more Search terms, e.g. chatgpt, claude, gemini.
  2. Pick a Time range and a Location (US, GB, US-CA, or empty for worldwide).
  3. Optional:
    • Turn on Compare terms to put up to 5 terms on one scale.
    • Add countries under Trending Now.
  4. Click Start and download the results as JSON, CSV or Excel, or read them via the API.

Input examples

One keyword, past 12 months, United States:

{ "searchTerms": ["web scraping"], "geo": "US", "timeRange": "today 12-m" }

Compare three keywords worldwide over 90 days:

{ "searchTerms": ["chatgpt", "claude", "gemini"], "compareTerms": true, "timeRange": "today 3-m" }

Today's trending searches in the US and UK, technology only:

{ "trendingNowGeos": ["US", "GB"], "trendingNowHours": "24", "trendingNowCategory": "18" }

Exact dates, YouTube searches, regional breakdown by US metro area:

{ "searchTerms": ["iphone 17"], "geo": "US", "customTimeRange": "2025-09-01 2026-09-30", "searchProperty": "youtube", "regionResolution": "DMA" }

Output example

This is a real result, shortened to one entry per list. It comes from comparing web scraping with chatgpt in the US over 90 days.

{
"type": "interestReport",
"searchTerm": "chatgpt",
"comparedWith": ["web scraping"],
"geo": "US",
"timeRange": "today 3-m",
"categoryName": "All categories",
"resolution": "DAY",
"summary": {
"averageInterest": 65.2,
"latestInterest": 83,
"latestDate": "2026-09-30",
"peak": { "date": "2026-09-03", "value": 100 },
"changePercent": 11.9,
"direction": "stable"
},
"interestOverTime": [{ "date": "2026-07-01", "timestamp": 1782864000, "value": 67, "isPartial": false }],
"interestByRegion": [{ "geoCode": "US-CA", "geoName": "California", "value": 100, "hasData": true }],
"relatedQueries": {
"top": [{ "query": "chatgpt ai", "value": 100, "formattedValue": "100", "isBreakout": false, "trendsUrl": "https://trends.google.com/trends/explore?q=chatgpt+ai&date=today+3-m&geo=US" }],
"rising": [{ "query": "sam altman chatgpt water usage", "value": 7750, "formattedValue": "Breakout", "isBreakout": true, "trendsUrl": "https://trends.google.com/trends/explore?q=sam+altman+chatgpt+water+usage&date=today+3-m&geo=US" }]
},
"trendsUrl": "https://trends.google.com/trends/explore?date=today+3-m&geo=US&q=web+scraping%2Cchatgpt&hl=en-US",
"warnings": [],
"scrapedAt": "2026-10-01T03:43:59.067Z"
}

The dataset also has ready-made table views: Search-term reports, Interest over time (one row per period), Interest by region, and Trending Now.

Pricing

You pay only for results. There are no platform-usage charges on top and no fee per run.

EventPrice
Search-term report (one keyword, all sections you selected)$0.003
Trending Now search (one row)$0.001

Examples: 100 keywords cost $0.30, and the top 100 trending searches for one country cost $0.10.

You are never charged for failures. A term that Google does not answer, even after retries, is returned as an item with "type": "error" and a reason, at no cost. If you set a maximum cost for a run, the Actor stops cleanly when it is reached.

Using it from AI agents (MCP)

This Actor works with the Apify MCP server, so it runs from Claude, ChatGPT, Cursor or any MCP client. Agents can also pay per call without an Apify account through Apify's agentic payments.

Good prompts for an agent:

  • "Use Google Trends to tell me whether interest in solar panels in Germany is rising, and list rising related queries."
  • "Compare Notion, Obsidian and Logseq worldwide over the past 5 years and say which is growing fastest."
  • "What is trending in the US right now in Technology?"

Tips for agents:

  • Read summary.direction and summary.changePercent first. They answer "is it growing?" without parsing the timeline.
  • Batch many keywords in one call with searchTerms.
  • Use compareTerms: true only when you need the terms on one scale.
  • Values are relative, 0–100. 100 is the highest point in your request (time range, location and compared terms), not an absolute search count.

  • Comparing changes the scale. A small term next to a very popular one can show 0 everywhere. The report then adds a warning; run it on its own to see its curve.

  • Time range sets the granularity (the resolution field):

    Time rangeSpacing of points
    Past hour, past 4 hoursper minute
    Past dayevery 8 minutes
    Past 7 dayshourly
    Past 30 or 90 daysdaily
    Past 12 months or 5 yearsweekly
    2004 – presentmonthly

    Google picks the spacing of custom date ranges from their length. For example, 3 months is daily and 6 years is monthly.

  • The last point can be partial (isPartial: true) because the period isn't over yet. The summary ignores it.

  • Rising queries show growth versus the previous period. "Breakout" means more than +5,000%.

Reliability

  • Requests go through residential proxies, with a fresh session and exit IP whenever Google rate-limits one.
  • Blocked jobs retry automatically, up to 6 times.
  • If one section (for example regions) fails while the others succeed, you still get the report, and the problem is listed in warnings.

Limitations

  • Related topics are optional and off by default. Google currently often returns an empty topics list to automated requests; when that happens the report says so in warnings.
  • Google offers related topics only for single terms, not comparisons. Region breakdowns are available only where Google has enough data.
  • Google Trends data is sampled, so repeated requests can differ slightly. This is how Google Trends works.

FAQ

Is there an official Google Trends API? Google announced an alpha API in July 2025, but access is by application only. This Actor works today, with no application.

Is it legal to collect Google Trends data? This Actor reads publicly available, aggregated search-interest data and no personal data. Use it in line with the laws and terms that apply to you.

Can I schedule it? Yes. Use Apify Schedules to track keywords daily or weekly, and connect the results to Google Sheets, Slack, Zapier, Make or n8n.

Something not working? Open an issue on the Issues tab with the run link. We respond quickly.