DataForSEO — Ai Optimization / Ai Keyword Data / Keywords Search Volume / Live
Retrieve ai Optimization Ai Keyword Data Keywords Search Volume Live with the DataForSEO API. The sample response includes keywords. Use it to prioritize keywords for content research. Use the results to organize a research workflow and cross-check the relevant source records.
- Selected price
- $0.01 base + $0.0001 / result Published pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
DataForSEO — Ai Optimization / Ai Keyword Data / Keywords Search Volume / Live
Prepare your request, then continue with your agent.
Pricing
$0.01 base + $0.0001 / result
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
costintegerstatus_codeintegerstatus_messagestringtasksobject[]costintegerdataobjectapistringfunctionstringkeywordsstring[]language_namestringlocation_codeinteger
idstringpathstring[]resultobject[]itemsobject[]ai_monthly_searchesobject[]ai_search_volumeintegermonthintegeryearinteger
ai_search_volumeintegerkeywordstring
items_countintegerlanguage_codestringlocation_codeinteger
result_countintegerstatus_codeintegerstatus_messagestringtimestring
tasks_countintegertasks_errorintegertimestringversionstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
cost?: number;
status_code?: number;
status_message?: string;
tasks?: Array<{
cost?: number;
data?: {
api?: string;
function?: string;
keywords?: Array<string>;
language_name?: string;
location_code?: number;
};
id?: string;
path?: Array<string>;
result?: Array<{
items?: Array<{
ai_monthly_searches?: Array<{
ai_search_volume?: number;
month?: number;
year?: number;
}>;
ai_search_volume?: number;
keyword?: string;
}>;
items_count?: number;
language_code?: string;
location_code?: number;
}>;
result_count?: number;
status_code?: number;
status_message?: string;
time?: string;
}>;
tasks_count?: number;
tasks_error?: number;
time?: string;
version?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DataForSEOCurrent DataForSEO — Ai Optimization / Ai Keyword Data / Keywords Search Volume / Live · POST · View API reference | $0.01 base + $0.0001 / result | — | —successP50— |
- Pricing
- $0.01 base + $0.0001 / result
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/ai_optimization/ai_keyword_data/keywords_search_volume/live- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/ai_optimization/ai_keyword_data/keywords_search_volume/live' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"keywords": [
"iphone",
"seo"
],
"language_name": "English",
"location_code": 2840
}
]'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
body | JSON request bodybody | array | Yes | This endpoint provides search volume data for your target keywords, reflecting their estimated usage in AI tools. minItems: 1 · maxItems: 1 Nested fields and variants
Nested fields and variants
|
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Configured HTTP 200; actual status is unverified. Example from the provider's documentation. Field values in your results will differ.
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "ai_optimization",
"function": "keywords_search_volume",
"keywords": [
"iphone",
"seo"
],
"language_name": "English",
"location_code": 2840
},
"id": "07091646-1535-0619-0000-34aa8225bd23",
"path": [
"v3",
"ai_optimization",
"ai_keyword_data",
"keywords_search_volume",
"live"
],
"result": [
{
"items": [
{
"ai_monthly_searches": [
{
"ai_search_volume": 407838,
"month": 5,
"year": 2025
},
{
"ai_search_volume": 413611,
"month": 4,
"year": 2025
},
{
"ai_search_volume": 641232,
"month": 3,
"year": 2025
},
{
"ai_search_volume": 634043,
"month": 2,
"year": 2025
},
{
"ai_search_volume": 650448,
"month": 1,
"year": 2025
},
{
"ai_search_volume": 420931,
"month": 12,
"year": 2024
},
{
"ai_search_volume": 466601,
"month": 11,
"year": 2024
},
{
"ai_search_volume": 460579,
"month": 10,
"year": 2024
},
{
"ai_search_volume": 439763,
"month": 9,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 8,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 7,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 6,
"year": 2024
}
],
"ai_search_volume": 407838,
"keyword": "iphone"
},
{
"ai_monthly_searches": [
{
"ai_search_volume": 13881,
"month": 5,
"year": 2025
},
{
"ai_search_volume": 13560,
"month": 4,
"year": 2025
},
{
"ai_search_volume": 14628,
"month": 3,
"year": 2025
},
{
"ai_search_volume": 13789,
"month": 2,
"year": 2025
},
{
"ai_search_volume": 14339,
"month": 1,
"year": 2025
},
{
"ai_search_volume": 13520,
"month": 12,
"year": 2024
},
{
"ai_search_volume": 14802,
"month": 11,
"year": 2024
},
{
"ai_search_volume": 14640,
"month": 10,
"year": 2024
},
{
"ai_search_volume": 13564,
"month": 9,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 8,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 7,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 6,
"year": 2024
}
],
"ai_search_volume": 13881,
"keyword": "seo"
}
],
"items_count": 2,
"language_code": "en",
"location_code": 2840
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.2683 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.3281 sec.",
"version": "0.1.20250526"
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.010000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| 任务错误数必须为零 | $0.000000 / billing unit | Response · /tasks_error · Numeric value | Always | 0 billing unit · Decimal places: 0 |
| 本次返回结果 | $0.000100 / result | Response · /tasks/0/result/0/items_count · Numeric value | Always | 1000 result · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.110000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# DataForSEO — Ai Optimization / Ai Keyword Data / Keywords Search Volume / Live
Retrieve ai Optimization Ai Keyword Data Keywords Search Volume Live with the DataForSEO API. The sample response includes keywords. Use it to prioritize keywords for content research. Use the results to organize a research workflow and cross-check the relevant source records.
## Available implementations
DataForSEO · DataForSEO — Ai Optimization / Ai Keyword Data / Keywords Search Volume / Live: https://openany.si/markets/apis/capabilities/dataforseo-ai-optimization-ai-keyword-data-keywords-search-volume-live?offering=d2045fcf-f6ba-4c2a-a409-1c20c11880a0 · $0.01 base + $0.0001 / result
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/dataforseo-ai-optimization-ai-keyword-data-keywords-search-volume-live
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/ai_optimization/ai_keyword_data/keywords_search_volume/live
Price: $0.01 base + $0.0001 / result
Provider: DataForSEO
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/ai_optimization/ai_keyword_data/keywords_search_volume/live' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"keywords": [
"iphone",
"seo"
],
"language_name": "English",
"location_code": 2840
}
]'
```
## API contract
```json
{
"resource_type": "api",
"name": "DataForSEO — Ai Optimization / Ai Keyword Data / Keywords Search Volume / Live",
"endpoint": "https://api.openany.si/v1/agent-apis/dataforseo/v3/ai_optimization/ai_keyword_data/keywords_search_volume/live",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": " This endpoint provides search volume data for your target keywords, reflecting their estimated usage in AI tools.",
"json_schema": {
"example": [
{
"keywords": [
"iphone",
"seo"
],
"language_name": "English",
"location_code": 2840
}
],
"items": {
"example": [
{
"keywords": [
"iphone",
"seo"
],
"language_name": "English",
"location_code": 2840
}
],
"nullable": true,
"properties": {
"keywords": {
"description": "keywords required field UTF-8 encoding The maximum number of keywords you can specify: 1000; The maximum number of characters in a single keyword: 250; The keywords will be converted to lowercase format; learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article",
"items": {
"type": "string"
},
"maxItems": 1000,
"type": "array",
"x-required-status": "required"
},
"language_code": {
"description": "language code required field if you don't specify language_name if you use this field, you don't need to specify language_name you can receive the list of available languages with their language_code by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/ai_keyword_data/locations_and_languages example: en",
"type": "string",
"x-required-status": "conditional"
},
"language_name": {
"description": "full name of the language required field if you don't specify language_code if you use this field, you don't need to specify language_code you can receive the list of available languages with their language_name by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/ai_keyword_data/locations_and_languages example: English",
"type": "string",
"x-required-status": "conditional"
},
"location_code": {
"description": "unique location identifier 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 location_code by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/ai_keyword_data/locations_and_languages example: 2840",
"type": "integer",
"x-required-status": "conditional"
},
"location_name": {
"description": "full 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 their location_name by making a separate request to the https://api.dataforseo.com/v3/ai_optimization/ai_keyword_data/locations_and_languages example: United Kingdom",
"type": "string",
"x-required-status": "conditional"
},
"tag": {
"description": "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 object of the response",
"nullable": true,
"type": "string",
"x-required-status": "optional"
}
},
"required": [
"keywords"
],
"type": "object",
"x-required-origin": "official_required_array_plus_explicit_unconditional_required_field_prose"
},
"maxItems": 1,
"minItems": 1,
"type": "array",
"x-openany-retail-scope": "single_native_task_per_sale_execution",
"x-openapi-version": "3.0.1",
"x-schema-origin": "official_openapi_with_local_refs_rebased"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "array"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "10000",
"max_cost_micro_usd": "110000",
"quantities": [
{
"id": "task_errors",
"label": "任务错误数必须为零",
"max_quantity": "0",
"measure": "value",
"pointer": "/tasks_error",
"price_micro_usd": "0",
"quantity_scale": 0,
"source": "response",
"unit": "task_error",
"unit_quantity": "1"
},
{
"id": "returned_results",
"label": "本次返回结果",
"max_quantity": "1000",
"measure": "value",
"pointer": "/tasks/0/result/0/items_count",
"price_micro_usd": "100",
"quantity_scale": 0,
"source": "response",
"unit": "result",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · 官方历史成对样例(未运行) (HTTP assumed)",
"request": {
"body": [
{
"keywords": [
"iphone",
"seo"
],
"language_name": "English",
"location_code": 2840
}
],
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "ai_optimization",
"function": "keywords_search_volume",
"keywords": [
"iphone",
"seo"
],
"language_name": "English",
"location_code": 2840
},
"id": "07091646-1535-0619-0000-34aa8225bd23",
"path": [
"v3",
"ai_optimization",
"ai_keyword_data",
"keywords_search_volume",
"live"
],
"result": [
{
"items": [
{
"ai_monthly_searches": [
{
"ai_search_volume": 407838,
"month": 5,
"year": 2025
},
{
"ai_search_volume": 413611,
"month": 4,
"year": 2025
},
{
"ai_search_volume": 641232,
"month": 3,
"year": 2025
},
{
"ai_search_volume": 634043,
"month": 2,
"year": 2025
},
{
"ai_search_volume": 650448,
"month": 1,
"year": 2025
},
{
"ai_search_volume": 420931,
"month": 12,
"year": 2024
},
{
"ai_search_volume": 466601,
"month": 11,
"year": 2024
},
{
"ai_search_volume": 460579,
"month": 10,
"year": 2024
},
{
"ai_search_volume": 439763,
"month": 9,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 8,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 7,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 6,
"year": 2024
}
],
"ai_search_volume": 407838,
"keyword": "iphone"
},
{
"ai_monthly_searches": [
{
"ai_search_volume": 13881,
"month": 5,
"year": 2025
},
{
"ai_search_volume": 13560,
"month": 4,
"year": 2025
},
{
"ai_search_volume": 14628,
"month": 3,
"year": 2025
},
{
"ai_search_volume": 13789,
"month": 2,
"year": 2025
},
{
"ai_search_volume": 14339,
"month": 1,
"year": 2025
},
{
"ai_search_volume": 13520,
"month": 12,
"year": 2024
},
{
"ai_search_volume": 14802,
"month": 11,
"year": 2024
},
{
"ai_search_volume": 14640,
"month": 10,
"year": 2024
},
{
"ai_search_volume": 13564,
"month": 9,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 8,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 7,
"year": 2024
},
{
"ai_search_volume": 0,
"month": 6,
"year": 2024
}
],
"ai_search_volume": 13881,
"keyword": "seo"
}
],
"items_count": 2,
"language_code": "en",
"location_code": 2840
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.2683 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.3281 sec.",
"version": "0.1.20250526"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · 官方历史成对样例(未运行) (HTTP assumed)
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
body- This endpoint provides search volume data for your target keywords, reflecting their estimated usage in AI tools.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/dataforseo/v3/ai_optimization/ai_keyword_data/keywords_search_volume/live' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '[ { "keywords": [ "iphone", "seo" ], "language_name": "English", "location_code": 2840 } ]'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "cost": 0, "status_code": 20000, "status_message": "Ok.", "tasks": [ { "cost": 0, "data": { "api": "ai_optimization", "function": "keywords_search_volume", "keywords": [ "iphone", "seo" ], "language_name": "English", "location_code": 2840 }, "id": "07091646-1535-0619-0000-34aa8225bd23", "path": [ "v3", "ai_optimization", "ai_keyword_data", "keywords_search_volume", "live" ], "result": [ { "items": [ { "ai_monthly_searches": [ { "ai_search_volume": 407838, "month": 5, "year": 2025 }, { "ai_search_volume": 413611, "month": 4, "year": 2025 }, { "ai_search_volume": 641232, "month": 3, "year": 2025 }, { "ai_search_volume": 634043, "month": 2, "year": 2025 }, { "ai_search_volume": 650448, "month": 1, "year": 2025 }, { "ai_search_volume": 420931, "month": 12, "year": 2024 }, { "ai_search_volume": 466601, "month": 11, "year": 2024 }, { "ai_search_volume": 460579, "month": 10, "year": 2024 }, { "ai_search_volume": 439763, "month": 9, "year": 2024 }, { "ai_search_volume": 0, "month": 8, "year": 2024 }, { "ai_search_volume": 0, "month": 7, "year": 2024 }, { "ai_search_volume": 0, "month": 6, "year": 2024 } ], "ai_search_volume": 407838, "keyword": "iphone" }, { "ai_monthly_searches": [ { "ai_search_volume": 13881, "month": 5, "year": 2025 }, { "ai_search_volume": 13560, "month": 4, "year": 2025 }, { "ai_search_volume": 14628, "month": 3, "year": 2025 }, { "ai_search_volume": 13789, "month": 2, "year": 2025 }, { "ai_search_volume": 14339, "month": 1, "year": 2025 }, { "ai_search_volume": 13520, "month": 12, "year": 2024 }, { "ai_search_volume": 14802, "month": 11, "year": 2024 }, { "ai_search_volume": 14640, "month": 10, "year": 2024 }, { "ai_search_volume": 13564, "month": 9, "year": 2024 }, { "ai_search_volume": 0, "month": 8, "year": 2024 }, { "ai_search_volume": 0, "month": 7, "year": 2024 }, { "ai_search_volume": 0, "month": 6, "year": 2024 } ], "ai_search_volume": 13881, "keyword": "seo" } ], "items_count": 2, "language_code": "en", "location_code": 2840 } ], "result_count": 1, "status_code": 20000, "status_message": "Ok.", "time": "0.2683 sec." } ], "tasks_count": 1, "tasks_error": 0, "time": "0.3281 sec.", "version": "0.1.20250526" }