Core APIs
...
Google
Core Requests

Trends

5min

Google Trends Results

DESKTOP TABLET MOBILE

SerpWow parses Google Trends results into the trends_interest_over_time and trends_interest_by_subregion properties in the JSON output when the search_type=trends and data_type=INTEREST_OVER_TIME / data_type=INTEREST_BY_SUBREGION search parameters are set.

Google Trends Result
Google Trends Result


Below is an example of how the Google Interest over time trends results are represented in the SerpWow result JSON:

JSON



SerpWow returns the following properties for search_type=trends and data_type=INTEREST_OVER_TIMErequests:

Property

Type

Description

trends_interest_over_time

object

  • 

    Document image
    



  • data
  • array
  • Data Array An array of objects for each date-point in the selected date range, at the selected date granularity, showing the interest values for each keyword specified in the q parameter. Each object in the array has the following properties:
    • 
      1. date_utc
      2. string
      3. The parsed date, in ISO 8601 format, of the start date of the time period to which data relates to.
    • 
      1. date_formatted
      2. string
      3. The visual date displayed shown to the user on the Google Trends site.
    • 
      1. values
      2. array
      3. An array of objects, one for each of the keywords entered in the q request parameter. The objects in the values array contain the following properties: keyword , has_value , value and value_formatted .


Below is an example of how the Google Interest by Subregion Trends results are represented in the SerpWow result JSON:

JSON



SerpWow returns the following properties for search_type=trends and data_type=INTEREST_BY_SUBREGION requests:

Property

Type

Description

trends_interest_by_subregion

array

An array containing interest values for each of the keywords specified in the q request parameter. The resolution of the data shown in the trends_interest_by_subregion array is determined by the value of the trends_resolution request parameter (which can be set to country , city , dma or region ). Each object in the array contains the following properties.

  • 

    Document image
    



  • name
  • string
  • Contains the name of the subregion.



  • values
  • array
  • An array of values detailing the numeric interest in the given subregion. Each object in the array contains value , value_formatted (a text-formatted version of the value property), keyword and has_value properties.



  • geo
  • string
  • Applies when trends_resolution=country and contains the trends_geo value of the country. Can be used in the trends_geo request parameter.


Next Steps      Google Trends Parameters

Updated 09 Oct 2024
Did this page help you?