Google Trends API: Track Trending Topics Globally

Get Google Trends data at scale using Scrapingdog's API. The API manages proxy management & all other corner cases to get blockage-free data.

GET / google_trends
"interest_over_time": {
    "timerange_data": [],
    "timeline_data": [
        {
            "date": "Jan 28 – Feb 3, 2024",
            "timestamp": "1706400000",
            "values": [
                { "query": "coffee", "value": 83, "extracted_value": "83" }
            ]
        },
        {
            "date": "Feb 4 – 10, 2024",
            "timestamp": "1707004800",
            "values": [
                { "query": "coffee", "value": 84, "extracted_value": "84" }
            ]
        },
        {
            "date": "Feb 11 – 17, 2024",
            "timestamp": "1707609600",
            "values": [
                { "query": "coffee", "value": 81, "extracted_value": "81" }
            ]
        }
    ]
}

How It Works Behind the API

</> Get
import requests

api_key = "5eaa61a6e562fc52fe763tr516e4653"
url = "https://api.scrapingdog.com/google_trends/"

params = {
    "api_key": api_key,
    "query": "coffee",
    "data_type": "TIMESERIES"
}

response = requests.get(url, params=params)

if response.status_code == 200:
    data = response.json()
    print(data)
else:
    print(f"Request failed with status code: {response.status_code}")

Google Trends API Response (Structured JSON Data)

Try Scrapingdog for Free
  • Interest Over Time (TIMESERIES)

    interest_over_timetimeline_datatimerange_datadatetimestamp
  • Trend Values

    valuesqueryvalueextracted_value
  • Interest by Region (GEO_MAP_0)

    interest_by_regiongeo
  • Compared by Region (GEO_MAP)

    compared_breakdown_by_region
  • Request Controls

    querygeoregiondata_typedate
  • Refinement Params

    languagecatgproptz

Scrapingdog vs Manual Google Trends Scraping

Without a Google Trends API

Google Trends has no official public API, so teams fight the throttled web UI, brittle unofficial endpoints, index normalization, and quota lockouts.

  • No Official Trends API

    Google never shipped a public Trends API, so you reverse-engineer the internal widget endpoints and tokens that break without notice.

  • Relative Index, Not Raw Volume

    Every series is normalized against its own peak, so comparing keywords pulled in separate calls produces misleading numbers.

  • Quota Lockouts & 429s

    Trends throttles hard after a few requests from one IP, returning 429s and empty payloads that stall any batch job.

  • geo, tz & date-Range Quirks

    Region codes, the timezone offset, and predefined date ranges each reshape the payload, so a small input mistake returns the wrong trend.

With Scrapingdog Google Trends API

With Scrapingdog, one API call handles proxies, CAPTCHA, parsing, and scaling, so you focus on the trends data.

  • Get Market Insight

    Access real-time search data to spot emerging trends the moment they start to move.

  • Strategic Marketing

    Refine campaigns using trends data to time your messaging around peak interest periods.

  • Competitive Analysis

    Monitor competitor search frequency and context to understand shifting demand.

  • Operational Efficiency

    Integrate trends data into your stack to adapt quickly to market changes.

Google Trends API Features That Make Scraping Easy

  • Rotating Proxy Network

    Our API includes a built-in rotating proxy system that automatically changes IP addresses for every request.

  • Automatic CAPTCHA

    Scrapingdog automatically bypasses CAPTCHA and anti-bot protection used by Google, so you can send requests without worrying about blocks.

  • Precise Trend Tracking

    Extract interest data by geographic origin, from entire countries down to individual cities, in structured JSON.

  • All Three Data Types

    Pull interest over time, interest by region, and compared breakdown by region from one endpoint.

  • Category & Property Filters

    Narrow results with the cat parameter and pivot gprop across web, news, images, or youtube.

  • Fast Response Time

    Receive trends data in just a few seconds with our high-performance Google scraping API.

What you can build with a Google Trends API

  • Consumer Behavior Analysis

    Track shifts in what people search for over time to understand changing consumer interests and demand.

  • Event Impact Assessment

    Measure how launches, news, or campaigns move search interest before, during, and after an event.

  • Seasonal Demand Forecasting

    Forecast seasonal spikes by analyzing historical interest patterns across recurring periods.

  • Content Optimization

    Optimize content strategy around rising queries and topics your audience is actively searching for.

  • Geographic Market Analysis

    Compare interest by region and city to prioritize markets and localize your go-to-market.

  • Influence and Partnership Evaluation

    Evaluate the reach and momentum of brands, topics, or creators to inform partnership decisions.

Built for teams of every size and background

  • Trend Analysts
  • Market Researchers
  • Demand Forecasters
  • Consumer-Insight Teams
  • Content & SEO Planners
  • Brand & PR Monitors
  • E-commerce Merchandisers
  • Investment & Equity Researchers
  • Media & Editorial Teams
  • Growth Marketers
  • Data Scientists
  • Strategy Consultants

Get Started with Our Google Trends API in Minutes

  1. 1

    Create free account

    Sign up and get free credits to start testing the Trends API.

  2. 2

    Get Your API Key

    Access your unique API key from the dashboard and use it to scrape the data.

  3. 3

    Send Your First Request

    Call /google_trends with a query, a geo code, and a data_type.

  4. 4

    Receive Structured Data

    Get clean JSON back, ready to chart or forecast the trend you need.

Transparent & Simple Pricing

Start your web scraping journey with 200 free credits. Test our service and upgrade to one of the plans below. Cancel anytime.

2 months Extra
  • FREE

    $0 forever
    • 200 Requests Credits
    • 1 Concurrency
    • Access To All APIs
    • No Credit Card Required
    • Community Support
    • Team Support
    Start for Free
  • LITE

    $40 /month
    • 200,000 Requests Credits
    • 5 Concurrency
    • Access To All APIs
    • Geotargeting
    • Email Support
    • No Team Support
    Start Trial
  • STANDARD

    $90 /month
    • 1,000,000 Requests Credits
    • 50 Concurrency
    • Access To All APIs
    • Geotargeting
    • Priority Email Support
    • No Team Support
    Start Trial
  • Popular

    PRO

    $200 /month
    • 3,000,000 Requests Credits
    • 100 Concurrency
    • Access To All APIs
    • Geotargeting
    • Priority Email Support
    • Team Support
    Start Trial
  • PREMIUM

    $350 /month
    • 6,000,000 Requests Credits
    • 150 Concurrency
    • Access To All APIs
    • Geotargeting
    • Priority Email Support
    • Team Support
    Start Trial

Trusted by Developers worldwide

4.8 TrustScore on Trustpilot
  • I got the free trial and in less than a minute I already integrated with their API to scrape Google, matter of fact they had all the plug-and-play codes ready for me, It was seamless. I am about to upgrade as I have used up my trial credits.

    Cara Damiano

    United States

  • I love how you can use it to scrape data from Google.

    Filip Ligaarden

    Oslo, Norway

  • Scrapingdog is an awesome service. I use it with my Local Leads Sniper system and thanks to it I have been able to land a few clients since it gave me all the info that my client's Google Business Profile was missing. Great service!

    Hector Casanova Loera

    Mexico

  • Their API success rate is 100% on the tests that I have done. The service seems very reliable.

    Jomer Avengoza

    Manila, Philippines

Frequently Asked Questions

  • Yes, the API has a rate limit depending on your chosen subscription plan. For detailed information on request limits and how to manage them efficiently, please refer to the documentation or message us on live chat.

  • The API allows you to extract real-time insights on what people are searching for globally. You can gather data such as keyword interest over time, regional search trends, related queries, and rising topics. It's ideal for seasonal analysis, tracking emerging trends, managing brand reputation during a crisis, and optimizing marketing or ad campaigns.

  • Yes, in addition to data from Google Trends, we have dedicated APIs for Google Scholar, Google Images, Google Lens & Google Search API, etc.

  • Our development team continuously monitors changes in Google Trends and updates accordingly to ensure consistent and reliable data extraction.

  • Each API request consumes a certain number of credits based on the dedicated API you're using. For example the Google Search API costs 5 credits per request. So, if you make one request to the Google Search API, it will deduct 5 credits from the available credits in your account. The number of credits required per request can vary depending on the specific API you're using. You can find more details about the credit usage for each API in the documentation.

  • No, Google does not provide an official public API for Google Trends. The best way to scale is by using a third party API.

Try Scrapingdog for Free!

Get 200 free credits to spin the API. No credit card required!