Google Trends Scraper — Fast & Cheap avatar

Google Trends Scraper — Fast & Cheap

Pricing

from $3.00 / 1,000 search terms

Go to Apify Store
Google Trends Scraper — Fast & Cheap

Google Trends Scraper — Fast & Cheap

Google Trends data without login: interest over time, by region, related queries and topics. Pay per search term: $3 per 1,000 terms.

Pricing

from $3.00 / 1,000 search terms

Rating

0.0

(0)

Developer

Владислав Новік

Владислав Новік

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Pricing: $3.00 per 1,000 search terms, however many rows a term returns. Failed terms are free.

Apify actor that pulls data from the public Google Trends endpoints — the same ones the trends.google.com page itself calls in a browser — and returns clean, row-based results. You pay per search term, not per row.

Who is it for

Marketers, SEO and content teams, researchers and developers who need Trends numbers for reporting, keyword research, trend monitoring or data pipelines and do not want to maintain their own Trends client. Run it on a schedule to append fresh data to the same dataset, or call it from your code via the Apify API.

What it does

For every search term group the actor:

  1. Fetches the Trends homepage first so the requests carry the NID cookie, the way the website itself works. The actor identifies itself honestly and does not pretend to be a browser.
  2. Calls GET /trends/api/explore to obtain the widgets and tokens.
  3. Calls the public widgetdata endpoints the page uses: /trends/api/widgetdata/multiline (interest over time), /trends/api/widgetdata/comparedgeo (interest by region) and /trends/api/widgetdata/relatedsearches (related queries and topics).
  4. Strips the )]}' guard from each response and emits one dataset row per data point.

The requests go through Apify Proxy (residential by default, included in the price). On an HTTP 429 the actor pauses, retries with a fresh proxy address (at most twice) and only reports an error row if it still fails. The actor does not log into any account, solve captchas, or bypass bot checks; if Google asks for a login or a bot check, the run pushes an error row instead.

Input

FieldTypeDefaultDescription
searchTermsarray["artificial intelligence"]Required. Each element is a separate comparison group. To compare up to 5 terms inside one group, separate them with commas, e.g. "python, rust".
geostring""ISO country code, e.g. US. Leave empty for the whole world.
timeRangestringtoday 12-mOne of now 1-H, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all.
categoryinteger0Google Trends category ID; 0 = all categories.
propertystring"""" (web search), youtube, news, images or froogle (Google Shopping).
outputsarrayall fourAny subset of interestOverTime, interestByRegion, relatedQueries, relatedTopics.
proxyConfigurationobject{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}Apify proxy settings. Residential by default: Google answers 429 to shared datacenter addresses. Proxy traffic is included in the price.

Example run

{
"searchTerms": ["artificial intelligence"],
"geo": "US",
"timeRange": "today 12-m",
"category": 0,
"property": "",
"outputs": ["interestOverTime", "interestByRegion", "relatedQueries", "relatedTopics"],
"proxyConfiguration": { "useApifyProxy": true }
}

Example output

Every row carries a type field that tells you which output it belongs to.

[
{
"type": "interestOverTime",
"term": "artificial intelligence",
"date": "2025-01-05T00:00:00+00:00",
"value": 47,
"isPartial": false
},
{
"type": "interestByRegion",
"term": "artificial intelligence",
"geoCode": "US-CA",
"geoName": "California",
"value": 100
},
{
"type": "relatedQueries",
"term": "artificial intelligence",
"kind": "top",
"query": "artificial general intelligence",
"value": 100,
"link": "https://trends.google.com/trends/explore?q=artificial%20general%20intelligence"
},
{
"type": "relatedTopics",
"term": "artificial intelligence",
"kind": "rising",
"topic": "Large language model",
"value": 3150,
"link": "https://trends.google.com/trends/explore?q=%2Fg%2F11ld0twq7h"
}
]

Failed requests are recorded as rows of their own:

{
"type": "error",
"status": "error",
"errorType": "rate_limit",
"message": "Group [artificial intelligence]: Google Trends returned HTTP 429 (too many requests) for /trends/api/explore"
}

Pricing

$3.00 per 1,000 search terms — that is $0.003 per term.

You pay once per search term, however many rows it returns: the whole timeline, all regions and the related queries and topics of a term cost the same $0.003. One term with all four outputs for today 12-m is usually about 150–200 rows. A comparison group of 3 terms costs 3 × $0.003.

Error rows are free. If your spending limit for the run is reached, the actor stops before handing out data it cannot charge for.

Limitations

  • Google Trends values are relative (0–100 inside each timeseries, per region and per related list), not absolute search counts.
  • A comparison group holds at most 5 terms — this is a Google Trends limit.
  • isPartial: true marks the last timeseries point of the requested range; it can still change as more data comes in.
  • Rising related queries/topics: value is the percentage growth; entries Google labels "Breakout" may come back with a null value.
  • relatedTopics can come back empty: in November 2026 Google often returns no related topics to requests without a login, while related queries work. Empty outputs do not change the price of a term.
  • Related queries/topics are served per term, so a group with several terms makes one extra explore request per term for those outputs.
  • The actor uses public unauthenticated endpoints. It does not log in, does not solve captchas and does not bypass bot checks; heavy usage of free datacenter proxies get HTTP 429 from Google, so the actor uses the Apify residential proxy by default. It retries twice with a fresh proxy address, then reports an error row for that group (free).
  • The actor is not affiliated with Google; endpoints are undocumented and can change, which would surface as error rows or a failed run.

FAQ

Why are values 0–100 instead of search counts? That is how Google Trends works: every point is relative to the highest point of the same series, per region, per time range and per comparison group.

Why do the values of my terms change when I run different term groups? Trends normalizes values within the group that is compared together. Groups are separate requests, so their scales are independent.

How many terms can I scrape in one run? Each element of searchTerms is one group (up to 5 comma-separated terms). The number of groups per run is not limited, but Google rate-limits bursts: spread big batches over several runs.

Why do I get error rows with errorType: "rate_limit"? Google answered HTTP 429 three times in a row for that group (initial request plus two retries with fresh proxies). Re-run those terms later; nothing was charged for them.

Can I get hourly or daily data? Yes — pick now 1-H or now 7-d for hourly points, and longer ranges return daily or weekly points, exactly like the website does.

What exactly am I charged for? One term event per search term that returned data. Rows are grouped by term and pushed after the charge, so you never pay twice for a term.

Disclaimer

Use responsibly and check the site's terms for your use case.

More actors from the same developer

Pay only for results, no logins: