DataForSEO — Keywords Data / Dataforseo Trends / Explore / Live
Retrieve keywords Data Dataforseo Trends Explore Live via API. The sample response includes keywords. Use it for search visibility research or technical SEO.
- Selected price
- $0.0012 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DataForSEOCurrent DataForSEO — Keywords Data / Dataforseo Trends / Explore / Live · POST | $0.0012 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
costnumberstatus_codeintegerstatus_messagestringtasksobject[]costnumberdataobjectapistringfunctionstringkeywordsstring[]location_codeintegersestring
idstringpathstring[]resultobject[]datetimestringitemsobject[]averagesinteger[]dataobject[]date_fromstringdate_tostringtimestampintegervaluesinteger[]
keywordsstring[]positionintegertypestring
items_countintegerkeywordsstring[]language_codenulllocation_codeintegertypestring
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>;
location_code?: number;
se?: string;
};
id?: string;
path?: Array<string>;
result?: Array<{
datetime?: string;
items?: Array<{
averages?: Array<number>;
data?: Array<{
date_from?: string;
date_to?: string;
timestamp?: number;
values?: Array<number>;
}>;
keywords?: Array<string>;
position?: number;
type?: string;
}>;
items_count?: number;
keywords?: Array<string>;
language_code?: null;
location_code?: number;
type?: string;
}>;
result_count?: number;
status_code?: number;
status_message?: string;
time?: string;
}>;
tasks_count?: number;
tasks_error?: number;
time?: string;
version?: string;
};- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/dataforseo_trends/explore/live- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/dataforseo_trends/explore/live' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"keywords": [
"iphone 14",
"samsung s23"
],
"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 will provide you with the keyword popularity data from DataForSEO Trends. You can check keyword trends for Google Search, Google News, and Google Shopping. 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.001,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.001,
"data": {
"api": "keywords_data",
"function": "explore",
"keywords": [
"iphone 14",
"samsung s23"
],
"location_code": 2840,
"se": "dataforseo_trends"
},
"id": "01101318-1535-0570-0000-7492e81c4188",
"path": [
"v3",
"keywords_data",
"dataforseo_trends",
"explore",
"live"
],
"result": [
{
"datetime": "2024-01-10 11:18:54 +00:00",
"items": [
{
"averages": [
22,
6
],
"data": [
{
"date_from": "2023-01-15",
"date_to": "2023-01-21",
"timestamp": 1673740800,
"values": [
33,
22
]
},
{
"date_from": "2023-01-22",
"date_to": "2023-01-28",
"timestamp": 1674345600,
"values": [
29,
8
]
},
{
"date_from": "2023-01-29",
"date_to": "2023-02-04",
"timestamp": 1674950400,
"values": [
73,
80
]
},
{
"date_from": "2023-02-05",
"date_to": "2023-02-11",
"timestamp": 1675555200,
"values": [
21,
14
]
},
{
"date_from": "2023-02-12",
"date_to": "2023-02-18",
"timestamp": 1676160000,
"values": [
28,
18
]
},
{
"date_from": "2023-02-19",
"date_to": "2023-02-25",
"timestamp": 1676764800,
"values": [
32,
13
]
},
{
"date_from": "2023-02-26",
"date_to": "2023-03-04",
"timestamp": 1677369600,
"values": [
32,
10
]
},
{
"date_from": "2023-03-05",
"date_to": "2023-03-11",
"timestamp": 1677974400,
"values": [
100,
1
]
},
{
"date_from": "2023-03-12",
"date_to": "2023-03-18",
"timestamp": 1678579200,
"values": [
19,
5
]
},
{
"date_from": "2023-03-19",
"date_to": "2023-03-25",
"timestamp": 1679184000,
"values": [
11,
6
]
},
{
"date_from": "2023-03-26",
"date_to": "2023-04-01",
"timestamp": 1679788800,
"values": [
18,
14
]
},
{
"date_from": "2023-04-02",
"date_to": "2023-04-08",
"timestamp": 1680393600,
"values": [
10,
3
]
},
{
"date_from": "2023-04-09",
"date_to": "2023-04-15",
"timestamp": 1680998400,
"values": [
18,
4
]
},
{
"date_from": "2023-04-16",
"date_to": "2023-04-22",
"timestamp": 1681603200,
"values": [
16,
2
]
},
{
"date_from": "2023-04-23",
"date_to": "2023-04-29",
"timestamp": 1682208000,
"values": [
7,
2
]
},
{
"date_from": "2023-04-30",
"date_to": "2023-05-06",
"timestamp": 1682812800,
"values": [
17,
7
]
},
{
"date_from": "2023-05-07",
"date_to": "2023-05-13",
"timestamp": 1683417600,
"values": [
12,
0
]
},
{
"date_from": "2023-05-14",
"date_to": "2023-05-20",
"timestamp": 1684022400,
"values": [
4,
0
]
},
{
"date_from": "2023-05-21",
"date_to": "2023-05-27",
"timestamp": 1684627200,
"values": [
8,
3
]
},
{
"date_from": "2023-05-28",
"date_to": "2023-06-03",
"timestamp": 1685232000,
"values": [
9,
1
]
},
{
"date_from": "2023-06-04",
"date_to": "2023-06-10",
"timestamp": 1685836800,
"values": [
7,
3
]
},
{
"date_from": "2023-06-11",
"date_to": "2023-06-17",
"timestamp": 1686441600,
"values": [
10,
3
]
},
{
"date_from": "2023-06-18",
"date_to": "2023-06-24",
"timestamp": 1687046400,
"values": [
17,
2
]
},
{
"date_from": "2023-06-25",
"date_to": "2023-07-01",
"timestamp": 1687651200,
"values": [
16,
4
]
},
{
"date_from": "2023-07-02",
"date_to": "2023-07-08",
"timestamp": 1688256000,
"values": [
66,
3
]
},
{
"date_from": "2023-07-09",
"date_to": "2023-07-15",
"timestamp": 1688860800,
"values": [
28,
0
]
},
{
"date_from": "2023-07-16",
"date_to": "2023-07-22",
"timestamp": 1689465600,
"values": [
9,
0
]
},
{
"date_from": "2023-07-23",
"date_to": "2023-07-29",
"timestamp": 1690070400,
"values": [
23,
3
]
},
{
"date_from": "2023-07-30",
"date_to": "2023-08-05",
"timestamp": 1690675200,
"values": [
20,
1
]
},
{
"date_from": "2023-08-06",
"date_to": "2023-08-12",
"timestamp": 1691280000,
"values": [
7,
2
]
},
{
"date_from": "2023-08-13",
"date_to": "2023-08-19",
"timestamp": 1691884800,
"values": [
27,
1
]
},
{
"date_from": "2023-08-20",
"date_to": "2023-08-26",
"timestamp": 1692489600,
"values": [
18,
0
]
},
{
"date_from": "2023-08-27",
"date_to": "2023-09-02",
"timestamp": 1693094400,
"values": [
31,
2
]
},
{
"date_from": "2023-09-03",
"date_to": "2023-09-09",
"timestamp": 1693699200,
"values": [
38,
3
]
},
{
"date_from": "2023-09-10",
"date_to": "2023-09-16",
"timestamp": 1694304000,
"values": [
57,
1
]
},
{
"date_from": "2023-09-17",
"date_to": "2023-09-23",
"timestamp": 1694908800,
"values": [
34,
5
]
},
{
"date_from": "2023-09-24",
"date_to": "2023-09-30",
"timestamp": 1695513600,
"values": [
19,
6
]
},
{
"date_from": "2023-10-01",
"date_to": "2023-10-07",
"timestamp": 1696118400,
"values": [
9,
8
]
},
{
"date_from": "2023-10-08",
"date_to": "2023-10-14",
"timestamp": 1696723200,
"values": [
15,
5
]
},
{
"date_from": "2023-10-15",
"date_to": "2023-10-21",
"timestamp": 1697328000,
"values": [
10,
3
]
},
{
"date_from": "2023-10-22",
"date_to": "2023-10-28",
"timestamp": 1697932800,
"values": [
5,
0
]
},
{
"date_from": "2023-10-29",
"date_to": "2023-11-04",
"timestamp": 1698537600,
"values": [
32,
5
]
},
{
"date_from": "2023-11-05",
"date_to": "2023-11-11",
"timestamp": 1699142400,
"values": [
3,
3
]
},
{
"date_from": "2023-11-12",
"date_to": "2023-11-18",
"timestamp": 1699747200,
"values": [
14,
0
]
},
{
"date_from": "2023-11-19",
"date_to": "2023-11-25",
"timestamp": 1700352000,
"values": [
12,
2
]
},
{
"date_from": "2023-11-26",
"date_to": "2023-12-02",
"timestamp": 1700956800,
"values": [
11,
1
]
},
{
"date_from": "2023-12-03",
"date_to": "2023-12-09",
"timestamp": 1701561600,
"values": [
11,
3
]
},
{
"date_from": "2023-12-10",
"date_to": "2023-12-16",
"timestamp": 1702166400,
"values": [
9,
3
]
},
{
"date_from": "2023-12-17",
"date_to": "2023-12-23",
"timestamp": 1702771200,
"values": [
2,
0
]
},
{
"date_from": "2023-12-24",
"date_to": "2023-12-30",
"timestamp": 1703376000,
"values": [
40,
2
]
},
{
"date_from": "2023-12-31",
"date_to": "2024-01-10",
"timestamp": 1703980800,
"values": [
10,
0
]
}
],
"keywords": [
"iphone 14",
"samsung s23"
],
"position": 1,
"type": "dataforseo_trends_graph"
}
],
"items_count": 1,
"keywords": [
"iphone 14",
"samsung s23"
],
"language_code": null,
"location_code": 2840,
"type": "trends"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "7.8817 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "7.9401 sec.",
"version": "0.1.20231117"
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.001200. 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 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.001200.
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 — Keywords Data / Dataforseo Trends / Explore / Live
Retrieve keywords Data Dataforseo Trends Explore Live via API. The sample response includes keywords. Use it for search visibility research or technical SEO.
## Available implementations
DataForSEO · DataForSEO — Keywords Data / Dataforseo Trends / Explore / Live: https://openany.si/markets/apis/capabilities/dataforseo-keywords-data-dataforseo-trends-explore-live?offering=938ea192-46c0-4782-a6cf-6f201722477c · $0.0012 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/dataforseo-keywords-data-dataforseo-trends-explore-live
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/dataforseo_trends/explore/live
Price: $0.0012 / call
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/keywords_data/dataforseo_trends/explore/live' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"keywords": [
"iphone 14",
"samsung s23"
],
"location_code": 2840
}
]'
```
## API contract
```json
{
"resource_type": "api",
"name": "DataForSEO — Keywords Data / Dataforseo Trends / Explore / Live",
"endpoint": "https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/dataforseo_trends/explore/live",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "This endpoint will provide you with the keyword popularity data from DataForSEO Trends. You can check keyword trends for Google Search, Google News, and Google Shopping.",
"json_schema": {
"example": [
{
"keywords": [
"iphone 14",
"samsung s23"
],
"location_code": 2840
}
],
"items": {
"example": [
{
"keywords": [
"iphone 14",
"samsung s23"
],
"location_code": 2840
}
],
"nullable": true,
"properties": {
"date_from": {
"description": "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 minimal value for other types: 2008-01-01 date format: \"yyyy-mm-dd\" example: \"2019-01-15\"",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"date_to": {
"description": "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\"",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"keywords": {
"description": "keywords required field the maximum number of keywords you can specify: 5 learn more about rules and limitations of keyword and keywords fields in DataForSEO APIs in this Help Center article",
"items": {
"type": "string"
},
"type": "array",
"x-required-status": "required"
},
"location_code": {
"description": "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 receive the list of available locations of the search engines with their location_code by making a separate request to https://api.dataforseo.com/v3/keywords_data/dataforseo_trends/locations note that the data will be provided for the country the specified location_code belongs to; example: 2840",
"nullable": true,
"type": "integer",
"x-required-status": "optional"
},
"location_name": {
"description": "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 receive the list of available locations of the search engine with their location_name by making a separate request to https://api.dataforseo.com/v3/keywords_data/dataforseo_trends/locations note that the data will be provided for the country the specified location_name belongs to; example: United Kingdom",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"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"
},
"time_range": {
"description": "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_4_hours, past_day, past_7_days, past_30_days, past_90_days, past_12_months, past_5_years",
"nullable": true,
"type": "string",
"x-original-openapi-description": "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_4_hours , past_day , past_7_days , past_30_days , past_90_days , past_12_months , past_5_years",
"x-required-status": "optional"
},
"type": {
"description": "dataforseo trends type optional field if you don't specify this field, the web type will be used by default possible values: web, news, ecommerce",
"nullable": true,
"type": "string",
"x-original-openapi-description": "type of element",
"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": "1200",
"max_cost_micro_usd": "1200",
"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"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · 官方历史成对样例(未运行) (HTTP assumed)",
"request": {
"body": [
{
"keywords": [
"iphone 14",
"samsung s23"
],
"location_code": 2840
}
],
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"cost": 0.001,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.001,
"data": {
"api": "keywords_data",
"function": "explore",
"keywords": [
"iphone 14",
"samsung s23"
],
"location_code": 2840,
"se": "dataforseo_trends"
},
"id": "01101318-1535-0570-0000-7492e81c4188",
"path": [
"v3",
"keywords_data",
"dataforseo_trends",
"explore",
"live"
],
"result": [
{
"datetime": "2024-01-10 11:18:54 +00:00",
"items": [
{
"averages": [
22,
6
],
"data": [
{
"date_from": "2023-01-15",
"date_to": "2023-01-21",
"timestamp": 1673740800,
"values": [
33,
22
]
},
{
"date_from": "2023-01-22",
"date_to": "2023-01-28",
"timestamp": 1674345600,
"values": [
29,
8
]
},
{
"date_from": "2023-01-29",
"date_to": "2023-02-04",
"timestamp": 1674950400,
"values": [
73,
80
]
},
{
"date_from": "2023-02-05",
"date_to": "2023-02-11",
"timestamp": 1675555200,
"values": [
21,
14
]
},
{
"date_from": "2023-02-12",
"date_to": "2023-02-18",
"timestamp": 1676160000,
"values": [
28,
18
]
},
{
"date_from": "2023-02-19",
"date_to": "2023-02-25",
"timestamp": 1676764800,
"values": [
32,
13
]
},
{
"date_from": "2023-02-26",
"date_to": "2023-03-04",
"timestamp": 1677369600,
"values": [
32,
10
]
},
{
"date_from": "2023-03-05",
"date_to": "2023-03-11",
"timestamp": 1677974400,
"values": [
100,
1
]
},
{
"date_from": "2023-03-12",
"date_to": "2023-03-18",
"timestamp": 1678579200,
"values": [
19,
5
]
},
{
"date_from": "2023-03-19",
"date_to": "2023-03-25",
"timestamp": 1679184000,
"values": [
11,
6
]
},
{
"date_from": "2023-03-26",
"date_to": "2023-04-01",
"timestamp": 1679788800,
"values": [
18,
14
]
},
{
"date_from": "2023-04-02",
"date_to": "2023-04-08",
"timestamp": 1680393600,
"values": [
10,
3
]
},
{
"date_from": "2023-04-09",
"date_to": "2023-04-15",
"timestamp": 1680998400,
"values": [
18,
4
]
},
{
"date_from": "2023-04-16",
"date_to": "2023-04-22",
"timestamp": 1681603200,
"values": [
16,
2
]
},
{
"date_from": "2023-04-23",
"date_to": "2023-04-29",
"timestamp": 1682208000,
"values": [
7,
2
]
},
{
"date_from": "2023-04-30",
"date_to": "2023-05-06",
"timestamp": 1682812800,
"values": [
17,
7
]
},
{
"date_from": "2023-05-07",
"date_to": "2023-05-13",
"timestamp": 1683417600,
"values": [
12,
0
]
},
{
"date_from": "2023-05-14",
"date_to": "2023-05-20",
"timestamp": 1684022400,
"values": [
4,
0
]
},
{
"date_from": "2023-05-21",
"date_to": "2023-05-27",
"timestamp": 1684627200,
"values": [
8,
3
]
},
{
"date_from": "2023-05-28",
"date_to": "2023-06-03",
"timestamp": 1685232000,
"values": [
9,
1
]
},
{
"date_from": "2023-06-04",
"date_to": "2023-06-10",
"timestamp": 1685836800,
"values": [
7,
3
]
},
{
"date_from": "2023-06-11",
"date_to": "2023-06-17",
"timestamp": 1686441600,
"values": [
10,
3
]
},
{
"date_from": "2023-06-18",
"date_to": "2023-06-24",
"timestamp": 1687046400,
"values": [
17,
2
]
},
{
"date_from": "2023-06-25",
"date_to": "2023-07-01",
"timestamp": 1687651200,
"values": [
16,
4
]
},
{
"date_from": "2023-07-02",
"date_to": "2023-07-08",
"timestamp": 1688256000,
"values": [
66,
3
]
},
{
"date_from": "2023-07-09",
"date_to": "2023-07-15",
"timestamp": 1688860800,
"values": [
28,
0
]
},
{
"date_from": "2023-07-16",
"date_to": "2023-07-22",
"timestamp": 1689465600,
"values": [
9,
0
]
},
{
"date_from": "2023-07-23",
"date_to": "2023-07-29",
"timestamp": 1690070400,
"values": [
23,
3
]
},
{
"date_from": "2023-07-30",
"date_to": "2023-08-05",
"timestamp": 1690675200,
"values": [
20,
1
]
},
{
"date_from": "2023-08-06",
"date_to": "2023-08-12",
"timestamp": 1691280000,
"values": [
7,
2
]
},
{
"date_from": "2023-08-13",
"date_to": "2023-08-19",
"timestamp": 1691884800,
"values": [
27,
1
]
},
{
"date_from": "2023-08-20",
"date_to": "2023-08-26",
"timestamp": 1692489600,
"values": [
18,
0
]
},
{
"date_from": "2023-08-27",
"date_to": "2023-09-02",
"timestamp": 1693094400,
"values": [
31,
2
]
},
{
"date_from": "2023-09-03",
"date_to": "2023-09-09",
"timestamp": 1693699200,
"values": [
38,
3
]
},
{
"date_from": "2023-09-10",
"date_to": "2023-09-16",
"timestamp": 1694304000,
"values": [
57,
1
]
},
{
"date_from": "2023-09-17",
"date_to": "2023-09-23",
"timestamp": 1694908800,
"values": [
34,
5
]
},
{
"date_from": "2023-09-24",
"date_to": "2023-09-30",
"timestamp": 1695513600,
"values": [
19,
6
]
},
{
"date_from": "2023-10-01",
"date_to": "2023-10-07",
"timestamp": 1696118400,
"values": [
9,
8
]
},
{
"date_from": "2023-10-08",
"date_to": "2023-10-14",
"timestamp": 1696723200,
"values": [
15,
5
]
},
{
"date_from": "2023-10-15",
"date_to": "2023-10-21",
"timestamp": 1697328000,
"values": [
10,
3
]
},
{
"date_from": "2023-10-22",
"date_to": "2023-10-28",
"timestamp": 1697932800,
"values": [
5,
0
]
},
{
"date_from": "2023-10-29",
"date_to": "2023-11-04",
"timestamp": 1698537600,
"values": [
32,
5
]
},
{
"date_from": "2023-11-05",
"date_to": "2023-11-11",
"timestamp": 1699142400,
"values": [
3,
3
]
},
{
"date_from": "2023-11-12",
"date_to": "2023-11-18",
"timestamp": 1699747200,
"values": [
14,
0
]
},
{
"date_from": "2023-11-19",
"date_to": "2023-11-25",
"timestamp": 1700352000,
"values": [
12,
2
]
},
{
"date_from": "2023-11-26",
"date_to": "2023-12-02",
"timestamp": 1700956800,
"values": [
11,
1
]
},
{
"date_from": "2023-12-03",
"date_to": "2023-12-09",
"timestamp": 1701561600,
"values": [
11,
3
]
},
{
"date_from": "2023-12-10",
"date_to": "2023-12-16",
"timestamp": 1702166400,
"values": [
9,
3
]
},
{
"date_from": "2023-12-17",
"date_to": "2023-12-23",
"timestamp": 1702771200,
"values": [
2,
0
]
},
{
"date_from": "2023-12-24",
"date_to": "2023-12-30",
"timestamp": 1703376000,
"values": [
40,
2
]
},
{
"date_from": "2023-12-31",
"date_to": "2024-01-10",
"timestamp": 1703980800,
"values": [
10,
0
]
}
],
"keywords": [
"iphone 14",
"samsung s23"
],
"position": 1,
"type": "dataforseo_trends_graph"
}
],
"items_count": 1,
"keywords": [
"iphone 14",
"samsung s23"
],
"language_code": null,
"location_code": 2840,
"type": "trends"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "7.8817 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "7.9401 sec.",
"version": "0.1.20231117"
}
}
]
}
```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. |
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 will provide you with the keyword popularity data from DataForSEO Trends. You can check keyword trends for Google Search, Google News, and Google Shopping.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/dataforseo/v3/keywords_data/dataforseo_trends/explore/live' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '[ { "keywords": [ "iphone 14", "samsung s23" ], "location_code": 2840 } ]'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "cost": 0.001, "status_code": 20000, "status_message": "Ok.", "tasks": [ { "cost": 0.001, "data": { "api": "keywords_data", "function": "explore", "keywords": [ "iphone 14", "samsung s23" ], "location_code": 2840, "se": "dataforseo_trends" }, "id": "01101318-1535-0570-0000-7492e81c4188", "path": [ "v3", "keywords_data", "dataforseo_trends", "explore", "live" ], "result": [ { "datetime": "2024-01-10 11:18:54 +00:00", "items": [ { "averages": [ 22, 6 ], "data": [ { "date_from": "2023-01-15", "date_to": "2023-01-21", "timestamp": 1673740800, "values": [ 33, 22 ] }, { "date_from": "2023-01-22", "date_to": "2023-01-28", "timestamp": 1674345600, "values": [ 29, 8 ] }, { "date_from": "2023-01-29", "date_to": "2023-02-04", "timestamp": 1674950400, "values": [ 73, 80 ] }, { "date_from": "2023-02-05", "date_to": "2023-02-11", "timestamp": 1675555200, "values": [ 21, 14 ] }, { "date_from": "2023-02-12", "date_to": "2023-02-18", "timestamp": 1676160000, "values": [ 28, 18 ] }, { "date_from": "2023-02-19", "date_to": "2023-02-25", "timestamp": 1676764800, "values": [ 32, 13 ] }, { "date_from": "2023-02-26", "date_to": "2023-03-04", "timestamp": 1677369600, "values": [ 32, 10 ] }, { "date_from": "2023-03-05", "date_to": "2023-03-11", "timestamp": 1677974400, "values": [ 100, 1 ] }, { "date_from": "2023-03-12", "date_to": "2023-03-18", "timestamp": 1678579200, "values": [ 19, 5 ] }, { "date_from": "2023-03-19", "date_to": "2023-03-25", "timestamp": 1679184000, "values": [ 11, 6 ] }, { "date_from": "2023-03-26", "date_to": "2023-04-01", "timestamp": 1679788800, "values": [ 18, 14 ] }, { "date_from": "2023-04-02", "date_to": "2023-04-08", "timestamp": 1680393600, "values": [ 10, 3 ] }, { "date_from": "2023-04-09", "date_to": "2023-04-15", "timestamp": 1680998400, "values": [ 18, 4 ] }, { "date_from": "2023-04-16", "date_to": "2023-04-22", "timestamp": 1681603200, "values": [ 16, 2 ] }, { "date_from": "2023-04-23", "date_to": "2023-04-29", "timestamp": 1682208000, "values": [ 7, 2 ] }, { "date_from": "2023-04-30", "date_to": "2023-05-06", "timestamp": 1682812800, "values": [ 17, 7 ] }, { "date_from": "2023-05-07", "date_to": "2023-05-13", "timestamp": 1683417600, "values": [ 12, 0 ] }, { "date_from": "2023-05-14", "date_to": "2023-05-20", "timestamp": 1684022400, "values": [ 4, 0 ] }, { "date_from": "2023-05-21", "date_to": "2023-05-27", "timestamp": 1684627200, "values": [ 8, 3 ] }, { "date_from": "2023-05-28", "date_to": "2023-06-03", "timestamp": 1685232000, "values": [ 9, 1 ] }, { "date_from": "2023-06-04", "date_to": "2023-06-10", "timestamp": 1685836800, "values": [ 7, 3 ] }, { "date_from": "2023-06-11", "date_to": "2023-06-17", "timestamp": 1686441600, "values": [ 10, 3 ] }, { "date_from": "2023-06-18", "date_to": "2023-06-24", "timestamp": 1687046400, "values": [ 17, 2 ] }, { "date_from": "2023-06-25", "date_to": "2023-07-01", "timestamp": 1687651200, "values": [ 16, 4 ] }, { "date_from": "2023-07-02", "date_to": "2023-07-08", "timestamp": 1688256000, "values": [ 66, 3 ] }, { "date_from": "2023-07-09", "date_to": "2023-07-15", "timestamp": 1688860800, "values": [ 28, 0 ] }, { "date_from": "2023-07-16", "date_to": "2023-07-22", "timestamp": 1689465600, "values": [ 9, 0 ] }, { "date_from": "2023-07-23", "date_to": "2023-07-29", "timestamp": 1690070400, "values": [ 23, 3 ] }, { "date_from": "2023-07-30", "date_to": "2023-08-05", "timestamp": 1690675200, "values": [ 20, 1 ] }, { "date_from": "2023-08-06", "date_to": "2023-08-12", "timestamp": 1691280000, "values": [ 7, 2 ] }, { "date_from": "2023-08-13", "date_to": "2023-08-19", "timestamp": 1691884800, "values": [ 27, 1 ] }, { "date_from": "2023-08-20", "date_to": "2023-08-26", "timestamp": 1692489600, "values": [ 18, 0 ] }, { "date_from": "2023-08-27", "date_to": "2023-09-02", "timestamp": 1693094400, "values": [ 31, 2 ] }, { "date_from": "2023-09-03", "date_to": "2023-09-09", "timestamp": 1693699200, "values": [ 38, 3 ] }, { "date_from": "2023-09-10", "date_to": "2023-09-16", "timestamp": 1694304000, "values": [ 57, 1 ] }, { "date_from": "2023-09-17", "date_to": "2023-09-23", "timestamp": 1694908800, "values": [ 34, 5 ] }, { "date_from": "2023-09-24", "date_to": "2023-09-30", "timestamp": 1695513600, "values": [ 19, 6 ] }, { "date_from": "2023-10-01", "date_to": "2023-10-07", "timestamp": 1696118400, "values": [ 9, 8 ] }, { "date_from": "2023-10-08", "date_to": "2023-10-14", "timestamp": 1696723200, "values": [ 15, 5 ] }, { "date_from": "2023-10-15", "date_to": "2023-10-21", "timestamp": 1697328000, "values": [ 10, 3 ] }, { "date_from": "2023-10-22", "date_to": "2023-10-28", "timestamp": 1697932800, "values": [ 5, 0 ] }, { "date_from": "2023-10-29", "date_to": "2023-11-04", "timestamp": 1698537600, "values": [ 32, 5 ] }, { "date_from": "2023-11-05", "date_to": "2023-11-11", "timestamp": 1699142400, "values": [ 3, 3 ] }, { "date_from": "2023-11-12", "date_to": "2023-11-18", "timestamp": 1699747200, "values": [ 14, 0 ] }, { "date_from": "2023-11-19", "date_to": "2023-11-25", "timestamp": 1700352000, "values": [ 12, 2 ] }, { "date_from": "2023-11-26", "date_to": "2023-12-02", "timestamp": 1700956800, "values": [ 11, 1 ] }, { "date_from": "2023-12-03", "date_to": "2023-12-09", "timestamp": 1701561600, "values": [ 11, 3 ] }, { "date_from": "2023-12-10", "date_to": "2023-12-16", "timestamp": 1702166400, "values": [ 9, 3 ] }, { "date_from": "2023-12-17", "date_to": "2023-12-23", "timestamp": 1702771200, "values": [ 2, 0 ] }, { "date_from": "2023-12-24", "date_to": "2023-12-30", "timestamp": 1703376000, "values": [ 40, 2 ] }, { "date_from": "2023-12-31", "date_to": "2024-01-10", "timestamp": 1703980800, "values": [ 10, 0 ] } ], "keywords": [ "iphone 14", "samsung s23" ], "position": 1, "type": "dataforseo_trends_graph" } ], "items_count": 1, "keywords": [ "iphone 14", "samsung s23" ], "language_code": null, "location_code": 2840, "type": "trends" } ], "result_count": 1, "status_code": 20000, "status_message": "Ok.", "time": "7.8817 sec." } ], "tasks_count": 1, "tasks_error": 0, "time": "7.9401 sec.", "version": "0.1.20231117" }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use DataForSEO — Keywords Data / Dataforseo Trends / Explore / Live with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.