HasData icon

HasData

Scrape data from various websites

Google Trend → Get Google Trends Data

AI-generated

Summary

Fetch Google Trends data for a query.

Inputs

  • q — Search term for which to retrieve trends data.
  • additionalFields — Optional fields to include in the request.
  • dataType — Type of search to perform (e.g., timeseries, geoMap).
  • date — Date range for the search.
  • tz — Time zone offset in minutes for the request.
  • cat — Category filter for the search.
  • gprop — Google property to sort results by.
  • region — Region filter for interest by region data.

Output shape

A list of trend records representing search interest.

The response may include pagination and optional fields depending on the selected dataType.

Examples

Example 1: Basic trend lookup

q=AI, dataType=timeseries, date=now 7-d

Example 2: Regional interest

q=AI, region=city, dataType=geoMap

Example 3: Extended timeframe

q=machine learning, date=now 5-y, tz=480

Links

Discussion