Google Trends Scraper: Compare Keywords Over Time avatar

Google Trends Scraper: Compare Keywords Over Time

Pricing

from $13.00 / 1,000 keyword trend queries

Go to Apify Store
Google Trends Scraper: Compare Keywords Over Time

Google Trends Scraper: Compare Keywords Over Time

Google Trends scraper: interest over time, by region and related queries for keyword lists. Accepts the official Actor's input, returns the same field names. Fails fast instead of hanging. $0.015 per keyword (+$0.005 with related data); $0 if nothing is delivered. No related topics or city data.

Pricing

from $13.00 / 1,000 keyword trend queries

Rating

0.0

(0)

Developer

Tallydata

Tallydata

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Features

Limited permissions

Share

A Google Trends scraper for Apify. Compare up to 5 keywords over time on one 0–100 scale, or run a whole keyword list with each keyword on its own scale. It accepts the input of the official Google Trends Scraper and returns the same output field names, finishes or fails in seconds instead of hanging, and charges a fixed price per keyword only when data comes back.

To compare keywords, turn on isMultiple and put them in one entry, separated by commas:

{
"searchTerms": ["iphone, samsung, pixel"],
"isMultiple": true,
"timeRange": "today 12-m"
}

With isMultiple off (the default), each entry is its own keyword on its own scale.

Unofficial. Not affiliated with or endorsed by Google.

What data you get

For each keyword or comparison of up to 5 keywords: interest over time, interest by country or subregion, and top and rising related queries.

{
"inputUrlOrTerm": "iphone, samsung",
"searchTerm": "iphone,samsung",
"interestOverTime_timelineData": [
{"time": "1761436800", "formattedTime": "Oct 26 – Nov 1, 2025", "formattedAxisTime": "Oct 26, 2025",
"value": [46, 14], "hasData": [true, true], "formattedValue": ["46", "14"]}
],
"interestOverTime_averages": [61, 19],
"interestBySubregion": [],
"interestByCity": [],
"interestByMetro": [],
"relatedTopics_top": [],
"relatedTopics_rising": [],
"relatedQueries_top": [],
"relatedQueries_rising": [],
"interestBy": []
}

Known gaps

  • Related topics are not fetched. Google returns them empty, so the fields stay empty.
  • City and metro data are not fetched. Those fields stay empty.
  • extendOutputFunction is not supported.

Reliability, measured

Before publishing, this Actor ran on a schedule every 10 minutes for 4 days (6–10 November 2026): 576 of 576 runs succeeded (100%). A typical run took 8.9 seconds from start to finish, and 95% of runs finished within 21.5 seconds. Queries that fail or come back empty are not charged.

This number will be replaced by the 30-day run success rate, calculated as succeeded runs divided by total runs, once it is available.

Change the Actor ID and keep your input. The default output contains the official keys only, and outputFormat: full adds one trailing meta column.

Official inputHere
searchTerms, isMultiple, timeRange, customTimeRange, geo, viewedFrom, category, startUrls, spreadsheetId, maxItemsSupported
maxConcurrency, maxRequestRetries, pageLoadTimeoutSecs, skipDebugScreenAccepted and ignored
proxyConfigurationAccepted and ignored: the proxy is included in the price

The compatibility test is public at tallydata/google-trends-actor-examples.

Pricing

EventPrice
Keyword with data$0.015 on Free and Starter plans, $0.014 on Scale, $0.013 on Business and above
Related queries for that keyword, when returned$0.005

10 keywords with related data cost $0.20 at the full price. Failed or empty queries cost nothing. To cap a run, set a maximum charge in the run options.

How to use it

Use the Console form, a Task or a schedule. For a schedule, pick a minute other than :00, for example 7 * * * * instead of 0 * * * *: at :00 most schedules on Apify start at once, and runs start and finish noticeably later. Through the API, run-sync-get-dataset-items suits up to 25 queries. Bigger batches run asynchronously at about 150 queries per 5 minutes, so 200 keywords take about 7 minutes and 1,000 keywords about 35 minutes.

AI agents

Add this MCP server, with your Apify token:

https://mcp.apify.com?tools=actors,docs,tallydata/google-trends-interest-over-time

Keep calls to 5 queries or fewer to get a reply within the usual 30-second wait, and use outputFormat: full. Worldwide queries return a large interestBy list.

Python (pytrends alternative)

from apify_client import ApifyClient
client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("tallydata/google-trends-interest-over-time").call(
run_input={"searchTerms": ["web scraping"], "geo": "US"}
)
rows = list(client.dataset(run["defaultDatasetId"]).iterate_items())

FAQ

Why at most 5 keywords per comparison? Google compares at most 5 terms on one scale. Other keywords in the list run separately.

What happens if Google refuses a query? If no data comes back, that query fails without a charge, and a run stops early if most of its recent queries fail, so you don't pay for a run that can't deliver.

Why do values differ slightly from the Trends website? Google samples its data, so values can move by a few points between requests.

Is it legal? It reads public aggregated data. This is not legal advice.

Support

Open an issue on this page. First response within 24 hours on weekdays and 48 hours at weekends. If this Actor helps or disappoints you, a short review helps others decide.

If you track the same keywords every week, save this Actor in Apify so you can find it again.