UnitBytes Logo
UnitBytes Web Data APIs
SEO & Market Trends

Google Trends Scraper API: Trending, Regions & Queries

Fast & Cheap ($0.30/1k): Monitor & query Trending Now, Interest Over Time, Regions, Breakout Queries & Topics. Web, YouTube & Shopping, bulk 100 keywords & flat JSON for MCP.

5 Trend EndpointsBreakout Keywords250+ CountriesFlat Tabular CSV/JSON
Pricing: $0.00045 / item
•
Export: CSV / Excel / JSON / API
•
GitHub Repo & Samples →
sample_output.json
{
  "scrape_type": "interest_by_region",
  "event_index": 1,
  "error": false,
  "keyword": "Coffee",
  "geo": "US-NY-501",
  "geoName": "New York NY",
  "value": 100,
  "max_value_index": 0
}
Google Trends Scraper API: Trending, Regions & Queries - UnitBytes

Features

What the Google Trends Scraper API: Trending, Regions & Queries Extracts

01

5 Complete Endpoints in One Engine

Real-time trends, interest over time (historical), interest by region (sub-regions & cities), related queries, and related topics.

02

Breakout Keyword Detection

Captures surging search queries marked as Breakout (+5000% growth) before they reach peak mainstream saturation.

03

Flat Tabular CSV & Google Sheets Ready

Output is automatically normalized into clean rectangular rows, ready for immediate import into Excel, BigQuery, or Power BI.

04

Zero Compute Fees (PPE)

Built-in residential proxy rotation with zero compute time billing. Only pay for successful events extracted.

Integration

Run It From Python or n8n

Python SDK • pip install apify-client
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {
    "keywords": ["OpenAI", "ChatGPT"],
    "custom_timeframe": "2023-01-01 2023-12-31",
    "common_geo": "US",
    "scrape_type": "all",
    "compare_keywords": True,
    "gprop": "web"
}

run = client.actor("unitbytes/google-trends-api").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("geoName"), item.get("keyword"), item.get("value"))
⚡ n8n Automation Blueprint All 44 n8n Templates →

n8n Workflow Template

Schedule this scraper and send results to Google Sheets, Airtable, or Slack.

⬇ Download .json
Paste in n8n with Ctrl+V n8n.io/creators/unitbytes ↗

FAQ

Frequently Asked Questions

Q: How is Google Trends API formatted for BI dashboards and SQL?

Unlike nested raw widgets, Google Trends API flattens every time-series point, regional geo-score, and Breakout query into clean, root-level rows ready for BigQuery, Snowflake, Google Sheets, and n8n.

Q: What timeframes and granularities are supported?

Supports real-time minute/hourly windows (now 1-H, now 4-H, now 1-d, now 7-d), 30/90-day windows, 12-month and 5-year curves, all-time 2004–present history, and custom YYYY-MM-DD date ranges.

Q: Does it support YouTube, Google Shopping, News, and Image Trends?

Yes. Set the property parameter to web (default), youtube, froogle (Google Shopping), news, or images across 100+ country and metro codes.

Q: How fast does the API respond for automated pipelines?

Typical runs complete in 2 to 5 seconds with zero browser startup overhead, costing $0.00045 per record ($0.45 per 1,000 records).

PyTrends Alternative & API Teardown

PyTrends Is Dead (HTTP 429): Google Trends API Pricing & 2026 Alternatives ($0.30/1K)

Step-by-step guide with pricing and Python examples.

Read the guide →

Prefer Not to Run It Yourself?

Tell us what you need from Google Trends Scraper API: Trending, Regions & Queries and we'll deliver a clean Excel/CSV file. One-time datasets from $99, custom scrapers from $299. We reply within 48 hours.