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.
Production endpoint
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
POST
https://api.sandbase.ai/v1/runModel ID
dataforseo/v3/keywords_data/google_trends/explore/live01
Input Schema
12 parameters · 1 required · 11 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
keywords | array | Required | keywords 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... |
tag | string | Optional | user-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... |
type | string | Optional | google 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_to | string | Optional | ending 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_from | string | Optional | starting 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_types | array | Optional | types 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_range | string | Optional | preset 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_code | integer | Optional | google 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_code | string | Optional | search 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_name | string | Optional | full 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_code | integer | Optional | search 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_name | string | Optional | full 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
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-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"
}'
