Google Trends Scraper & API: Compare Keywords & Regions
Pricing
from $1.25 / 1,000 results
Google Trends Scraper & API: Compare Keywords & Regions
See what people search for and whether it is rising: compare up to 5 keywords or check 100, interest over time with peaks, top regions and cities, rising queries and Trending Now by country.
Pricing
from $1.25 / 1,000 results
Rating
0.0
(0)
Developer
Philip Kirkbride
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
16 hours ago
Last modified
Categories
Features
Share
Google Trends Scraper
Know what people are searching for, where, and whether it is growing. Compare up to five brands, products or topics on one timeline, or check up to 100 keywords in one run. See which regions search most, the top and rising related searches (including Breakouts), and what is trending right now in any country. Every term comes back as one tidy row with a ready-made summary: peak, latest value and whether interest is rising, falling or stable.
Press Start to try it: the prefilled input compares coffee and tea in the US over the past 12 months. Then type your own terms, or simply paste links copied from the Google Trends website.
Use cases
- SEO and content planning: find rising searches and seasonal peaks before you write, and pick the keyword people actually use.
- Brand and product comparison: put your brand next to competitors on one 0-100 scale and track the gap every week.
- Market and location research: see which countries, states, cities or US metro areas care most before you launch or spend.
- Newsjacking and social content: list today's Trending Now searches per country, filtered to Sports, Technology, Business and more, with search volume and news links.
- Dashboards and alerts: schedule the run and feed the rows to Google Sheets, Looker Studio, Make, Zapier or your own app.
What you get
- Interest over time for every term, on the period you choose (past hour to 2004-present, or your own dates), plus a summary you can sort on: peak, latest value, mean, change in percent and a rising/falling/stable label.
- Interest by region: countries, sub-regions, cities or US metro areas, each with a 0-100 score.
- Related queries: the top 25 and rising 25 searches for each term, with Breakout flags.
- Trending Now by country: what people search for right now, with approximate search volume, growth, categories, related searches and news articles.
- Every Google search type: Web, Image, News, YouTube and Google Shopping search, and any Google Trends category.
- Paste Google Trends links: set up a view on the Google Trends website, copy the link, and the run returns exactly that view.
- Export to JSON, CSV or Excel, or read the dataset with the Apify API. Pay per result: $1.25 per 1,000 rows, with no subscription.
Also available
The Google data suite: pick the job.
| Actor | Use when |
|---|---|
| Google Trends (this Actor) | Search interest over time and by region |
| Google Search Results | Rankings, snippets and AI Overviews per query |
| Google News | Headlines by topic, search or edition |
| Wikipedia Pageview Spikes | Articles whose daily views spiked |
| Google Shopping | Product offers and prices across stores |
| YouTube Outlier Finder | Breakout videos that beat their channel median |
Output example
One row per search term or trending search. Timelines, regional rankings and related queries stay with their term, ready to use together.
{"kind": "searchTerm","searchTerm": "coffee","comparedWith": ["tea"],"geo": "US","timeRange": "past-12-months","timeRangeResolved": "2025-10-23 2026-10-23","category": 0,"searchProperty": "web","averageInterest": 78,"timelineSummary": {"peakInterest": 100, "peakTime": "2025-12-21T00:00:00Z", "latestInterest": 69, "latestTime": "2026-10-11T00:00:00Z", "meanInterest": 78.4, "changePercent": -6.2, "trendDirection": "stable", "intervalsCounted": 52},"interestOverTime": [{"time": "2026-10-11T00:00:00Z", "timestamp": 1791676800, "formattedTime": "Oct 11 – 17, 2026", "value": 69, "hasData": true, "isPartial": false},{"time": "2026-10-18T00:00:00Z", "timestamp": 1792281600, "formattedTime": "Oct 18 – 24, 2026", "value": 66, "hasData": true, "isPartial": true}],"regionResolution": "REGION","interestByRegion": [{"geoCode": "US-WY", "geoName": "Wyoming", "value": 100, "formattedValue": "100", "hasData": true, "latitude": null, "longitude": null},{"geoCode": "US-HI", "geoName": "Hawaii", "value": 47, "formattedValue": "47", "hasData": true, "latitude": null, "longitude": null}],"relatedQueries": {"top": [{"rank": 1, "query": "coffee near me", "value": 100, "formattedValue": "100", "link": "https://trends.google.com/trends/explore?q=coffee+near+me&date=today+12-m&geo=US"}],"rising": [{"rank": 1, "query": "sports scores today", "value": 5950, "formattedValue": "Breakout", "link": "https://trends.google.com/trends/explore?q=sports+scores+today&date=today+12-m&geo=US", "isBreakout": true}]},"relatedTopics": null,"missingSections": [],"inputUrl": null,"exploreUrl": "https://trends.google.com/trends/explore?q=coffee%2Ctea&date=today%2012-m&hl=en-US&geo=US","scrapedAt": "2026-10-23T00:41:06Z"}
{"kind": "trendingSearch","searchTerm": "patriots vs bears","geo": "US","rank": 1,"timeWindow": "past-24-hours","searchVolume": 500000,"searchVolumeFormatted": "500K+","increasePercentage": 1000,"startedAt": "2026-10-22T04:00:00Z","endedAt": null,"isActive": true,"categories": ["Sports"],"relatedSearches": ["patriots vs bears", "patriots", "bears vs patriots", "bears game"],"picture": null,"newsArticles": [],"exploreUrl": "https://trends.google.com/trends/explore?q=patriots%20vs%20bears&date=now%201-d&geo=US","scrapedAt": "2026-10-23T00:42:33Z"}
How to use it
Compare two terms in the United States over the past 12 months:
{"searchTerms": ["coffee", "tea"],"geo": "US","timeRange": "past-12-months"}
Paste views you already built on the Google Trends website (each link keeps its own terms, region, period, category and search type):
{"trendsUrls": ["https://trends.google.com/trends/explore?date=today%205-y&geo=GB&q=iphone,galaxy","https://trends.google.com/trends/explore?geo=US&q=running%20shoes&gprop=youtube"]}
List today's trending sports and technology searches in the US and the UK, biggest first:
{"mode": "trending","trendingCountries": ["US", "GB"],"trendingCategories": ["Sports", "Technology"],"trendingSort": "searchVolume","maxItems": 200}
Start the run, then open the Dataset to download your results. With no input ({}), the Actor returns a two-term coffee-and-tea sample worldwide. An explicitly empty searchTerms list with no links ends the run with no rows and says which field to fill in.
Input
| Input | Type | Default | Meaning |
|---|---|---|---|
mode | string | searchTerms | searchTerms for interest and related searches, trending for trending searches. |
searchTerms | array | — | Words or phrases to look up. A Google Trends topic id such as /m/02vqfm also works. |
trendsUrls | array | — | Links copied from the Google Trends Explore page. Each is looked up with its own terms (up to five compared), region, period, category and search type; the data-to-include switches below still apply. Links comparing several regions or periods are skipped and listed in OUTPUT.skippedSearches. |
compareTerms | boolean | true | On: up to five terms share one scale, so their values are directly comparable. Off: each term (up to 100) is scaled on its own. |
geo | string | "" | Country (US), sub-region (US-CA) or US metro (US-NY-501). Empty is worldwide. |
timeRange | string | past-12-months | past-hour, past-4-hours, past-day, past-7-days, past-30-days, past-90-days, past-12-months, past-5-years or all (2004 to present). |
startDate, endDate | string | none | A custom period (YYYY-MM-DD); overrides timeRange. |
category | integer | 0 | Google Trends category id; 0 is all categories. |
searchProperty | string | web | web, images, news, youtube or shopping. |
includeInterestOverTime | boolean | true | Add the interest timeline. |
includeInterestByRegion | boolean | true | Add interest per region. |
regionResolution | string | auto | auto, COUNTRY (worldwide only), REGION, CITY (needs a country) or DMA (US metro areas). |
includeLowVolumeRegions | boolean | false | Also list regions with too little volume to score. |
includeRelatedQueries | boolean | true | Add the top and rising related searches. |
includeRelatedTopics | boolean | false | Add related topics. Google Trends currently returns none for these lookups; while that lasts the section is reported as missing and costs nothing. |
trendingCountries | array | ["US"] | Countries for the trending mode. |
trendingTimeWindow | string | past-24-hours | past-4-hours, past-24-hours, past-48-hours or past-7-days. |
trendingActiveOnly | boolean | false | Skip trends that have already ended. |
trendingSort | string | relevance | relevance (Google's order), searchVolume or newest. |
trendingCategories | array | — | Keep only trending searches in these categories, such as Sports, Technology or Business and Finance. Empty keeps every category; ranks count after the filter. |
includeTrendingNews | boolean | true | Attach news articles and a picture to the top trending searches. |
maxItems | integer | 100 | Global cap on dataset rows. Countries and separate terms are processed in input order; later subjects can be skipped when the cap is full. |
language | string | en-US | Language for date labels and names. |
Output fields
Every dataset row has a kind. A searchTerm row is one looked-up term:
| Field | Meaning |
|---|---|
searchTerm, comparedWith | The term, and other terms sharing its timeline scale. |
normalization | Timeline scale (shared_comparison or per_term); regional maps and related-query rankings use per_term. Scores are relative indices, not search counts. |
geo, timeRange, timeRangeResolved | The region, the requested range and the exact period Google Trends reported. |
category, searchProperty | The category and search type used. |
averageInterest | The term's average over the period, when terms are compared. |
timelineSummary | Headline numbers from the timeline, on the same 0-100 scale: peakInterest and peakTime, latestInterest and latestTime (latest complete interval), meanInterest, changePercent (last third of the period vs the first third) and trendDirection (rising or falling at 10% or more, otherwise stable), plus intervalsCounted. The interval still filling is left out. null when the timeline is off or has no data. |
interestOverTime | One point per interval: time (UTC), timestamp, formattedTime, value (0-100), source formattedValue (including <1 when published), hasData, and isPartial for the interval still filling. A zero score with hasData: true is retained. It does not mean zero searches. |
regionResolution, interestByRegion | The region level, then one entry per region: geoCode, geoName, value (0-100), formattedValue, hasData, and latitude/longitude for cities. |
relatedQueries | top and rising lists of rank, query, value, formattedValue, link. Top values are relative 0-100 scores within that term's query list. Rising values are percentage growth, not interest indices; rising entries add isBreakout (source label or growth above 5000%). |
relatedTopics | Not available right now; null. |
missingSections | Requested sections that failed or were not offered, with a code. An explicitly empty successful list is different from a missing or malformed source response. |
inputUrl | The Google Trends link the row came from; null for typed search terms. |
exploreUrl | The same view on the Google Trends site. |
scrapedAt | Collection time (UTC, ISO 8601). |
A trendingSearch row is one entry of a country's public Trending Now list: searchTerm, geo, rank, timeWindow, searchVolume and searchVolumeFormatted (Google's approximate lower bound, such as 500K+ or 1.5K+), increasePercentage, startedAt, endedAt, isActive, categories, relatedSearches, picture, newsArticles (title, url, source, picture), missingSections, exploreUrl and scrapedAt. Optional news failures do not discard a successfully retrieved trend; the missing section is reported. Rank is within each country's selected sort order. For a 48-hour trending window the explore link uses Google's 7-day timeline view; timeWindow describes the actual list filter.
The run summary (OUTPUT) records delivered items, subject failures, partialItems and sectionFailures. subjectsAttempted, subjectsSkipped, truncated and stopReason describe how much of your input was covered. Each row's missingSections identifies unavailable requested sections. Review the summary before treating a dataset as complete.
Use it as a service
Get Google Trends data for a keyword, region, and time period. Get the answer in JSON from one HTTPS call. Call it from an AI agent through an HTTP-capable MCP tool, or add an HTTP request step in n8n, Make, or Zapier.
curl --get 'https://automatic--google-trends-scraper.apify.actor/' \--header "Authorization: Bearer $APIFY_TOKEN" \--data-urlencode keyword=coffee \--data-urlencode geo=US \--data-urlencode timeframe=past-7-days
Send the same fields as a JSON object with POST /. Results are in data.items and in the run's default dataset. See GET /openapi.json for the request and response definitions.
Price
You pay per result: each dataset row (one search term, or one trending search) is one result, plus a small run-start charge. A result row costs $0.00125 and the run start costs $0.005 per GB of memory; the default 512 MB run is one start event. The Console sample (coffee and tea in the US over the past 12 months) returns two rows for about $0.0075. Ten compared terms in two groups of five return ten rows for about $0.0175. Terms without enough data and failed lookups are not charged. The start is charged even if the run saves no results. Platform usage is included in the price.
You are charged per term or per trending search, not per data point, so a five-year weekly timeline, a full city list and 50 related searches are still one row.
FAQ
Can I paste a Google Trends link? Yes. Build the view on trends.google.com, copy the page address and add it to trendsUrls. You can mix links and typed terms in one run.
Is it a pytrends alternative? Yes, with no Python setup, no code to maintain and results you can schedule, export or read from your own app.
How do I compare more than five terms? Put one common anchor term in each group of five and run the groups separately. Or turn compareTerms off to score up to 100 terms independently.
What does 100 mean? It is the peak relative interest within that view. Compared timelines share one scale. Each term's regional map and related-query ranking are scaled separately, so equal regional values do not imply equal search volume.
How is "rising" decided? timelineSummary.trendDirection compares the average of the last third of the period with the first third: 10% or more up is rising, 10% or more down is falling, anything in between is stable.
Which region codes work? Country codes such as US, DE and BR, sub-regions such as US-CA, and US metros such as US-NY-501. Leave geo empty for worldwide.
Can I schedule it? Yes. Every run is a fresh snapshot; compare runs by searchTerm and timeline time.
Good to know
- Examples are historical observations. Interest values are relative 0–100 indices, not search counts; source sampling can make repeated observations differ. Zero can mean rounding or insufficient volume; inspect
hasDataandformattedValue. The newest point can be partial. - Related topics are currently unavailable and reported in
missingSectionswhen requested. Related queries include at most 25 top and 25 rising searches per term. - Trending searches cover selected countries and some sub-regions, rather than a worldwide feed. News is attached only where Google provides it for top stories.
- A term without usable data appears in
OUTPUT.failures, withNO_DATAorINCOMPLETE_DATA, rather than as a dataset row. A run where every term simply has no data for the chosen region and dates finishes withOUTPUT.statusno_resultsand says so; only when Google keeps refusing the requests does the run fail. A completed run can still contain partial rows or skipped subjects;TIME_BUDGETidentifies unfinished subjects. Split large inputs if needed. - A
searchTermsentry Google Trends cannot look up (for example one containing a comma) is skipped and listed inOUTPUT.skippedSearches; the other terms still run. The same goes for atrendsUrlslink that is not a Google Trends Explore link or that compares several regions or periods. - Use the data in accordance with Google's terms and your permissions. For support, open an issue from the Actor page with the run URL and input.