API reference · DataForSEO

dataforseo/v3/dataforseo_labs/google/historical_search_volume/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/dataforseo_labs/google/historical_search_volume/live
01

Input Schema

8 parameters · 1 required · 7 optional

ParameterTypeRequiredDescription
keywordsarrayRequiredkeywords required field The maximum number of keywords you can specify: 700 The maximum number of characters for each keyword: 80 The maximum number of words for each keyword phrase: 10 the specified ...
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...
language_codestringOptionallanguage code required field if you don't specify language_name Note: it is required to specify either language_name or language_code you can receive the list of available locations with their languag...
language_namestringOptionalfull name of the language required field if you don't specify language_code Note: it is required to specify either language_name or language_code you can receive the list of available locations with t...
location_codeintegerOptionallocation code required field if you don't specify location_name Note: it is required to specify either location_name or location_code you can receive the list of available locations with their locatio...
location_namestringOptionalfull name of the location required field if you don't specify location_code Note: it is required to specify either location_name or location_code you can receive the list of available locations with t...
include_serp_infobooleanOptionalinclude data from SERP for each keyword optional field if set to true, we will return a serp_info array containing SERP data (number of search results, relevant URL, and SERP features) for every keywo...
include_clickstream_databooleanOptionalinclude or exclude data from clickstream-based metrics in the result optional field if the parameter is set to true, you will receive clickstream_keyword_info, keyword_info_normalized_with_clickstream...
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/dataforseo_labs/google/historical_search_volume/live",
  "prompt": "a beautiful sunset over mountains"
}'