UnitBytes
UnitBytes Enterprise Data Labs
SEO & Market Trends

Google Trends Real-Time & Historical API

The definitive Google Trends automation engine with over 10,600+ successful runs. Extract breakout queries, historical interest curves, regional heatmaps, and real-time trending searches without IP bans.

5 Trend EndpointsBreakout Keywords250+ CountriesFlat Tabular CSV/JSON
Pricing: Pay-Per-Event
•
Latency: Sub-Second
•
Format: JSON / CSV
normalized_output.json
HTTP 200 OK
{
  "keyword": "autonomous ai agents",
  "timeframe": "today 12-m",
  "geo": "US",
  "interestOverTime": [
    {
      "date": "2026-01-01",
      "value": 34
    },
    {
      "date": "2026-06-01",
      "value": 68
    },
    {
      "date": "2026-09-01",
      "value": 100
    }
  ],
  "relatedQueries": [
    {
      "query": "best autonomous ai agent framework",
      "value": "Breakout"
    },
    {
      "query": "ai agents enterprise use cases",
      "value": "+450%"
    }
  ],
  "topRegions": [
    {
      "region": "California",
      "value": 100
    },
    {
      "region": "Washington",
      "value": 88
    },
    {
      "region": "New York",
      "value": 82
    }
  ],
  "scrapedAt": "2026-09-25T14:30:00Z"
}
Google Trends Real-Time & Historical API Banner - UnitBytes Enterprise Web Data Engine

Engine Architecture

Key Extraction Capabilities

Built specifically for high-throughput enterprise pipelines with zero credential leakage.

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.

Instant Developer Integration

Run in Your Application in 3 Lines

Trigger extractions via the official Apify Client or standard REST endpoints.

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

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {
    "searchTerms": ["artificial intelligence", "quantum computing"],
    "timeframe": "today 3-m",
    "geo": "US",
    "extractRelatedQueries": True,
    "extractRegionalInterest": True
}

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

for record in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(record["keyword"], record["date"], record["value"])

Technical Documentation

Frequently Asked Questions

Q: Why use UnitBytes over unofficial Python libraries like pytrends?

Libraries like pytrends are severely rate-limited by Google (HTTP 429) within minutes. UnitBytes manages residential proxy rotation and request orchestration to guarantee 99.9% uptime at scale.

Q: Can I compare multiple keywords simultaneously?

Yes. Pass up to 5 comparison terms simultaneously to receive normalized relative search volume curves across all queries.

Q: What historical timeframes are available?

All official Google timeframes: past hour, past 4 hours, past day, past 7 days, past 30 days, past 90 days, past 12 months, past 5 years, or full history from 2004 to present.

Q: How are breakout queries formatted?

Queries experiencing exponential growth (+5000% increase) are explicitly tagged with Breakout for instant alert triggers.

Related Data Engines

Complementary extractors built for the same intelligence stack.

View All 14 Engines →
Enterprise SLA & Custom Pipelines

Need Custom Web Data Feeds or Dedicated SLAs?

Our data engineering team provides private cluster deployments, custom webhook integrations, continuous schema monitoring, and high-frequency delivery directly to BigQuery, Snowflake, or AWS S3.

Ready to Deploy Google Trends Real-Time & Historical API?

Start running immediately on UnitBytes Cloud with zero infrastructure setup, or contact our engineering team for dedicated S3/BigQuery delivery pipelines.