Trends: Explore
The google_trends_explore
source is designed to retrieve Google Trends results.
Due to ongoing issues, the scraped data may not be 100% accurate compared to direct usage on Google Trends via web browsers. Please use it with caution and be aware of potential discrepancies.
Query parameters
Parameter | Description | Default Value |
---|---|---|
source | Data source. More info. |
|
query | UTF-encoded keyword | - |
| The geographical location that the result should be adapted for. With Google Trends: Explore, we accept 2-letter ISO country codes as | - |
| Lets you set the search type (one of the options on Google Trends GUI). Possible values: |
|
| The lower date bracket. Format: | |
| The upper date bracket. Format: | |
| Category ID. Please refer to this file in story for a list of valid values. | |
| Device type and browser. You can find the full list here. |
|
| URL to your callback endpoint. More information here. | - |
- required parameter
NOTE: This service always delivers structured data - so there is no need to utilize the parse
parameter with this source.
Code examples
In this example, we make a request to get trends results for a search term adidas
between the 1st of January, 2021 and the 2nd of February, 2022, and set the category to "Arts & Entertainment" (category id: 3
).
The example above uses the Realtime integration method. If you would like to use some other integration method in your query (e.g. Push-Pull or Proxy Endpoint), refer to the integration methods section.
Output example
Last updated