Search interest over time

by DataForSEO

dataforseo/keywords_google_trends_explore_live

Compare relative search interest for up to five terms.

Billed per
call
Price
$0.15
Provider
DataForSEO
Timeout
3 min

Overview

Reports how search interest in a set of terms has moved over time, as a relative popularity index rather than absolute counts. Up to five terms can be compared in one call, returning a value at each interval in the chosen range with explicit markers where data is missing, plus averages across the period. A geographic breakdown shows which regions searched most for each term, and related topic and query lists reveal what people search alongside them. The trend can be drawn from web, news, video, image, or shopping search, which gives materially different pictures for the same term.

A time series of relative interest per term, with averages, and any regional, topic, or query blocks requested.

Input

These go in the input object of the run request.

FieldTypeRequiredDescription
keywordsarrayYesThe terms to compare, up to five.
location_namestringNoWhich market to report on; omit for worldwide interest.
typestringNoWhich search property to draw the trend from.
time_rangestringNoA preset window, ignored when explicit dates are given.
date_fromstringNoStart of the range, as `YYYY-MM-DD`.
date_tostringNoEnd of the range, as `YYYY-MM-DD`.
item_typesarrayNoWhich blocks to return: the graph, the map, topics, or queries.

Requests up to 1 MB.

Example

A call that works, with your own key.

curl https://gateway.agentsky.dev/v1/run \
  -H "authorization: Bearer $AGENTSKY_API_KEY" \
  -H "content-type: application/json" \
  -d '{"provider":"dataforseo","endpoint":"keywords_google_trends_explore_live","input":{"keywords":["rugby","cricket"],"location_name":"United States","time_range":"past_12_months","item_types":["google_trends_graph"]}}'

Pricing

$0.15 per call on the default plan. That is the list price; when the provider reports what a call actually cost, you are billed that instead. Every run carries its price in the response.

Questions

Search interest over time — AgentSky