API reference · DataForSEO

dataforseo/v3/keywords_data/google_trends/explore/live

Integrate this model through SandBase's unified API, with production-ready schemas and examples.

APISynchronousOpen model
Production endpoint

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

POSThttps://api.sandbase.ai/v1/run
Model IDdataforseo/v3/keywords_data/google_trends/explore/live
01

Input Schema

12 parameters · 1 required · 11 optional

ParameterTypeRequiredDescription
keywordsarrayRequiredkeywords required field the maximum number of keywords you can specify: 5 the maximum number of characters you can specify in a keyword: 100 the minimum number of characters must be greater than 1 com...
tagstringOptionaluser-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data ob...
typestringOptionalgoogle trends type optional field if you don't specify this field, the web type will be used by default possible values: web, news, youtube, images, froogle
date_tostringOptionalending date of the time range optional field if you don't specify this field, the today's date will be used by default date format: "yyyy-mm-dd" example: "2019-01-15"
date_fromstringOptionalstarting date of the time range optional field if you don't specify this field, the current day and month of the preceding year will be used by default minimal value for the web type: 2004-01-01 minim...
item_typesarrayOptionaltypes of items returned optional field to speed up the execution of the request, specify one item at a time; possible values: "google_trends_graph", "google_trends_map", "google_trends_topics_list","g...
time_rangestringOptionalpreset time ranges optional field if you specify date_from or date_to parameters, this field will be ignored when setting a task possible values for all type parameters: past_hour, past_4_hours, past_...
category_codeintegerOptionalgoogle trends search category optional field if you don't specify this field, the 0 value will be applied by default and the search will be carried out across all available categories you can receive ...
language_codestringOptionalsearch engine language code optional field default value: en if you use this field, you don't need to specify language_name you can receive the list of available languages of the search engine with th...
language_namestringOptionalfull name of search engine language optional field default value: English if you use this field, you don't need to specify language_code you can receive the list of available languages of the search e...
location_codeintegerOptionalsearch engine location code optional field if you don't use this field, you will recieve global results if you use this field, you don't need to specify location_name you can use this field as an arra...
location_namestringOptionalfull name of search engine location optional field if you don't use this field, you will recieve global results if you use this field, you don't need to specify location_code you can use this field as...
02

Output Schema

FieldTypeDescription
idstringUnique identifier for the generation task
statusstringTask status: pending, running, completed, failed, timeout
modelstringModel used for the generation
outputsarrayArray of output items
outputs[].urlstringURL of the generated artifact
outputs[].content_typestringMIME type (e.g. image/png, video/mp4)
errorobject | nullError details if failed, null on success
error.typestringMachine-readable error type code
error.messagestringHuman-readable error description
03

Code Examples

Ready-to-run snippets

curl -X POST https://api.sandbase.ai/v1/run \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "model": "dataforseo/v3/keywords_data/google_trends/explore/live",
  "prompt": "a beautiful sunset over mountains"
}'