Google Trends Scraper & API: Interest, Related, Trending avatar

Google Trends Scraper & API: Interest, Related, Trending

Pricing

from $4.00 / 1,000 keyword with data

Go to Apify Store
Google Trends Scraper & API: Interest, Related, Trending

Google Trends Scraper & API: Interest, Related, Trending

Google Trends API: interest over time, by region, related queries and Trending Now. Unlimited terms on one scale. Works with AI agents via MCP.

Pricing

from $4.00 / 1,000 keyword with data

Rating

0.0

(0)

Developer

Ocius Data

Ocius Data

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

12 days ago

Last modified

Categories

Features

Limited permissions

Share

The trend, already read for you: every run adds one summary row per term (status, latest value, peak and its date, average, momentum and direction: rising, stable or falling) and an INSIGHTS record that ranks the terms by momentum, and the status message states it with real numbers from that run (for example: "heat pump: falling (-36.8% over the last 4 periods), now 41 vs peak 100 on 2026-04-12"). None of the three most-used Google Trends Actors in the Apify Store returns a trend summary or a momentum ranking (checked on 3 November 2026).

Get Google Trends data for any keyword, country, category and time range: interest over time, interest by region, share of search and related queries (top and rising). Compare more than 5 terms on one scale, which Google Trends itself cannot do, filter by category, and pull the searches trending now in any country. You pay only per keyword that returns data. Terms with no data and failed terms are free.

This Actor works as a Google Trends API: call it from Python or JavaScript, a schedule, Google Sheets, Zapier, Make, n8n or an AI agent through MCP. It is a fast alternative to browser-based Google Trends scrapers: no browser, automatic retries and proxy escalation.

Demo: comparing 8 search terms on one Google Trends scale and the resulting dataset

  • Compare unlimited terms on one scale. Google Trends compares at most 5 terms at a time. With Compare terms on and more than 5 terms, the Actor adds an anchor term to every batch and rescales all values to one common 0-100 scale in the field valueComparable. Compare 10, 50 or 500 keywords in one run.
  • Category filter. Narrow any search to one Google Trends category, for example 71 (Food & Drink) or 7 (Finance). The ID is checked against Google's own category list before the run, so a wrong ID never returns unfiltered data silently.
  • Trending now. The searches trending in a country or region right now, with search volume, growth, start and end time, categories and related searches, from the Google Trends Trending now page.
  • All data types in one run. Interest over time, interest by region, share of search between compared terms and related queries.
  • Any country or region. ISO codes such as US, GB, KR, TW, ID, CO, or subregions such as US-CA. Leave empty for worldwide.
  • Search properties. Web, image, news, Google Shopping and YouTube search.
  • Correct dates. Full timestamps, data granularity (minute, hour, day, week or month) and your own timezone, so values match the Google Trends website.
  • Reliable by design. Each blocked request is retried with exponential backoff and a fresh session. If Google keeps blocking, the Actor switches from datacenter to residential proxies in the same country.

Use cases

  • Market research and demand forecasting. Track seasonality and demand by region before launching a product.
  • SEO and content planning. Find rising queries and compare topic demand across many keywords on one scale.
  • E-commerce and retail. Compare product categories, brands or models, and plan stock around seasonal peaks.
  • Brand and competitor monitoring. Schedule weekly runs to follow your brand against competitors.
  • Newsrooms and social media teams. Pull the searches trending now every hour, filtered by category.
  • Academic and economic research with consistent, comparable time series.

How to use it

Explore mode (default)

  1. Enter one or more search terms.
  2. Set a country or region code or leave it empty for worldwide.
  3. Choose a time range, from the past hour to 2004-present, or a custom range (2024-01-01 2024-12-31).
  4. Optional: turn on Compare terms, set a category ID, a timezone or a search property.
  5. Choose the data types: interest over time, interest by region and related queries.
{
"searchTerms": ["coffee", "tea", "beer", "wine", "water", "juice", "soda"],
"compare": true,
"anchorTerm": "coffee",
"geo": "US",
"timeRange": "today 12-m",
"category": 71
}

Set Mode to Trending now, enter a country or region code, and optionally a time window (4, 24 or 48 hours, or 7 days), a category and whether to keep only active trends.

{
"mode": "trendingNow",
"geo": "US",
"trendingHours": 24,
"trendingCategory": 17,
"trendingActiveOnly": true,
"maxTrendingSearches": 50
}

Comparing more than 5 terms

Values in Google Trends are relative within each request, so two separate requests cannot be compared directly. The Actor puts the anchor term (by default the first term) in every batch of up to 5 terms, measures how the anchor scores in each batch, and rescales every batch to the anchor's scale. The result is valueComparable: one 0-100 scale for all terms, where 100 is the highest weekly (or daily) interest of any term. Choose a popular anchor term. If the anchor has very low interest in some batch, rows are flagged lowPrecision: true and the factors are stored in the ANCHOR_SCALING record.

Category IDs

Use these IDs in Category ID (explore mode). They come from Google's category list, which has more than 1,400 subcategories; any valid subcategory ID also works, for example 277 (Alcoholic Beverages).

IDCategoryIDCategory
0All categories13Internet & Telecom
3Arts & Entertainment958Jobs & Education
47Autos & Vehicles19Law & Government
44Beauty & Fitness16News
22Books & Literature299Online Communities
12Business & Industrial14People & Society
5Computers & Electronics66Pets & Animals
7Finance29Real Estate
71Food & Drink533Reference
8Games174Science
45Health18Shopping
65Hobbies & Leisure20Sports
11Home & Garden67Travel

Trending now uses a separate set of categories, selectable in the input: All categories (0), Autos and Vehicles (1), Beauty and Fashion (2), Business and Finance (3), Climate (20), Entertainment (4), Food and Drink (5), Games (6), Health (7), Hobbies and Leisure (8), Jobs and Education (9), Law and Government (10), Other (11), Pets and Animals (13), Politics (14), Science (15), Shopping (16), Sports (17), Technology (18) and Travel and Transportation (19).

Output

Each row has a type and the same value in recordType. The output tab opens on All rows (the columns every row type shares), followed by Trend summary and one view per data type. Download as JSON, CSV, Excel or HTML, or read it through the API.

Interest over time, comparing 7 terms with an anchor:

{
"type": "interestOverTime",
"searchTerm": "juice",
"comparedWith": ["coffee", "soda"],
"timestamp": "2025-10-26T00:00:00.000Z",
"date": "2025-10-26",
"granularity": "week",
"value": 16,
"valueComparable": 7.2,
"anchorTerm": "coffee",
"lowPrecision": false,
"isPartial": false,
"geo": "US",
"timeRange": "today 12-m",
"category": 0,
"categoryName": "All categories"
}

Trending now:

{
"type": "trendingSearch",
"rank": 1,
"searchTerm": "cardinals vs cowboys",
"searchVolume": 200000,
"searchVolumeLabel": "200,000+",
"increasePercent": 1000,
"startedAt": "2026-11-01T13:50:00.000Z",
"endedAt": null,
"isActive": true,
"categoryNames": ["Sports"],
"relatedSearches": ["jacoby brissett", "gardner minshew", "gardner minshew ii"],
"newsArticleCount": 16,
"geo": "US",
"timeWindowHours": 24
}

Field dictionary

FieldTypeMeaningWhen it is null or empty
typestringinterestOverTime, interestByRegion, shareOfSearchByRegion, relatedQuery or trendingSearch.Never
searchTermstringThe term the row belongs to, or the trending search.Never
valuenumberGoogle Trends score from 0 to 100; for rising queries, the growth percentage.When Google reports no value
formattedValuestringThe value as Google displays it, for example <1, +250% or Breakout.When not provided
valueComparablenumberScore on one common 0-100 scale when more than 5 terms are compared.Outside anchor mode
anchorTerm, lowPrecisionstring, booleanAnchor used for rescaling, and whether its interest was too low for precise rescaling.Outside anchor mode
comparedWitharrayThe other terms in the same request.Single-term requests
timestamp, date, dateLabel, granularitymixedStart of the period (UTC), its date, Google's label and the period length.Outside time series
isPartialbooleantrue when the period is not complete yet.Outside time series
region, regionCodestringRegion name and ISO code.Outside regional data
sharePercentnumberShare of search between compared terms in a region (sums to 100).Outside compare mode
ranking, querystringtop or rising, and the related query.Outside related queries
geo, timeRange, timezone, propertystringThe filters used.Never
category, categoryNamenumber, stringCategory ID and its name from Google's list.categoryName if the list could not be loaded
rank, searchVolume, searchVolumeLabelmixedTrending now: position, approximate searches and the label Google shows.Outside Trending now
increasePercentnumberTrending now: growth in search interest, in percent.Outside Trending now
startedAt, endedAt, isActivemixedTrending now: when the trend started and ended (null while active).Outside Trending now
categoryIds, categoryNamesarrayTrending now: categories of the trend.Outside Trending now
relatedSearches, newsArticleCountmixedTrending now: related searches and number of news articles Google links.Outside Trending now
exploreUrl, sourceUrlstringThe same data in Google Trends, to check it yourself.Never
scrapedAtISO 8601When the data was collected (UTC).Never
recordTypestringSame value as type: interestOverTime, interestByRegion, shareOfSearchByRegion, relatedQuery, trendingSearch or termSummary.Never
status, messagestringSummary rows: the term's status (OK, NO_DATA, BLOCKED, ERROR, NOT_PROCESSED) and what it means.Outside summary rows
latestValue, peakValue, peakDate, averageValuemixedSummary rows: last complete period, highest value and its date, and the period average. value and date repeat the latest value and date. In anchor mode they use valueComparable (see scale).Without interest over time, or when the term has no data
vsAveragePercentnumberSummary rows: latest value against the period average, in percent.As above
momentumPercent, momentumWindowPointsnumberSummary rows: average of the last 4 complete periods against the 4 before them, in percent, and the number of periods used (fewer for very short series).As above, or when the earlier periods are all 0
directionstringSummary rows: rising (momentum +10% or more), falling (-10% or less), stable or unknown.As above
pointsUsed, scalemixedSummary rows: periods used, and value or valueComparable.As above

Summary rows (termSummary) are never charged: you pay per keyword with data, as before. Trending now mode has no summary rows.

Records in the key-value store

RecordContent
INSIGHTSExplore mode with interest over time: topMovers (terms ranked by momentum, with latest, peak, average and direction), highestNow (terms ranked by their latest value) and the definition of momentum used.
RUN_SUMMARYStatus per term, category, trending summary, keywords and events charged, proxy use and retries.
ANCHOR_SCALINGAnchor mode only: the factor applied to each batch and whether precision was low.

Pricing and cost calculator

Apify Store discounts: trending-search costs 15% less on Silver and 30% less on Gold and above. The keyword price is the same on every plan.

This Actor uses pay-per-event pricing. You pay only for the events below. All data types for a term are included in its price. Terms with no data, failed terms and repeated terms are never charged. Your maximum cost per run is respected: the Actor checks the remaining budget before saving each term and stops when it is reached; terms it could not process are marked NOT_PROCESSED.

EventPriceWhen it is charged
keywordUSD 0.006 (Free), 0.005 (Bronze), 0.004 (Silver, Gold, Platinum, Diamond)Each search term that returns data, with every data type selected.
trending-searchUSD 0.002Trending now mode: each trending search saved.

Free plan: the USD 5 of monthly usage included in the Apify Free plan covers about 830 search terms with data (USD 0.006 each), or about 2,500 trending searches (USD 0.002 each).

ScenarioUnitsApproximate cost
Weekly check of 10 keywords10 keywordsUSD 0.06
Compare 50 keywords on one scale50 keywordsUSD 0.30
1,000 keywords1,000 keywordsUSD 6.00
Top 50 trending searches in one country, daily for 30 days1,500 trending searchesUSD 3.00

Approximate costs use the Free plan price. Formula: keywords with data × keyword price of your plan + trending searches saved × 0.002.

Typical job cost

Live prices on 3 November 2026 (Free and Bronze plans). Platform compute is included; the only other charge is the Actor start event of USD 0.00005. 10 keywords with every data type cost about USD 0.10; 100 keywords about USD 1.00. The default input (2 keywords) costs about USD 0.02 and finished in about 6 seconds in our cloud runs of 4 November 2026.

Integrations: schedules, API, webhooks, Google Sheets, Zapier, Make and AI agents

  • Schedules. In Apify Console, open Schedules, create a schedule (for example every Monday, or every hour for Trending now) and add this Actor with your saved input.

  • API. Run the Actor and get the rows in one call:

    curl -X POST "https://api.apify.com/v2/acts/ocius-data~google-trends-reliable/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{"searchTerms":["heat pump"],"geo":"US","timeRange":"today 5-y"}'

    Python, with the official apify-client package:

    from apify_client import ApifyClient
    client = ApifyClient("YOUR_API_TOKEN")
    run = client.actor("ocius-data/google-trends-reliable").call(
    run_input={"searchTerms": ["heat pump", "air conditioner"], "compare": True, "geo": "US"}
    )
    rows = list(client.dataset(run["defaultDatasetId"]).iterate_items())
  • Webhooks. In the Actor's Integrations tab, add a webhook for the event ACTOR.RUN.SUCCEEDED. Your endpoint receives the run, and the rows are at /v2/datasets/{defaultDatasetId}/items.

  • Google Sheets. Use the Google Sheets integration in the Integrations tab to append each run to a sheet, for example to build a weekly demand dashboard.

  • Zapier, Make and n8n. Use the official Apify app in each tool: trigger on "Actor run finished" and read the dataset items, or start a run from your workflow.

  • MCP and AI agents. The input is flat (a list of terms and simple options, no nested flags), so the Actor works through the Apify MCP server (mcp.apify.com) and in Zapier or Apify steps. Ask Claude, ChatGPT, Cursor or another MCP client to run ocius-data/google-trends-reliable for your keywords.

Related Actor from the same developer: Google Ads Transparency Scraper, to see which ads the brands behind a trend are running.

Statuses and errors

Every term (or, in Trending now, the country) ends with one status in the RUN_SUMMARY record (Storage, key-value store). The run message shows the counts.

StatusMeaningChargedWhat to do
OKData returned.YesNothing
NO_DATANot enough search volume for the term with these filters.NoUse a broader region, longer period or another term.
BLOCKEDGoogle kept rate-limiting after all retries and proxy escalation.NoRun again later or select residential proxies.
ERRORThe request was rejected, for example an invalid time range.NoCheck the input.
INVALID_INPUTTrending now is not available for this country or region code.NoUse a code such as US, GB, CO or US-CA.
NOT_PROCESSEDYour maximum cost per run was reached first.NoRaise the cost limit or split the list.

Invalid input (time range format, region code, category ID) stops the run within seconds with a message that explains how to fix it. If more than 20% of terms fail, the run is marked as failed so you notice.

Known limits

  • Google Trends values are relative and sampled; repeated runs can differ slightly, as on the website.
  • Rescaled values (valueComparable) are as precise as the anchor term allows. Pick an anchor with steady, high interest.
  • In anchor mode, interest by region and related queries are reported per batch, not rescaled.
  • Related topics are not included because Google currently returns them empty (checked November 2026).
  • Trending now returns what Google shows on its Trending now page for the selected window; search volumes are approximate ranges.

FAQ

Can I use this as a Google Trends API? Yes. The Actor returns the data you see on the Google Trends website through a simple, documented API with pay-per-use pricing.

Can I compare more than 5 keywords? Yes. Turn on Compare terms and use valueComparable.

How do I filter by category? Enter the category ID from the table above in Category ID.

How do I get daily trending searches? Use Trending now mode with a 24-hour window and schedule it daily, or hourly with the 4-hour window.

Why do my numbers differ from the website? Set the same timezone, region, period, category and property. Google samples data, so small differences are normal.

Is it legal? The Actor collects publicly available, aggregated search data. No personal data is involved.

Do you offer volume pricing? For more than one million rows per month, open an issue on the Actor page.

Already using Google Trends Scraper (apify/google-trends-scraper) or Google Trends Scraper (data_xplorer/google-trends-fast-scraper)? Their input field names are accepted. Change the Actor ID and add one field, outputFormat, and the results come back in their row shape with their top-level field names: one row per search term, or, for trending searches in the data_xplorer format, one row per run. This Actor's extra fields (trend summary, momentum, share of search, related queries) are added under their own names. The price is the same in every output format: one keyword event per term with data, so in these formats rows = keyword events.

The change, for example with the Apify Python client:

run = client.actor("ocius-data/google-trends-reliable").call(run_input={**your_current_input, "outputFormat": "apify/google-trends-scraper"})

Use "outputFormat": "data_xplorer/google-trends-fast-scraper" for data_xplorer rows. Several terms can go in one run (searchTerms); data_xplorer analyzes one keyword per run.

Side by side

Figures read from the public Apify API (GET https://api.apify.com/v2/acts/<Actor ID>) on 4 November 2026. Success rate = SUCCEEDED / TOTAL in stats.publicActorRunStats30Days. Typical job: 100 search terms.

This ActorGoogle Trends Scraper (apify)Google Trends Scraper (data_xplorer)
Public runs, last 30 days, succeeded3 of 3 (sample too small to compare)15,195 of 26,941 (56.4%; 6,337 aborted, 5,045 timed out)50,334 of 50,682 (99.3%)
Price modelUSD 0.006 per term with data (Free) to 0.004 (Silver and above); compute includedUSD 0.006 per row (Free), 0.003 (Gold) since 6 November 2026 (pricingInfos), one row per term (their README example); platform usage paid by the user (isPPEPlatformUsagePaidByUser, 4,096 MB default memory)USD 0.025 per run start plus USD 0.002 per result (Free) or 0.0005 (Gold); one keyword per run (their README)
100 terms, Free planUSD 0.60USD 0.60 plus platform usage (amount not published)USD 2.70 (their README: about USD 2.70 for 100 keyword checks on the Free plan)
100 terms, Gold planUSD 1.00USD 0.03 plus platform usageUSD 2.55
Data per termInterest over time, by region, share of search between compared terms, related queries (top and rising), trend summary row; trending now modeInterest over time, by subregion, city and metro, related topics and related queries (dataset schema of their latest build)Interest over time and, optionally, by region; trending searches mode
More than 5 terms on one comparable scaleYes (anchor term)Not described in their README (it compares terms with isMultiple)One keyword per run

This Actor also charges a start fee of USD 0.00005; it is left out above.

Field mapping

Rows in apify/google-trends-scraper format (one row per term with data):

Their fieldFilled fromNotes
inputUrlOrTerm, searchTermthe search term
interestOverTime_timelineDatainterest over timeItems { time, formattedTime, formattedAxisTime, value: [n], hasData: [bool], formattedValue: [text], isPartial }, as Google returns them
interestOverTime_averagesempty listAs in their README example for one term
interestBy (worldwide) or interestBySubregion (a country)interest by regionItems { geoCode, geoName, value: [n], formattedValue: [text], maxValueIndex, hasData: [bool] }
relatedQueries_top, relatedQueries_risingrelated queriesItems { query, value, formattedValue, link, hasData }

Not mapped, because this Actor does not request them: relatedTopics_top, relatedTopics_rising, interestByCity, interestByMetro and their *Topics variants. For a region code such as US-CA, interest by region stays in our field interestByRegion. Our extra fields in this format: geo, timeRange, timezone, category, categoryName, property, sourceUrl, scrapedAt, the trend summary (latestValue, peakValue, peakDate, averageValue, vsAveragePercent, momentumPercent, direction and others), valueComparableSeries when terms are compared on one scale and shareOfSearchByRegion in compare mode.

Input fields accepted from apify/google-trends-scraper, including its default input exactly as its console fills it: searchTerms, geo, timeRange (the empty value means past 12 months), customTimeRange (same format), category as text ("" means all categories, "71" is read as 71), startUrls (Google Trends explore URLs: the terms in q are added to the search terms, and geo, date, cat and gprop fill those settings when you did not set them; several terms in one URL are compared on one scale; with several URLs, the first URL's settings apply to all terms), isMultiple (comma-separated terms are split and compared on one scale), maxItems (one row per term, so it limits the number of terms), maxRequestRetries (to maxRetries) and maxConcurrency (values above 5 run as 5). Not mapped: spreadsheetId, viewedFrom and pageLoadTimeoutSecs; skipDebugScreen is not needed.

Input fields accepted from khadinakbar/google-trends-scraper and agenscrape/google-trends-scraper: keywords (to searchTerms), timeframe (to timeRange), property: "web", dataTypes (interest_over_time, interest_by_region and related_queries select the data; trending_searches without keywords switches to Trending now with trendingSearchesGeo), outputFormat: "flat" or "summary" (our default rows), includeRelatedSearches (to includeRelatedQueries) and includeGeoData (to includeInterestByRegion). Not mapped: related topics and maxResults (this Actor charges per term, not per row).

Any other field that this Actor does not use is listed in the run log as not mapped; the run continues.

Rows in data_xplorer/google-trends-fast-scraper format:

Their fieldFilled fromNotes
keyword, timeframe, geo, languagethe term and the inputgeo is the code you sent (empty for worldwide); our label is in geoLabel
trends_urlthe term and the inputhttps://trends.google.com/trends/explore?geo=..&q=..&hl=..
timeline_datainterest over time{ "<term>": { "<date>": value }, "isPartial": { "<date>": bool } }. Dates are YYYY-MM-DD; for hourly and minute data the key is the full UTC timestamp, a format their README does not show
region_datainterest by region{ rank, region, value }, highest first, when regional data is requested
data_granularityinterest over timeminute, hour, day, week or month
Trending mode: geo, language, trending_searches, trends_url, timeframe_hours, max_items, timestamptrending nowOne row per run. Each trending search has rank, term, trend_volume (200K+), trend_volume_formatted (200000) and related_terms, plus our increasePercent, startedAt, endedAt, isActive, categoryNames, newsArticleCount and exploreUrl. timestamp is UTC. Charged per trending search, as in the default mode, so this one row carries one trending-search event per search it holds

Input fields accepted from data_xplorer/google-trends-fast-scraper: mode (keyword or trending), the legacy enableTrendingSearches, keyword (to searchTerms), predefinedTimeframe (to timeRange), geo, fetchRegionalData (to includeInterestByRegion), trendingSearchesCountry (to geo), trendingSearchesTimeframe (to trendingHours), trendingSearchesCategories (one or several categories, same Google IDs), trendingSearchesMaxItems (to maxTrendingSearches) and proxyConfiguration. One difference: when mode is missing, their Actor runs trending searches and this one explores the search terms; send mode explicitly.

The run log and RUN_SUMMARY.compatibility list every input field that was translated and every field that was not.

Built to the same standard: a status for every input in RUN_SUMMARY, actionable error messages and list-based inputs, so they chain well in one workflow:

Changelog

  • 0.3.15 (November 2026) The default input of apify/google-trends-scraper runs as it is: category as text ("" or "71") and maxConcurrency above 5 are accepted, and startUrls with a Google Trends explore URL is read (terms, country, date, category and property). Field names of khadinakbar/google-trends-scraper and agenscrape/google-trends-scraper are accepted (keywords, timeframe, dataTypes and others). Unused fields are listed in the run log. Trending now works again: since 9 November 2026 Google answered every Trending now request with an error, and the list is now read from the trending page. The default output is unchanged.
  • 0.3.11 (November 2026) Switching from another Google Trends Actor: their input field names are accepted (keyword, predefinedTimeframe, fetchRegionalData, trendingSearchesCountry, maxItems and others), and the new Output format field returns rows in the shape of apify/google-trends-scraper or data_xplorer/google-trends-fast-scraper. The default output is unchanged.
  • 0.3.9 (November 2026) Trend summary: one termSummary row per term (status, latest, peak, average, momentum and direction, never charged), an INSIGHTS record that ranks terms by momentum, and a status message that states the trend of each term. recordType on every row, new first view All rows, labels and formats on every column, output links per view and in CSV. Existing fields are unchanged.
  • 0.3 (November 2026) Trending now mode (event trending-search). Category IDs checked against Google's list and categoryName on every row. Budget checked before each term is saved, with NOT_PROCESSED for terms beyond the cost limit. Rows of terms without data are no longer saved in anchor mode. Run summary kept across platform restarts.
  • 0.2 Pay per keyword, proxy escalation, anchor comparison for more than 5 terms, timezones, full timestamps, per-term statuses and run summary.
  • 0.1 First version.

Tutorials and examples

Ready-to-import templates: Google Sheets, Make, Zapier and a webhook receiver.

Rate this Actor

If this Actor saved you time, please consider leaving a rating or a short review on its Apify Store page. It helps other users find it and shows us what to improve. If something does not work as expected, please open an issue first so we can fix it.

Support

Open an issue on the Actor page. Issues are reviewed every day and fixes are released quickly.