Google Trends API

Automate the extraction of trending search data and gain valuable insights from Google Trends with our API to make your market analysis faster, more accurate, and more efficient.

  • No credit card required
  • 1,000 free API credits
  • 30-day trial
Google Trends API

Google Trends API Features

Get seamless access to trending search data and analytics. Eliminate the hassle of manual data extraction with a powerful and reliable API.

Real-Time Insights

Real-Time Insights

Gain instant access to the latest trending searches and patterns.

Unwavering Accuracy

Unwavering Accuracy

Rely on verified data directly from Google Trends for precise and reliable insights.

Structured Data

Structured Data

Retrieve structured data in JSON format for easy integration into your applications.

Unparalleled Speed

Unparalleled Speed

Optimize your workflow with rapid API responses averaging under 3 seconds.

100% success rate

100% success rate

Enjoy a 100% success rate without the risk of being blocked or facing CAPTCHAs.

Easy Integration

Easy Integration

Integrate our API effortlessly into your apps for smooth access to Google Trends data.

Extract Google Trends Data in Minutes

Quickly and easily collect Google Trends data with just two simple steps – make an API request and receive data!

Request Example

curl --request GET \
	--url 'https://api.hasdata.com/scrape/google-trends/search?q=Coffee' \
	--header 'Content-Type: application/json' \
	--header 'x-api-key: YOUR_API_KEY'

Response Example

{
  "requestMetadata": {
    "id": "8e0c4c7b-b87f-4efe-8d62-33d6a72ebf4f",
    "status": "ok",
    "url": "https://trends.google.com/trends/api/explore?hl=en-US&tz=420&req=%7B%22comparisonItem%22%3A%5B%7B%22keyword%22%3A%22Coffee%22%2C%22geo%22%3A%22%22%2C%22time%22%3A%22today+12-m%22%7D%5D%2C%22category%22%3A0%2C%22property%22%3A%22%22%7D",
    "html": "https://storage.googleapis.com/scrapeit-cloud-screenshots/8e0c4c7b-b87f-4efe-8d62-33d6a72ebf4f.html"
  },
  "interestOverTime": {
    "timelineData": [
      {
        "date": "Jun 30 - Jul 6, 2024",
        "timestamp": "1719705600",
        "values": [
          {
            "query": "Coffee",
            "value": "90",
            "extractedValue": 90
          }
        ]
      },
      {
        "date": "Jul 7 - 13, 2024",
        "timestamp": "1720310400",
        "values": [
          {
            "query": "Coffee",
            "value": "97",
            "extractedValue": 97
          }
        ]
      }
    ]
  },
    "geoMap": [
      {
        "geo": "SG",
        "location": "Singapore",
        "values": [
          {
            "query": "Coffee",
            "value": "100",
            "extractedValue": 100
          }
        ],
        "maxValueIndex": 0
      },
      {
        "geo": "AU",
        "location": "Australia",
        "values": [
          {
            "query": "Coffee",
            "value": "78",
            "extractedValue": 78
          }
        ],
        "maxValueIndex": 0
      }
    ],
    "relatedTopics": {
      "rising": [
        {
          "topic": {
            "value": "/g/11sk8c743q",
            "title": "ZUS",
            "type": "Topic"
          },
        "value": "+700%",
        "extractedValue": 700,
        "link": "https://trends.google.com/trends/explore..."
        },
        {
          "topic": {
            "value": "/g/11sqj5kbz8",
            "title": "Ryze",
            "type": "Topic"
          },
        "value": "+250%",
        "extractedValue": 250,
        "link": "https://trends.google.com/trends/explore..."
        }
      ],
        "top": [
        {
          "topic": {
            "value": "/m/02vqfm",
            "title": "Coffee",
            "type": "Beverage"
          },
        "value": "100",
        "extractedValue": 100,
        "link": "https://trends.google.com/trends/explore..."
        },
        {
          "topic": {
            "value": "/m/020fb2",
            "title": "Cafe",
            "type": "Topic"
          },
        "value": "10",
        "extractedValue": 10,
        "link": "https://trends.google.com/trends/explore..."
        }
      ]
    },
  "relatedQueries": {
    "rising": [
      {
        "query": "shop coffee tables on sale",
        "value": "Breakout",
        "extractedValue": 5950,
        "link": "https://trends.google.com/trends/explore?q=shop+coffee+tables+on+sale&date=today+12-m"
      },
      {
        "query": "tomoro coffee",
        "value": "+600%",
        "extractedValue": 600,
        "link": "https://trends.google.com/trends/explore?q=tomoro+coffee&date=today+12-m"
      }
    ],
    "top": [
      {
        "query": "coffee shop",
        "value": "100",
        "extractedValue": 100,
        "link": "https://trends.google.com/trends/explore?q=coffee+shop&date=today+12-m"
      },
      {
        "query": "coffee near me",
        "value": "84",
        "extractedValue": 84,
        "link": "https://trends.google.com/trends/explore?q=coffee+near+me&date=today+12-m"
      }
    ]
  }
  }

Google Trends API Use Cases

Analyze search trends, identify opportunities, and track keyword popularity.

SEO Strategy

SEO Strategy

Gather data on keyword popularity and trends to optimize your content strategy, improving your search engine rankings and driving more organic traffic.

Content Creation

Content Creation

Identify trending topics and popular keywords to create relevant and engaging content that resonates with your target audience.

Competitive Analysis

Competitive Analysis

Monitor search trends related to your competitors and industry to stay ahead of market shifts and capitalize on emerging opportunities.

No Time for API Integration?

Our Google Trends scraper is the perfect solution for you! With just a few clicks, you can easily scrape the data you need and download it in popular formats like CSV, Excel, and JSON.

This scraper is designed for anyone who wants to quickly and easily extract Google Trends data without having to write their own code or work with APIs.

Simple Transparent Pricing

Flexible pricing plans that are ready to scale with your business.

Try Google Trends API for Free for 30 Days!

Experience the incredible accuracy and speed of our service with 1000 free API credits.

Get Free Credits
icon-star2

Startup

$
49
/mo
  • 40,000 Requests
  • 15 Concurrent Requests
  • Real-time Data Collection
  • Zero Ban Guarantee
  • Standard Email Support
Subscribe
icon-trophy

Business

$
99
/mo
  • 200,000 Requests
  • 30 Concurrent Requests
  • Real-time Data Collection
  • Zero Ban Guarantee
  • Priority Email Support
Subscribe
icon-diamond

Enterprise

$
249
/mo
  • 600,000 Requests
  • 50 Concurrent Requests
  • Real-time Data Collection
  • Zero Ban Guarantee
  • Dedicated Support
Subscribe

Frequently Asked Questions

Let us answer the most asked questions about Google Trends API and HasData.

What is Google Trends API?

The Google Trends API is a tool that allows you to automate the extraction of trending search data from Google Trends, such as keyword popularity, regional interest, and related queries.

What data can I extract using the API?

Using the Google Trends API, you can extract data points including search volume trends, related keywords, regional interest, and trending topics over specified time frames.

Can I be banned from Google for using this API?

No, you cannot be banned if you use our service. We act as a proxy between you and Google, and we take responsibility for all web scraping activity. This means that your IP address will never be revealed or at risk of being banned.

Is there a limit on the number of requests I can send?

No, there is no direct limit on the number of requests. You can send as many requests as you want until you reach your plan limit.

Do I need proxies to use this API?

No, unlike popular libraries such as PyTrends, our API does not require you to use proxies. We handle all proxy management, ensuring you get reliable data without the need for additional setup.

In what format do you provide the collected data?

We provide the collected data in JSON format. This allows for easy integration with your existing systems and quick processing of the response data from the API.

Do I need a credit card to start the free trial?

No, it's completely free and requires no credit card if you use the free plan for 1,000 API credits. You can use them for a month. If you need more, you can use any other paid plan.

I need more than 600,000 requests per month!

We have no problem improving your business performance right now! Contact us at [email protected] and we'll create a custom service package according to your requirements.

Can I cancel my plan at any time?

Yes, you can cancel your subscription plan at any time. You can do this in 10 seconds from your dashboard. Once you cancel your subscription, there are no recurring payments.