Google Trends Scraper & API
Pricing
from $1.60 / 1,000 search term with data
Google Trends Scraper & API
Google Trends API with no invitation and no 429 errors. Get interest over time (daily for any period), by region, related queries, trend direction and Trending Now for any country. A reliable pytrends alternative: export to CSV, Excel or JSON, and pay only for terms with data.
Pricing
from $1.60 / 1,000 search term with data
Rating
0.0
(0)
Developer
Clearpull
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Get Google Trends data through a simple API or a no-code form, with nothing to wait for and no 429 errors. This Google Trends scraper returns interest over time, interest by region, related queries and today's Trending Now searches for any country. You can export it to CSV, Excel or JSON, or call it from Python, JavaScript, Make, Zapier or n8n. Blocked requests are retried from fresh IP addresses, and a run never ends with silently empty results.
Does Google Trends have an API?
Not one you can simply sign up for. Google's official Google Trends API has been an invite-only alpha since 2025. The popular free Python library, pytrends, often fails with "429 Too Many Requests", because Google limits how often one IP address can query Trends.
This Actor is a working pytrends alternative. You don't need a Google account or an application:
- It handles blocks for you. It rotates residential IP addresses, gets the session cookie Google expects, and retries blocked requests automatically.
- You pay only for results with data. Terms Google has no data for are free.
What you get
For each search term:
- Interest over time: the 0–100 Google Trends timeline, with dates. Partial periods are flagged.
- Daily data for any period: Google gives daily values only for up to about 9 months. Turn on Daily data for long ranges to get one daily series for 1, 5 or 20 years, stitched from overlapping windows.
- Trend direction:
rising,fallingorstable, with the % change between the start and the end of the period, so you can sort hundreds of keywords at a glance. - Summary numbers: average, peak (with date) and latest interest, ready for a spreadsheet.
- Interest by region: countries, states, US metro areas or cities, sorted by interest.
- Related queries: the top and rising searches people make alongside your term.
- Related topics (optional): top and rising topics. Google often withholds these from automated requests, so they're off by default.
- A link that opens the same search on Google Trends.
For each country under Trending Now:
- What's trending right now, with Google's traffic estimate (such as "2000+"), when it started, and links to the news stories behind it.
Who uses Google Trends data
- SEO and content teams: keyword research, seasonal content planning, topic ideas from rising queries.
- E-commerce and product teams: product demand by month and by region, launch timing.
- Market research and finance: brand interest over time, competitor comparisons, demand signals.
- Researchers and journalists: historical search interest back to 2004, regional differences.
- Dashboards and AI agents: a dependable feed of what people search for and what's trending today.
How to use it
- Enter one or more search terms, one per line.
- Choose a location (for example
US,GBorUS-CA) and a time range, from the past hour to 2004–present, or a custom range. - Turn on Compare terms together to put up to 5 terms on one shared 0–100 scale, like the Compare feature in Google Trends.
- Optionally add countries under Trending Now countries.
- Run it, then download the data as CSV, Excel or JSON, or fetch it through the API.
Example input:
{"searchTerms": ["coffee", "matcha"],"compareTogether": true,"geo": "US","timeRange": "today 12-m","trendingNowGeos": ["US", "GB"]}
Use the Google Trends API from Python or JavaScript
Install the official Apify client (pip install apify-client or npm install apify-client) and use your Apify API token.
Python:
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("clearpull/google-trends-scraper").call(run_input={"searchTerms": ["coffee", "matcha"],"geo": "US","timeRange": "today 12-m",})for item in client.dataset(run.default_dataset_id).iterate_items():print(item["searchTerm"], item["averageInterest"], item["peakDate"])
JavaScript:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('clearpull/google-trends-scraper').call({searchTerms: ['coffee', 'matcha'],geo: 'US',timeRange: 'today 12-m',});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.map((i) => [i.searchTerm, i.averageInterest]));
To put the data into Google Sheets, Make, Zapier, n8n or a webhook without code, use the Actor's Integrations tab. To refresh it every day or week, use Schedules.
Use it from AI agents (MCP)
Give Claude, ChatGPT, Cursor or any MCP client live Google Trends data through Apify's MCP server:
{"mcpServers": {"google-trends": { "url": "https://mcp.apify.com?tools=clearpull/google-trends-scraper" }}}
Set Output format to Summary for agents. Each term then comes back as a compact answer: trend direction, % change, peak, average, and the top 5 regions and queries, instead of hundreds of data points.
Output example
Shortened. Real results include the full timeline, all regions and up to 25 top and 25 rising queries.
{"type": "searchTerm","searchTerm": "matcha","geo": "US","timeRange": "today 3-m","comparedWith": [],"hasData": true,"averageInterest": 74.4,"peakInterest": 100,"peakDate": "2026-08-30T00:00:00.000Z","latestInterest": 73,"interestOverTime": [{ "date": "2026-08-13T00:00:00.000Z", "formattedTime": "Aug 13, 2026", "value": 71, "hasData": true, "isPartial": false }],"interestByRegion": [{ "geoCode": "US-HI", "geoName": "Hawaii", "value": 100 }],"relatedQueries": {"top": [{ "query": "matcha me", "value": 100, "formattedValue": "100", "link": "https://trends.google.com/trends/explore?q=matcha+me&date=today+3-m&geo=US" }],"rising": []},"trendsUrl": "https://trends.google.com/trends/explore?date=today+3-m&geo=US&q=matcha&hl=en-US","scrapedAt": "2026-11-12T03:05:00.000Z"}
A Trending Now row:
{"type": "trendingSearch","geo": "US","title": "south park new episode","approxTraffic": "1000+","approxTrafficNumber": 1000,"startedAt": "2026-11-12T03:00:00.000Z","newsItems": [{ "title": "…", "url": "https://…", "source": "…" }]}
Pricing
You pay per result. Search terms with data are $2 per 1,000 and trending searches are $1 per 1,000, plus Apify's tiny fee per run start. Higher Apify plans pay less per result. For example, 100 search terms cost about $0.20, and Trending Now for 5 countries (about 50 searches) costs about $0.05.
- Daily data for long ranges: each additional 8-month window counts as one more search-term result. Five years of daily data for one term (9 windows) costs about $0.02.
- No-data terms are free. Terms Google has no data for still appear in your results, with
hasData: false, so you can see what happened. - Spending cap: set a maximum cost per run in the run options, and the Actor stops cleanly when it reaches it.
FAQ
How far back does Google Trends data go?
To 2004. Choose "2004 to present" or a custom range such as 2010-01-01 2015-12-31.
How do I get daily Google Trends data for more than 9 months?
Google decides the granularity from the range: hourly for up to 7 days, daily for up to about 9 months, weekly for up to 5 years, and monthly beyond that. Turn on Daily data for long ranges, and the Actor fetches overlapping 8-month windows. It rescales each window by the days it shares with the previous one, then returns one daily series that peaks at 100. Stitched values are estimates: very small values (0–5) can be noisy. If a join had too little overlapping data, the result includes a dailyNote.
What do trendDirection and changePercent mean?
The Actor compares the average of the latest quarter of the period with the average of the first quarter. A change of +15% or more is rising, -15% or less is falling, and anything in between is stable.
Why are the values between 0 and 100? Google Trends reports relative interest. 100 is the peak for that search, place and period. Values are comparable between terms only when you use Compare terms together.
Can I compare more than 5 terms? Google compares at most 5 at a time. With Compare terms together on, terms are grouped in fives. To compare across groups, put one common anchor term in every group.
How do I export Google Trends data to CSV or Excel? After a run, open the Output tab and choose CSV, Excel or JSON. The table view shows one row per term. The JSON includes the full timelines.
Why did a term return no data?
Very rare terms have too little search volume for Google to report. Those results are marked hasData: false, and you aren't charged for them.
Do I need a Google account or proxies of my own? No. Residential proxies are included and selected by default.
Is the data personal? No. Google Trends data is public and aggregated. It contains no information about individuals.
Questions and problems
Open an issue in the Issues tab with your run ID and what you expected to see. If the Actor saved you time, a short review helps other people find it.