Skip to main content
Spot emerging topics, track seasonal demand, and compare keyword momentum across markets. Returns a time series of data points: timestamp, formatted time, value, formatted value. This scraper job is asynchronous. You’ll receive a jobId, and can fetch results via polling or webhook delivery.

Request Cost

Each row of data returned consumes 1 credit from your balance.
Credits are deducted only for successful rows.

Example Request

curl --request POST \
  --url 'https://api.hasdata.com/scrapers/google-trends/jobs' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <your-api-key>' \
  --data '{"keywords":["coffee","green tea"],"location":"US","date":"today 12-m"}'

Job Parameters

keywords
string[]
required
When passing multiple queries you need to use a comma (,) to separate them (e.g. coffee,pizza,green tea). The maximum number of queries per search is 5.
location
string
required
Specifies the location for the search.
date
string
required
Timeframe

Getting Results

Webhooks

Receive real-time updates when your scraper job starts, completes, or collects data.

Results API

Use the Results API to fetch your data using the jobId, with support for polling and pagination.

Stopping a Job

Cancel an active scraper job early if it’s no longer needed or you want to save credits.