Google Trends Scraper
Pricing
from $1.50 / 1,000 trend results
Google Trends Scraper
Get Google Trends data for keywords: interest over time, interest by region, related queries and related topics. Also returns the trending-now searches per country. Pay per result.
Pricing
from $1.50 / 1,000 trend results
Rating
0.0
(0)
Developer
NanoScrape
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
21 days ago
Last modified
Categories
Features
Share
Get search interest data from Google Trends for any keyword: interest over time, interest by region, and top and rising related queries. A second mode returns the searches that are trending right now in a country, with search volume, growth and related searches for each one.
What you can do with it
- Track how interest in a keyword changes over the past hour, day, week, year or since 2004.
- Compare up to 5 keywords on one scale to see which one wins.
- Find the regions where a keyword is strongest, for local campaigns or market research.
- Collect related queries, including rising and "Breakout" queries, for keyword research and content ideas.
- Monitor the current trending searches per country for news, PR and social media teams.
Input
| Field | Type | Default | Description |
|---|---|---|---|
mode | text | keywords | keywords for keyword trends, trending for the current trending searches. |
keywords | list of text | ["coffee", "tea"] when empty | Keywords to look up. A comma or line separated text also works, and so does a Google Trends explore link. |
compareKeywords | true/false | false | Off: one row per keyword. On: groups of up to 5 keywords are compared on one scale, one row per group. |
geo | list of text | worldwide (US in trending mode and in the sample) | Country codes such as US or DE, or regions such as US-CA. Every geo gives its own rows. Country names such as Germany are understood too. |
timeframe | text | today 12-m | One of now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all. Short forms such as 7d and date ranges such as 2024-01-01 2024-06-30 also work. |
category | integer | 0 | Google Trends category number, 0 for all categories. |
property | text | web search | news, images, youtube or froogle (Google Shopping) to measure interest on that search instead. |
timeline | true/false | true | Include interest over time. |
regions | true/false | true | Include interest by region. |
relatedQueries | true/false | true | Include top and rising related queries. |
relatedTopics | true/false | false | Experimental, see the FAQ. |
maxItems | integer | 0 | Maximum rows for the whole run, 0 means no limit. |
Numbers and true/false values may be given as text ("25", "true"). An empty input {} runs a small sample (coffee and tea in the US, 2 rows) and the run status says so. If the input cannot be read, the same sample runs and the log shows a warning.
Example: keyword trends
{"keywords": ["coffee", "tea"],"geo": ["US", "DE"],"timeframe": "today 12-m"}
Example: compare keywords for the past 7 days
{"keywords": ["coffee", "tea", "juice"],"compareKeywords": true,"geo": "US","timeframe": "now 7-d"}
Example: trending searches
{"mode": "trending","geo": ["US", "DE"],"maxItems": 50}
Output
Keyword rows
One row per keyword (or per compared group), geo and timeframe.
| Field | Type | Description |
|---|---|---|
keyword | string | The keyword. In compare mode the keywords joined with a comma. |
keywords | array | The keywords of the row. |
compare | boolean | True when several keywords were compared on one scale. |
geo | string | Geo code, empty for worldwide. |
timeframe | string | Timeframe of the data. |
category | integer | Category number. |
property | string | Search type, empty for web search. |
timeline | array | Points with time (Unix seconds), date (ISO), label (as Google shows it), value (0 to 100, first keyword), values (one per keyword) and is_partial. |
regions | array | Regions with geoCode, geoName, value and values. |
related_queries_top | array | Top related queries: keyword, query, value, formatted_value, link. |
related_queries_rising | array | Rising related queries. formatted_value is Breakout for the fastest risers. |
related_topics_top | array | Top related topics (experimental, usually empty). |
related_topics_rising | array | Rising related topics (experimental, usually empty). |
averages | object | Average interest per keyword over the timeline, partial points excluded. |
source_url | string | The matching Google Trends page. |
scraped_at | string | UTC timestamp. |
Values are relative: 100 is the peak for the chosen keyword, geo and timeframe, and Google does not publish absolute search counts. Fields you switch off come back as empty lists.
In a test with 5 keyword rows (coffee and tea in the US for 12 months, coffee in the US and Germany for 7 days, with the matching options on) every row had a timeline and averages, every row with regions switched on had regions, and every row with related queries switched on had top and rising queries. Tea had 22 rising queries where coffee had 25.
{"keyword": "coffee","keywords": ["coffee"],"compare": false,"geo": "US","timeframe": "today 12-m","category": 0,"property": "","timeline": [{"time": 1761436800, "date": "2025-10-26", "label": "Oct 26 – Nov 1, 2025", "value": 61, "values": [61], "is_partial": false}],"regions": [{"geoCode": "US-WY", "geoName": "Wyoming", "value": 100, "values": [100]}],"related_queries_top": [{"keyword": "coffee", "query": "coffee near me", "value": 100, "formatted_value": "100", "link": "https://trends.google.com/trends/explore?q=coffee+near+me&date=today+12-m&geo=US"}],"related_queries_rising": [{"keyword": "coffee", "query": "home workout routines", "value": 6000, "formatted_value": "Breakout", "link": "https://trends.google.com/trends/explore?q=home+workout+routines&date=today+12-m&geo=US"}],"related_topics_top": [],"related_topics_rising": [],"averages": {"coffee": 79.6},"source_url": "https://trends.google.com/trends/explore?date=today+12-m&geo=US&q=coffee","scraped_at": "2026-10-27T10:53:23Z"}
(Timeline, regions and query lists are shortened here; a 12-month timeline has 53 weekly points and a US row has 51 regions.)
A keyword with no search interest in the chosen geo and timeframe returns no row, and the run status names it.
Trending rows
One row per trending search. A geo returns the same list as the Trending now page for the last 24 hours, in its default order. The number of rows depends on the geo and the time of day. Use maxItems to stop earlier.
| Field | Type | Description |
|---|---|---|
title | string | The trending search. |
approx_traffic | string | Search volume as a string, for example 200000+. |
search_volume | integer | The same volume as a number. |
increase_percentage | integer | Increase in search volume in percent. |
pub_date, started_at | string | When the search started trending, UTC. |
ended_at | string | When the trend ended, UTC. null while it is active. |
is_active | boolean | True while the trend is active. |
related_queries | array | Related searches of the trend. |
category_ids | array | Google Trends category numbers of the trend. |
picture, picture_source | string | Image and its source. Only on fallback rows (see below), otherwise null. |
news_items | array | News stories with title, snippet, url, source, picture. Only on fallback rows (see below), otherwise null. |
geo | string | Country code. |
rank | integer | Position in the list. |
source_url | string | The Google Trends trending page for the geo. |
scraped_at | string | UTC timestamp. |
If the full list cannot be loaded, the run falls back to a shorter list of the newest trends. Those rows have null in search_volume, increase_percentage, started_at, ended_at, is_active, related_queries and category_ids, and may carry picture and news_items.
{"title": "dortmund – werder bremen","approx_traffic": "200000+","pub_date": "2026-10-27T18:50:00Z","picture": null,"picture_source": null,"news_items": null,"geo": "DE","rank": 1,"source_url": "https://trends.google.com/trending?geo=DE","scraped_at": "2026-10-28T06:46:38Z","search_volume": 200000,"increase_percentage": 1000,"started_at": "2026-10-27T18:50:00Z","ended_at": null,"is_active": true,"related_queries": ["dortmund – werder bremen", "dfb-pokal", "pokal", "dortmund werder bremen"],"category_ids": [17]}
Pricing
Pay per result. The Pricing tab of this Actor lists the events and their prices:
actor-start: charged once per run, together with the first delivered row.trend-result: one per delivered keyword row.trending-search: one per delivered trending search. WithoutmaxItems, a trending run delivers the whole list for each geo, 400 to 518 trending searches per geo in the 10-28 test, so setmaxItemsif you only need the top of the list.
Keywords without data and keywords that could not be fetched are not charged. If the run reaches the maximum charge you set, it stops and the status says how many rows were delivered.
Use with AI agents (MCP)
The Actor can be called from any MCP client through the Apify MCP server. Ask for "interest in electric cars in Germany over 5 years" and pass keywords, geo and timeframe as in the examples above. Every output field is listed in the tables above, and results are plain JSON.
FAQ
What do the values mean? 100 is the highest interest for that keyword, geo and timeframe, 50 is half of it. In compare mode all keywords share one scale, so the values show which keyword is larger.
Why are related_topics_top and related_topics_rising empty? In testing, Google returned empty topic lists for the keywords we tried, also when the keyword was resolved to a topic first. The option is off by default and costs extra lookups per keyword. If two keywords in a row come back without topics, the run skips further topic lookups.
Why is a keyword missing from the results? It had no search interest in the chosen geo and timeframe, or Google refused the request repeatedly. The run status lists both cases by keyword. Try a broader geo or a longer timeframe.
How many points does the timeline have? It depends on the timeframe: hourly or finer points for the short ones, weekly for 12 months, monthly for 5 years and longer. A last point marked is_partial is still in progress.
How do I find the category number? Open Google Trends, choose a category and read the cat value in the page address.
Can I run many keywords? Yes. Keywords are fetched one after another with pauses, at roughly 20 seconds per keyword, so a run with 100 keywords takes about half an hour. Use maxItems or the maximum charge to cap a run.
Limits
- Interest values are relative, not search counts.
- Up to 5 keywords can be compared in one row.
- The trending mode returns what Google lists for the last 24 hours at the time of the run, including searches that already stopped trending (
is_activefalse). In the test, DE returned 400 and US 518 searches. UsemaxItemsto limit a run. - Related topics are experimental.
Support
Questions or a missing field: contact@nanoscrape.com.