Google Trends Scraper & API | Interest, Regions & Trending avatar

Google Trends Scraper & API | Interest, Regions & Trending

Pricing

from $0.80 / 1,000 results

Go to Apify Store
Google Trends Scraper & API | Interest, Regions & Trending

Google Trends Scraper & API | Interest, Regions & Trending

Scrape Google Trends for any keyword, topic or Trends link: interest over time with average, peak and trend %, interest by region, city and US metro, and top and rising

Pricing

from $0.80 / 1,000 results

Rating

0.0

(0)

Developer

Corvuslab

Corvuslab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

Google Trends Scraper turns any keyword, topic or Google Trends link into a complete Google Trends report in one record: interest over time with ready-made summary stats (average, peak, peak date, latest value, trend %), interest by region, city and US metro (DMA), top and rising related queries and, on request, related topics. A second mode, Trending now, lists the searches surging right now in any country, with approximate traffic and the news behind each one. Up to 40 structured fields, no code needed, exported as JSON, CSV, Excel or via the API to your AI agent.

New to Apify? Sign up free and use the included monthly platform credit to try this Actor — no credit card needed.

Why this scraper

  • ⚡ Fast & low-cost — 100 full keyword reports finish in under 3 minutes.
  • 🛡️ Keeps going when Google pushes back — a refused connection is swapped for a backup one instead of failing your searches.
  • 🧾 One report per keyword — every section in a single record, not six exports to stitch together.
  • 🎯 You pay for data, not for gaps — searches Google has too little data for and duplicate terms are not charged.
  • 🤖 AI- & API-ready — switch off the sections you don't need for lean, MCP-friendly records.

The dataset schema defines 40 fields across two record types — keyword reports and trending searches — grouped like this:

GroupWhat you get
Interest over timeThe full 0–100 timeline (date, label, value, partial flag) plus averageInterest, peakInterest, peakDate, latestInterest, trendChangePercent and, for comparisons, comparisonAverage
Where people searchinterestByRegion (countries or states/regions), interestByCity with latitude and longitude, interestByMetro for the 210 US DMA markets
Related searchesrelatedQueriesTop and relatedQueriesRising with value, "+450%" labels and Breakout flags; relatedTopicsTop and relatedTopicsRising with topic type and topic id (on request, best effort)
Report contextsearchTerm, comparedWith, geo / geoName, timeRange / timeRangeName, category / categoryName, searchProperty, a ready-to-open trendsUrl, incompleteSections
Trending nowtitle, rank, approxTraffic and approxTrafficNumber, startedAt, pictureUrl and pictureSource, newsItems (headline, link, picture, publisher), newsCount

Key features

  • 🔎 Keywords, topics or URLs — search terms, Google topic ids such as /m/05z1_, or pasted explore links with all their settings.
  • 📈 Summary stats on every report — sort a thousand keywords by momentum, no charting needed.
  • ⚖️ True side-by-side comparisons — coffee, tea, matcha on one line with compareTerms on: up to 5 terms share one 0–100 scale, like the Google Trends compare view.
  • 🎚️ Every Google Trends filter — 250 countries plus Worldwide, regions and metros, 9 preset periods or custom dates, 300 categories, 28 languages and 5 search types.
  • 🔥 Trending now, country by country — with approximate traffic, start time, a picture and linked news stories.
  • 🔔 Only-new monitoring with alerts — schedule it, get each new trending search once (repeats are not charged), straight to Telegram, Slack, Discord or any webhook.

  1. Open the Actor and enter your Search terms, one per line (e.g. electric bikes) — or paste a Google Trends explore URL.
  2. Pick a Location, Time range, Category and Search type, or leave the defaults (Worldwide, past 12 months, all categories, web search).
  3. Choose the report sections you want; all but US metro and related topics are on by default. Want related topics? Switch on Related topics.
  4. Click Start — one report per term streams into the Output tab.
  5. Download as JSON, CSV or Excel, or pull from the API.

ℹ️ Related topics are best effort. Google rations them and often holds them back. When it does, your report still arrives with every other section and lists "related topics" in incompleteSections, so an empty list never passes for a real one. Related queries are not affected.

No login, no cookies, no Google account. Leave the input empty and it returns a sample report for web scraping.

Quick-start example input

{ "searchTerms": ["electric bikes", "e-scooter"], "geo": "US", "timeRange": "today 5-y" }

This returns two US reports over the past five years, each with the weekly timeline, its average, peak and trend %, interest by state and city, and related queries: which category is growing, and where.


Input

31 inputs, grouped as in the editor; set them in the visual editor or pass JSON via the API.

FieldTypeWhat it does
modeenumkeywords (trend reports, default) or trendingNow (top searches by country).
searchTermsarrayKeywords or topic ids, one per line; each line becomes one report.
compareTermsbooleanRead a comma in a line as a comparison (coffee, tea, matcha), up to 5 per scale.
startUrlsarrayTrends explore or Trending now links, settings used as-is; an unusable link is skipped with a note.

🎚️ Filters

FieldTypeWhat it does
geoenumWorldwide (compares countries) or one of 250 countries (breaks down by region and city).
regionCodestringA state, region or metro such as US-CA, GB-SCT or US-NY-501. Overrides Location.
timeRangeenumPast hour, 4 hours, day, 7 days, 30 days, 90 days, 12 months (default), 5 years, or 2004–present.
customTimeRangestringYYYY-MM-DD YYYY-MM-DD, e.g. 2024-01-01 2024-06-30. Overrides Time range.
categoryenumOne of 300 categories, e.g. Finance or Sports › Soccer.
searchPropertyenumWeb search (default), Image search, News search, Google Shopping or YouTube search.
languageenum28 languages for topic names, region names and date labels.

📊 Report sections

FieldTypeWhat it does
includeInterestOverTimebooleanTimeline plus summary stats (on).
includeInterestByRegionbooleanPer country or per state / region (on).
includeInterestByCitybooleanPer city, with coordinates (on).
includeInterestByMetrobooleanPer US metro (DMA), United States searches only (off).
includeRelatedQueriesbooleanTop and rising related queries (on).
includeRelatedTopicsbooleanTop and rising related topics (off; best effort, see FAQ).
FieldTypeWhat it does
trendingCountriesarrayCountries to list; one Google publishes no list for is named in the run status.
onlyNewTrendingbooleanDeliver only trending searches earlier runs did not deliver.
stateKeystringOptional memory name shared by runs; defaults to one per set of countries.

🔔 Trend alerts

FieldTypeWhat it does
telegramToken, telegramChatId, slackWebhookUrl, discordWebhookUrl, webhookUrl, webhookHeadersstring / objectAlert channels (see the alerts section). Tokens and webhook URLs are secret.
notificationLimitintegerHow many trending searches each alert lists (default 5).

⚙️ Advanced

FieldTypeWhat it does
maxItemsintegerStop after this many records (reports or trending searches). Empty or 0 = no limit.
maxConcurrencyintegerHow many searches run at the same time (default 4).
maxRequestRetriesintegerRetries per request before its search is reported as failed (default 6).
proxyConfigurationobjectOptional, not needed.

More example inputs

Compare three drinks on one scale in California, measured on YouTube search:

{ "searchTerms": ["coffee, tea, matcha"], "compareTerms": true, "regionCode": "US-CA", "searchProperty": "youtube" }

Paste an explore link you already built in the browser, and add US metro data:

{ "startUrls": [{ "url": "https://trends.google.com/trends/explore?q=solar%20panels&geo=US&date=today%205-y" }], "includeInterestByMetro": true }

Output

Each keyword item is one trend report for one term. A real record from a coffee, tea, matcha comparison in the United States with every section on, trimmed (the full one has 53 weekly points, 51 states, 45 cities, 210 metros, 25 + 25 queries and 18 + 3 topics):

{
"recordType": "keyword",
"searchTerm": "coffee",
"comparedWith": ["tea", "matcha"],
"inputUrlOrTerm": "coffee",
"geo": "US",
"geoName": "United States",
"timeRange": "today 12-m",
"timeRangeName": "Past 12 months",
"category": 0,
"categoryName": "All categories",
"searchProperty": "Web search",
"trendsUrl": "https://trends.google.com/trends/explore?q=coffee%2Ctea%2Cmatcha&date=today+12-m&hl=en-US&geo=US",
"interestOverTime": [
{ "date": "2025-11-09T00:00:00Z", "formattedTime": "Nov 9 – 15, 2025", "value": 72, "hasData": true, "isPartial": false },
{ "date": "2026-11-08T00:00:00Z", "formattedTime": "Nov 8 – 14, 2026", "value": 69, "hasData": true, "isPartial": true }
],
"averageInterest": 78.8,
"peakInterest": 100,
"peakDate": "2026-04-12T00:00:00Z",
"latestInterest": 65,
"trendChangePercent": -1.4,
"comparisonAverage": 79,
"interestByRegion": [
{ "geoCode": "US-WY", "geoName": "Wyoming", "value": 100 }
],
"regionResolution": "REGION",
"interestByCity": [
{ "geoCode": null, "geoName": "Leesburg", "value": 100, "lat": 39.1156615, "lng": -77.5636015 }
],
"interestByMetro": [
{ "geoCode": "759", "geoName": "Cheyenne WY-Scottsbluff NE", "value": 100 }
],
"relatedQueriesTop": [
{ "query": "coffee near me", "value": 100, "formattedValue": "100", "isBreakout": null, "link": "https://trends.google.com/trends/explore?q=coffee+near+me&date=today+12-m&geo=US" }
],
"relatedQueriesRising": [
{ "query": "coffee shops nearby", "value": 3800, "formattedValue": "+3,800%", "isBreakout": false, "link": "https://trends.google.com/trends/explore?q=coffee+shops+nearby&date=today+12-m&geo=US" }
],
"relatedTopicsTop": [
{ "title": "Coffee", "type": "Beverage", "mid": "/m/02vqfm", "value": 100, "formattedValue": "100", "isBreakout": null, "link": "https://trends.google.com/trends/explore?q=/m/02vqfm&date=today+12-m&geo=US" }
],
"relatedTopicsRising": [
{ "title": "Keurig", "type": "Topic", "mid": "/g/122hpghb", "value": 450, "formattedValue": "+450%", "isBreakout": false, "link": "https://trends.google.com/trends/explore?q=/g/122hpghb&date=today+12-m&geo=US" }
],
"incompleteSections": [],
"source": "trends.google.com",
"scrapedAt": "2026-11-13T23:07:27+00:00"
}

In Trending now mode each item is one trending search. A real record from the United States:

{
"recordType": "trendingSearch",
"id": "5978ea503e662007",
"title": "angelina jolie",
"geo": "US",
"geoName": "United States",
"rank": 1,
"approxTraffic": "100+",
"approxTrafficNumber": 100,
"startedAt": "2026-11-14T09:00:00Z",
"pictureUrl": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ7FlXB9lIJILrOJ65nv3pKxQMD5pr-lvgd18qESJSVNK_it9oxPbx37Lcmdh4",
"pictureSource": "Page Six",
"newsItems": [
{ "title": "Angelina Jolie, Brad Pitt's daughter Vivienne reveals hospitalization for eating disorder at LA art exhibit", "url": "https://pagesix.com/2026/11/13/celebrity-news/angelina-jolie-brad-pitts-daughter-vivienne-reveals-hospitalization-for-eating-disorder-at-la-art-exhibit/", "source": "Page Six" }
],
"newsCount": 3,
"trendsUrl": "https://trends.google.com/trends/explore?q=angelina+jolie&date=now+1-d&hl=en-US&geo=US",
"source": "trends.google.com",
"scrapedAt": "2026-11-14T09:13:40+00:00"
}

Each trendsUrl opens the same view on Google Trends, so anyone can check a number in one click.

Data fields

The fields are grouped in the table under What data can you extract above. A section that came back empty is []; one that could not be read is null and named in incompleteSections. Sections you switch off are left out of the record, interestByMetro appears only on United States searches with US metro turned on, and comparisonAverage only on comparisons. The Output tab ships two ready-made views: Keyword trends (term, location, period, average, peak, peak date, latest, trend %, rising queries and topics, Trends link) and Trending now (rank, search, country, traffic, start time, news, picture).


Schedule Trending now with Only new trending searches on, and every new search reaches your phone or team chat once, as soon as it starts trending. A search is delivered once and repeats are never charged, so you pay for new searches only, however often you check.

  1. Set What to scrape to Trending now and pick your countries.
  2. Turn on Only new trending searches.
  3. Fill in the alert channels you want:
ChannelWhat to configure
✈️ TelegramtelegramToken (from @BotFather) + telegramChatId
💬 SlackslackWebhookUrl (Incoming Webhook URL)
🎮 DiscorddiscordWebhookUrl (channel webhook URL)
🪝 WebhookwebhookUrl receives structured JSON — ideal for n8n / Make / Zapier; add webhookHeaders for auth
  1. Run it once. The first run delivers today's lists and remembers them.
  2. Open the Schedules tab and set a recurring run, e.g. every hour.

Each alert lists up to notificationLimit new searches with country, approximate traffic and a Trends link. A broken channel never stops the scrape or the other channels.

Tracking keywords instead? Schedule your list weekly and follow trendChangePercent per searchTerm.


Keyword research and SEO planning

Run your keyword list and sort by trendChangePercent to see what is gaining and what is fading. Rising queries and Breakout terms surface content ideas before keyword tools catch up.

Product and market research

Compare product categories, brands or features on one scale and see where demand is growing. Interest by state, city and US metro (DMA) shows which markets to launch in, or where to buy local ads.

Seasonality and demand forecasting

Five years of weekly interest with peakDate shows when demand peaks each year, ready to feed a forecast for stock, staffing and ad budgets.

Newsjacking and real-time content

Trending now with only-new alerts tells your newsroom or social team what the country is searching for the moment it starts, with the news stories already attached.

Brand and competitor tracking

Schedule a comparison of your brand against the category leaders and watch the gap week by week; YouTube, News and Shopping search show where the attention comes from.


This Actor uses Apify's pay-per-result model: you pay for the records you receive — one keyword report or one trending search each. Searches Google has too little data for, searches that failed, duplicate terms and trending searches already seen are not charged. See the Actor's Pricing tab for the current numbers.

Two things cut your bill further:

  • Max results — set maxItems to cap any run exactly.
  • Only new trending searches — after the first run you pay only for trends you haven't seen before.

🔌 Integrations & export

Export to JSON, CSV or Excel, pull from the API, run on a schedule, connect Google Sheets, Make, Zapier or n8n, or call it as an MCP tool for AI agents.


🔗 Using the API

Run this Actor from your own code. Example with the Apify Python client:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run_input = {
"searchTerms": ["electric bikes", "e-scooter"],
"geo": "US",
"timeRange": "today 5-y",
}
run = client.actor("corvuslab/google-trends-scraper").call(run_input=run_input)
for report in client.dataset(run["defaultDatasetId"]).iterate_items():
print(report["searchTerm"], report["averageInterest"], report["trendChangePercent"])

❓ FAQ

Why are the values 0–100 and not search volumes? That is how Google Trends reports interest: 100 is the peak for the chosen place and period, 50 is half as popular. Use compareTerms to put terms on one scale. Trending now is the exception: it carries Google's approximate search count (approxTraffic, e.g. "100+").

Why are related topics off by default? Google rations them, and on busy days holds them back for nearly every report, so leaving them off keeps runs fast and reports complete. With includeRelatedTopics on, held-back topics are null and flagged in incompleteSections, a term that genuinely has none gets [], and the run waits about 20 seconds once to ask again.

Why are there few or no cities for my term? Google only reports cities with enough searches, so city data is sparse for niche terms and small countries; regions and metros are usually fuller.

How is trendChangePercent calculated? It compares the average of the first quarter of the period with the average of the last quarter, using complete points only. latestInterest is the last complete point too — the current week or day is often still partial and flagged isPartial: true in the timeline.

How many trending searches does Trending now return? Google's current list for each country, about 10 per country per run. Add more countries for a wider net.

What if I compare more than 5 terms? Google compares at most 5 on one scale, so a longer line is split into groups of 5, and the run log says so.

What if Google has no data for my term? Google Trends has "not enough data" for very rare terms, narrow regions or short periods. Such a search delivers no record, is not charged, and the run status names it. In a comparison every term keeps its report, since a low value there is still an answer.

How many reports can one run handle? Up to 5,000 records. If a long list would outrun the run's timeout, the Actor stops shortly before it, keeps every report already delivered and says so in the run status.


🧭 More scrapers from us

Found a rising search? These pick up where Google Trends stops.

ScraperWhat it adds
Google Shopping ScraperWhat it sells for and which stores sell it, in 29 countries
TikTok Shop ScraperWhether it already sells on TikTok: price, units sold, ratings
TikTok Shop Creator ScraperThe creators already selling it, with followers and bio email
Google Ads ScraperEvery ad a brand runs on Google, with reach by country
Facebook Ads Library ScraperAd copy, creatives and EU reach on Facebook and Instagram
Google Maps Rank TrackerWhere a business ranks on Google Maps, next to its competitors

This Actor collects only publicly available, aggregated search-interest data and public trending lists; it does not collect personal data about searchers. You're responsible for how you use the output — including any personal information that may appear in news headlines — and for complying with Google's terms and applicable law (including the GDPR/LGPD where they apply). Not affiliated with, endorsed by or sponsored by Google LLC.


Keywords: google trends scraper · google trends api · google trends data · scrape google trends · google trends export · interest over time · interest by region · related queries · related topics · trending searches · daily trending searches · google trends alerts · keyword research · seo tool · market research · export to CSV · no-code scraper · MCP tool for AI agents