Google Trends API

Scrape results from the Google Trends Page. Retrieve information about what is trending in Google Search and also, interest over time and regions.

About the API:

 

Google Trends allows you to know what is the most trending topic on Google Search at the moment. Be able to recognize trends not only live but also through time and regions.  

 

What this API receives and what your API provides (input/output)?

Just pass the search term that you want to compare, and extract data to know what is the most popular topic through time and also, by region. 

 

What are the most common uses cases of this API?

Content Inspiration: By studying the related queries and focusing on those that are breakouts, you can be inspired to create new content that speaks to what people are clamoring for at the moment.

Comparing Topics: Being able to compare topics quickly can have many useful applications. When it comes to picking a title for your article, for example, you can see if people are more like to search for, “tips”, “tricks”, or, “hacks” and make your decision based on which term has the highest traffic.

Compelling Visuals: Google Trends isn’t complicated by an abundance of resources. It shows you how well your queries are performing over time or for different reasons, allowing for easy-to-interpret visualizations. These can be very useful for presentations because they’re so easy to read.

  

Are there any limitations to your plans?

Besides the number of API calls per month:

 

API Documentation

Endpoints


Be able to retrieve the interest over time for multiple topics of your choice. 

This endpoint can retrieve information in these timeframes:

The parameter is used to define a date. Available options:

now 1-H - Past hour
now 4-H - Past 4 hours
now 1-d - Past day
now 7-d - Past 7 days
today 1-m - Past 30 days
today 3-m - Past 90 days
today 12-m - Past 12 months
today 5-y - Past 5 years
all - 2004 - present



                                                                            
GET https://zylalabs.com/api/281/google+trends+api/246/get+interest+over+time
                                                                            
                                                                        

Get Interest Over Time - Endpoint Features

Object Description
q [Required] The search query.
date [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
  "search_metadata": {
    "id": "673ddb69c1c8dd3be1853761",
    "status": "Success",
    "json_endpoint": "https://serpapi.com/searches/74d2a9671992550c/673ddb69c1c8dd3be1853761.json",
    "created_at": "2024-11-20 12:51:53 UTC",
    "processed_at": "2024-11-20 12:51:53 UTC",
    "google_trends_url": "https://trends.google.com/trends/api/explore?hl=en&tz=420&req=%7B%22comparisonItem%22%3A%5B%7B%22keyword%22%3A%22NBA%22%2C%22geo%22%3A%22%22%2C%22time%22%3A%22today+3-m%22%7D%5D%2C%22category%22%3A0%2C%22property%22%3A%22%22%2C%22userConfig%22%3A%22%7BuserType%3A+%5C%22USER_TYPE_LEGIT_USER%5C%22%7D%22%7D",
    "raw_html_file": "https://serpapi.com/searches/74d2a9671992550c/673ddb69c1c8dd3be1853761.html",
    "prettify_html_file": "https://serpapi.com/searches/74d2a9671992550c/673ddb69c1c8dd3be1853761.prettify",
    "total_time_taken": 8.08
  },
  "search_parameters": {
    "engine": "google_trends",
    "q": "NBA",
    "hl": "en",
    "date": "today 3-m",
    "tz": "420",
    "data_type": "TIMESERIES"
  },
  "interest_over_time": {
    "timeline_data": [
      {
        "date": "Aug 20, 2024",
        "timestamp": "1724112000",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Aug 21, 2024",
        "timestamp": "1724198400",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Aug 22, 2024",
        "timestamp": "1724284800",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Aug 23, 2024",
        "timestamp": "1724371200",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Aug 24, 2024",
        "timestamp": "1724457600",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Aug 25, 2024",
        "timestamp": "1724544000",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Aug 26, 2024",
        "timestamp": "1724630400",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Aug 27, 2024",
        "timestamp": "1724716800",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Aug 28, 2024",
        "timestamp": "1724803200",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Aug 29, 2024",
        "timestamp": "1724889600",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Aug 30, 2024",
        "timestamp": "1724976000",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Aug 31, 2024",
        "timestamp": "1725062400",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Sep 1, 2024",
        "timestamp": "1725148800",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 2, 2024",
        "timestamp": "1725235200",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Sep 3, 2024",
        "timestamp": "1725321600",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 4, 2024",
        "timestamp": "1725408000",
        "values": [
          {
            "query": "NBA",
            "value": "12",
            "extracted_value": 12
          }
        ]
      },
      {
        "date": "Sep 5, 2024",
        "timestamp": "1725494400",
        "values": [
          {
            "query": "NBA",
            "value": "12",
            "extracted_value": 12
          }
        ]
      },
      {
        "date": "Sep 6, 2024",
        "timestamp": "1725580800",
        "values": [
          {
            "query": "NBA",
            "value": "12",
            "extracted_value": 12
          }
        ]
      },
      {
        "date": "Sep 7, 2024",
        "timestamp": "1725667200",
        "values": [
          {
            "query": "NBA",
            "value": "12",
            "extracted_value": 12
          }
        ]
      },
      {
        "date": "Sep 8, 2024",
        "timestamp": "1725753600",
        "values": [
          {
            "query": "NBA",
            "value": "12",
            "extracted_value": 12
          }
        ]
      },
      {
        "date": "Sep 9, 2024",
        "timestamp": "1725840000",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 10, 2024",
        "timestamp": "1725926400",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 11, 2024",
        "timestamp": "1726012800",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 12, 2024",
        "timestamp": "1726099200",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 13, 2024",
        "timestamp": "1726185600",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 14, 2024",
        "timestamp": "1726272000",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 15, 2024",
        "timestamp": "1726358400",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 16, 2024",
        "timestamp": "1726444800",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Sep 17, 2024",
        "timestamp": "1726531200",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Sep 18, 2024",
        "timestamp": "1726617600",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Sep 19, 2024",
        "timestamp": "1726704000",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Sep 20, 2024",
        "timestamp": "1726790400",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 21, 2024",
        "timestamp": "1726876800",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Sep 22, 2024",
        "timestamp": "1726963200",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 23, 2024",
        "timestamp": "1727049600",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Sep 24, 2024",
        "timestamp": "1727136000",
        "values": [
          {
            "query": "NBA",
            "value": "9",
            "extracted_value": 9
          }
        ]
      },
      {
        "date": "Sep 25, 2024",
        "timestamp": "1727222400",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 26, 2024",
        "timestamp": "1727308800",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 27, 2024",
        "timestamp": "1727395200",
        "values": [
          {
            "query": "NBA",
            "value": "10",
            "extracted_value": 10
          }
        ]
      },
      {
        "date": "Sep 28, 2024",
        "timestamp": "1727481600",
        "values": [
          {
      ...
                                                                                                                                                                                                                    
                                                                                                    

Get Interest Over Time - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/281/google+trends+api/246/get+interest+over+time?q=NBA&date=today 3-m' --header 'Authorization: Bearer YOUR_API_KEY' 


    

Get the regions that are most interested in the search term of your choice. 

 

 



                                                                            
GET https://zylalabs.com/api/281/google+trends+api/247/get+interest+by+region
                                                                            
                                                                        

Get Interest By Region - Endpoint Features

Object Description
q [Required] The search term of your choice.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
  "search_metadata": {
    "id": "669fbe9a7690dc62b6015441",
    "status": "Success",
    "json_endpoint": "https://serpapi.com/searches/525387bc50ac4233/669fbe9a7690dc62b6015441.json",
    "created_at": "2024-07-23 14:30:50 UTC",
    "processed_at": "2024-07-23 14:30:50 UTC",
    "google_trends_url": "https://trends.google.com/trends/api/explore?tz=420&req=%7B%22comparisonItem%22%3A%5B%7B%22keyword%22%3A%22us+open%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%2C%22userConfig%22%3A%22%7BuserType%3A+%5C%22USER_TYPE_LEGIT_USER%5C%22%7D%22%7D",
    "raw_html_file": "https://serpapi.com/searches/525387bc50ac4233/669fbe9a7690dc62b6015441.html",
    "prettify_html_file": "https://serpapi.com/searches/525387bc50ac4233/669fbe9a7690dc62b6015441.prettify",
    "total_time_taken": 5.68
  },
  "search_parameters": {
    "engine": "google_trends",
    "q": "us open",
    "date": "today 12-m",
    "tz": "420",
    "data_type": "GEO_MAP_0"
  },
  "interest_by_region": [
    {
      "geo": "CA",
      "location": "Canada",
      "max_value_index": 0,
      "value": "100",
      "extracted_value": 100
    },
    {
      "geo": "IE",
      "location": "Ireland",
      "max_value_index": 0,
      "value": "94",
      "extracted_value": 94
    },
    {
      "geo": "US",
      "location": "United States",
      "max_value_index": 0,
      "value": "91",
      "extracted_value": 91
    },
    {
      "geo": "RS",
      "location": "Serbia",
      "max_value_index": 0,
      "value": "89",
      "extracted_value": 89
    },
    {
      "geo": "AT",
      "location": "Austria",
      "max_value_index": 0,
      "value": "89",
      "extracted_value": 89
    },
    {
      "geo": "IT",
      "location": "Italy",
      "max_value_index": 0,
      "value": "86",
      "extracted_value": 86
    },
    {
      "geo": "AU",
      "location": "Australia",
      "max_value_index": 0,
      "value": "84",
      "extracted_value": 84
    },
    {
      "geo": "CL",
      "location": "Chile",
      "max_value_index": 0,
      "value": "82",
      "extracted_value": 82
    },
    {
      "geo": "NZ",
      "location": "New Zealand",
      "max_value_index": 0,
      "value": "77",
      "extracted_value": 77
    },
    {
      "geo": "TN",
      "location": "Tunisia",
      "max_value_index": 0,
      "value": "76",
      "extracted_value": 76
    },
    {
      "geo": "CH",
      "location": "Switzerland",
      "max_value_index": 0,
      "value": "70",
      "extracted_value": 70
    },
    {
      "geo": "AR",
      "location": "Argentina",
      "max_value_index": 0,
      "value": "68",
      "extracted_value": 68
    },
    {
      "geo": "ES",
      "location": "Spain",
      "max_value_index": 0,
      "value": "60",
      "extracted_value": 60
    },
    {
      "geo": "PY",
      "location": "Paraguay",
      "max_value_index": 0,
      "value": "58",
      "extracted_value": 58
    },
    {
      "geo": "ZA",
      "location": "South Africa",
      "max_value_index": 0,
      "value": "54",
      "extracted_value": 54
    },
    {
      "geo": "GB",
      "location": "United Kingdom",
      "max_value_index": 0,
      "value": "53",
      "extracted_value": 53
    },
    {
      "geo": "SG",
      "location": "Singapore",
      "max_value_index": 0,
      "value": "49",
      "extracted_value": 49
    },
    {
      "geo": "UY",
      "location": "Uruguay",
      "max_value_index": 0,
      "value": "45",
      "extracted_value": 45
    },
    {
      "geo": "RO",
      "location": "Romania",
      "max_value_index": 0,
      "value": "45",
      "extracted_value": 45
    },
    {
      "geo": "FR",
      "location": "France",
      "max_value_index": 0,
      "value": "41",
      "extracted_value": 41
    },
    {
      "geo": "SE",
      "location": "Sweden",
      "max_value_index": 0,
      "value": "40",
      "extracted_value": 40
    },
    {
      "geo": "DE",
      "location": "Germany",
      "max_value_index": 0,
      "value": "39",
      "extracted_value": 39
    },
    {
      "geo": "HR",
      "location": "Croatia",
      "max_value_index": 0,
      "value": "37",
      "extracted_value": 37
    },
    {
      "geo": "EC",
      "location": "Ecuador",
      "max_value_index": 0,
      "value": "35",
      "extracted_value": 35
    },
    {
      "geo": "BE",
      "location": "Belgium",
      "max_value_index": 0,
      "value": "34",
      "extracted_value": 34
    },
    {
      "geo": "CR",
      "location": "Costa Rica",
      "max_value_index": 0,
      "value": "34",
      "extracted_value": 34
    },
    {
      "geo": "DK",
      "location": "Denmark",
      "max_value_index": 0,
      "value": "34",
      "extracted_value": 34
    },
    {
      "geo": "CO",
      "location": "Colombia",
      "max_value_index": 0,
      "value": "33",
      "extracted_value": 33
    },
    {
      "geo": "PE",
      "location": "Peru",
      "max_value_index": 0,
      "value": "32",
      "extracted_value": 32
    },
    {
      "geo": "BR",
      "location": "Brazil",
      "max_value_index": 0,
      "value": "30",
      "extracted_value": 30
    },
    {
      "geo": "VE",
      "location": "Venezuela",
      "max_value_index": 0,
      "value": "29",
      "extracted_value": 29
    },
    {
      "geo": "PL",
      "location": "Poland",
      "max_value_index": 0,
      "value": "29",
      "extracted_value": 29
    },
    {
      "geo": "PT",
      "location": "Portugal",
      "max_value_index": 0,
      "value": "28",
      "extracted_value": 28
    },
    {
      "geo": "HK",
      "location": "Hong Kong",
      "max_value_index": 0,
      "value": "28",
      "extracted_value": 28
    },
    {
      "geo": "AE",
      "location": "United Arab Emirates",
      "max_value_index": 0,
      "value": "27",
      "extracted_value": 27
    },
    {
      "geo": "MX",
      "location": "Mexico",
      "max_value_index": 0,
      "value": "26",
      "extracted_value": 26
    },
    {
      "geo": "MY",
      "location": "Malaysia",
      "max_value_index": 0,
      "value": "24",
      "extracted_value": 24
    },
    {
      "geo": "GR",
      "location": "Greece",
      "max_value_index": 0,
      "value": "22",
      "extracted_value": 22
    },
    {
      "geo": "IL",
      "location": "Israel",
      "max_value_index": 0,
      "value": "21",
      "extracted_value": 21
    },
    {
      "geo": "NL",
      "location": "Netherlands",
      "max_value_index": 0,
      "value": "21",
      "extracted_value": 21
    },
    {
      "geo": "BG",
      "location": "Bulgaria",
      "max_value_index": 0,
      "value": "20",
      "extracted_value": 20
    },
    {
      "geo": "PK",
      "location": "Pakistan",
      "max_value_index": 0,
      "value": "19",
      "extracted_value": 19
    },
    {
      "geo": "IN",
      "location": "India",
      "max_value_index": 0,
      "value": "19",
      "extracted_value": 19
    },
    {
      "geo": "CZ",
      "location": "Czechia",
      "max_value_index": 0,
      "value": "18",
      "extracted_value": 18
    },
    {
      "geo": "NG",
      "location": "Nigeria",
      "max_value_index": 0,
      "value": "18",
      "extracted_value": 18
    },
    {
      "geo": "PH",
      "location": "Philippines",
      "max_value_index": 0,
      "value": "18",
      "extracted_value": 18
    },
    {
      "geo": "NO",
      "location": "Norway",
      "max_value_index": 0,
      "value": "17",
      "extracted_value": 17
    },
    {
      "geo": "MA",
      "location": "Morocco",
      "max_value_index": 0,
      "value": "16",
      "extracted_value": 16
    },
    {
      "geo": "HU",
      "location": "Hungary",
      "max_value_index": 0,
      "value": "13",
      "extracted_value": 13
    },
    {
      "geo": "BD",
      "location": "Bangladesh",
      "max_value_index": 0,
      "value": "9",
      "extracted_value": 9
    },
    {
      "geo": "TW",
      "location": "Taiwan",
      "max_value_index": 0,
      "value": "8",
      "extracted_value": 8
    },
    {
      "geo": "KR",
      "location": "South Korea",
      "max_value_index": 0,
      "value": "8",
      "extracted_value": 8
    },
    {
      "geo": "EG",
      "location": "Egypt",
      "max_value_index": 0,
      "value": "7",
      "extracted_value": 7
    },
    {
      "geo": "VN",
      "location": "Vietnam",
      "max_value_index": 0,
      "value": "7",
      "extracted_value": 7
    },
    {
      "geo": "TH",
      "location": "Thailand",
      "max_value_index": 0,
      "value": "6",
      "extracted_value": 6
    },
    {
      "geo": "ID",
      "location": "Indonesia",
      "max_value_index": 0,
      "value": "5",
      "extracted_value": 5
    },
    {
      "geo": "RU",
      "location": "Russia",
      "max_value_index": 0,
      "value": "5",
      "extracted_value": 5
    },
    {
      "geo": "TR",
      "location": "TΓΌrkiye",
      "max_value_index": 0,
      "value": "3",
      "extracted_value": 3
    },
    {
      "geo": "JP",
      "location": "Japan",
      "max_value_index": 0,
      "value": "1",
      "extracted_value": 1
    }
  ]
}
                                                                                                                                                                                                                    
                                                                                                    

Get Interest By Region - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/281/google+trends+api/247/get+interest+by+region?q=us open' --header 'Authorization: Bearer YOUR_API_KEY' 


    

With the chance to query various search terms (max 5) at once, you will be receiving a breakdown by region and the trend of every search term. 



                                                                            
GET https://zylalabs.com/api/281/google+trends+api/248/get+trends+compared+breakdown+by+region
                                                                            
                                                                        

Get Trends Compared Breakdown By Region - Endpoint Features

Object Description
q [Required] The search terms that you want to query. Max 5.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {
  "search_metadata": {
    "id": "664faae11e803fb8fcfbf13c",
    "status": "Success",
    "json_endpoint": "https://serpapi.com/searches/9d4201788253317d/664faae11e803fb8fcfbf13c.json",
    "created_at": "2024-05-23 20:45:21 UTC",
    "processed_at": "2024-05-23 20:45:21 UTC",
    "google_trends_url": "https://trends.google.com/trends/api/explore?tz=420&req=%7B%22comparisonItem%22%3A%5B%7B%22keyword%22%3A%22nba%22%2C%22geo%22%3A%22%22%2C%22time%22%3A%22today+12-m%22%7D%2C%7B%22keyword%22%3A%22hamilton%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%2C%22userConfig%22%3A%22%7BuserType%3A+%5C%22USER_TYPE_LEGIT_USER%5C%22%7D%22%7D",
    "raw_html_file": "https://serpapi.com/searches/9d4201788253317d/664faae11e803fb8fcfbf13c.html",
    "prettify_html_file": "https://serpapi.com/searches/9d4201788253317d/664faae11e803fb8fcfbf13c.prettify",
    "total_time_taken": 11.9
  },
  "search_parameters": {
    "engine": "google_trends",
    "q": "nba, hamilton",
    "date": "today 12-m",
    "tz": "420",
    "data_type": "GEO_MAP"
  },
  "compared_breakdown_by_region": [
    {
      "geo": "PH",
      "location": "Philippines",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "99%",
          "extracted_value": 99
        },
        {
          "query": "hamilton",
          "value": "1%",
          "extracted_value": 1
        }
      ]
    },
    {
      "geo": "DO",
      "location": "Dominican Republic",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "100%",
          "extracted_value": 100
        },
        {
          "query": "hamilton",
          "value": "<1%",
          "extracted_value": 0
        }
      ]
    },
    {
      "geo": "VE",
      "location": "Venezuela",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "99%",
          "extracted_value": 99
        },
        {
          "query": "hamilton",
          "value": "1%",
          "extracted_value": 1
        }
      ]
    },
    {
      "geo": "PR",
      "location": "Puerto Rico",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "97%",
          "extracted_value": 97
        },
        {
          "query": "hamilton",
          "value": "3%",
          "extracted_value": 3
        }
      ]
    },
    {
      "geo": "MN",
      "location": "Mongolia",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "100%",
          "extracted_value": 100
        },
        {
          "query": "hamilton",
          "value": "<1%",
          "extracted_value": 0
        }
      ]
    },
    {
      "geo": "TW",
      "location": "Taiwan",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "100%",
          "extracted_value": 100
        },
        {
          "query": "hamilton",
          "value": "<1%",
          "extracted_value": 0
        }
      ]
    },
    {
      "geo": "CU",
      "location": "Cuba",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "96%",
          "extracted_value": 96
        },
        {
          "query": "hamilton",
          "value": "4%",
          "extracted_value": 4
        }
      ]
    },
    {
      "geo": "US",
      "location": "United States",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "87%",
          "extracted_value": 87
        },
        {
          "query": "hamilton",
          "value": "13%",
          "extracted_value": 13
        }
      ]
    },
    {
      "geo": "HK",
      "location": "Hong Kong",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "98%",
          "extracted_value": 98
        },
        {
          "query": "hamilton",
          "value": "2%",
          "extracted_value": 2
        }
      ]
    },
    {
      "geo": "CA",
      "location": "Canada",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "57%",
          "extracted_value": 57
        },
        {
          "query": "hamilton",
          "value": "43%",
          "extracted_value": 43
        }
      ]
    },
    {
      "geo": "AU",
      "location": "Australia",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "81%",
          "extracted_value": 81
        },
        {
          "query": "hamilton",
          "value": "19%",
          "extracted_value": 19
        }
      ]
    },
    {
      "geo": "NZ",
      "location": "New Zealand",
      "max_value_index": 1,
      "values": [
        {
          "query": "nba",
          "value": "28%",
          "extracted_value": 28
        },
        {
          "query": "hamilton",
          "value": "72%",
          "extracted_value": 72
        }
      ]
    },
    {
      "geo": "PA",
      "location": "Panama",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "94%",
          "extracted_value": 94
        },
        {
          "query": "hamilton",
          "value": "6%",
          "extracted_value": 6
        }
      ]
    },
    {
      "geo": "SI",
      "location": "Slovenia",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "97%",
          "extracted_value": 97
        },
        {
          "query": "hamilton",
          "value": "3%",
          "extracted_value": 3
        }
      ]
    },
    {
      "geo": "SG",
      "location": "Singapore",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "86%",
          "extracted_value": 86
        },
        {
          "query": "hamilton",
          "value": "14%",
          "extracted_value": 14
        }
      ]
    },
    {
      "geo": "RS",
      "location": "Serbia",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "97%",
          "extracted_value": 97
        },
        {
          "query": "hamilton",
          "value": "3%",
          "extracted_value": 3
        }
      ]
    },
    {
      "geo": "CR",
      "location": "Costa Rica",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "89%",
          "extracted_value": 89
        },
        {
          "query": "hamilton",
          "value": "11%",
          "extracted_value": 11
        }
      ]
    },
    {
      "geo": "BR",
      "location": "Brazil",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "93%",
          "extracted_value": 93
        },
        {
          "query": "hamilton",
          "value": "7%",
          "extracted_value": 7
        }
      ]
    },
    {
      "geo": "CL",
      "location": "Chile",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "91%",
          "extracted_value": 91
        },
        {
          "query": "hamilton",
          "value": "9%",
          "extracted_value": 9
        }
      ]
    },
    {
      "geo": "ES",
      "location": "Spain",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "89%",
          "extracted_value": 89
        },
        {
          "query": "hamilton",
          "value": "11%",
          "extracted_value": 11
        }
      ]
    },
    {
      "geo": "GR",
      "location": "Greece",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "91%",
          "extracted_value": 91
        },
        {
          "query": "hamilton",
          "value": "9%",
          "extracted_value": 9
        }
      ]
    },
    {
      "geo": "IL",
      "location": "Israel",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "95%",
          "extracted_value": 95
        },
        {
          "query": "hamilton",
          "value": "5%",
          "extracted_value": 5
        }
      ]
    },
    {
      "geo": "HR",
      "location": "Croatia",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "92%",
          "extracted_value": 92
        },
        {
          "query": "hamilton",
          "value": "8%",
          "extracted_value": 8
        }
      ]
    },
    {
      "geo": "MY",
      "location": "Malaysia",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "92%",
          "extracted_value": 92
        },
        {
          "query": "hamilton",
          "value": "8%",
          "extracted_value": 8
        }
      ]
    },
    {
      "geo": "MX",
      "location": "Mexico",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "87%",
          "extracted_value": 87
        },
        {
          "query": "hamilton",
          "value": "13%",
          "extracted_value": 13
        }
      ]
    },
    {
      "geo": "AE",
      "location": "United Arab Emirates",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "87%",
          "extracted_value": 87
        },
        {
          "query": "hamilton",
          "value": "13%",
          "extracted_value": 13
        }
      ]
    },
    {
      "geo": "EC",
      "location": "Ecuador",
      "max_value_index": 0,
      "values": [
        {
          "query": "nba",
          "value": "91%",
          "extracted_value": 91
        },
        {
          "query": "hamilton",
          "value": "9%",
          "extracted_v...
                                                                                                                                                                                                                    
                                                                                                    

Get Trends Compared Breakdown By Region - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/281/google+trends+api/248/get+trends+compared+breakdown+by+region?q=NBA, Wimbledon, Hamilton' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Google Trends API REST API, simply include your bearer token in the Authorization header.
Headers
Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

πŸš€ Enterprise

Starts at
$ 10,000/Year


  • Custom Volume
  • Specialized Customer Support
  • Real-Time API Monitoring

Customer favorite features

  • βœ”οΈŽ Only Pay for Successful Requests
  • βœ”οΈŽ Free 7-Day Trial
  • βœ”οΈŽ Multi-Language Support
  • βœ”οΈŽ One API Key, All APIs.
  • βœ”οΈŽ Intuitive Dashboard
  • βœ”οΈŽ Comprehensive Error Handling
  • βœ”οΈŽ Developer-Friendly Docs
  • βœ”οΈŽ Postman Integration
  • βœ”οΈŽ Secure HTTPS Connections
  • βœ”οΈŽ Reliable Uptime

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.

The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.

Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]

Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.

API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.

To check how many API calls you have left for the current month, refer to the β€˜X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

To see the maximum number of API requests your plan allows, check the β€˜X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1000 requests per month, this header will display 1000.

The β€˜X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.

Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.

You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

To let you experience our APIs without any commitment, we offer a 7-day free trial that allows you to make API calls at no cost during this period. Please note that you can only use this trial once, so make sure to use it with the API that interests you the most. Most of our APIs provide a free trial, but some may not support it.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.

When you subscribe to an API trial, you can make only 25% of the calls allowed by that plan. For example, if the API plan offers 1000 calls, you can make only 250 during the trial. To access the full number of calls offered by the plan, you will need to subscribe to the full plan.

 Service Level
100%
 Response Time
3,752ms

Category:


Related APIs