DataForSEO — Dataforseo Labs / Google / Subdomains / Live
Retrieve labs Google Subdomains Live with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it for search visibility research or technical SEO.
- Selected price
- $0.012 base + $0.00012 / result Published pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
DataForSEOCurrent DataForSEO — Dataforseo Labs / Google / Subdomains / Live · POST | $0.012 base + $0.00012 / result | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
costnumberstatus_codeintegerstatus_messagestringtasksobject[]costnumberdataobjectapistringfilters((string | integer)[] | string)[]functionstringlanguage_namestringlocation_codeintegerse_typestringtargetstring
idstringpathstring[]resultobject[]itemsobject[]metricsobjectfeatured_snippetnulllocal_packnullorganicobjectclickstream_age_distributionobject18-24integer25-34integer35-44integer45-54integer55-64integer
clickstream_etvnumberclickstream_gender_distributionobjectfemaleintegermaleinteger
countintegerestimated_paid_traffic_costnumberetvnumberis_downintegeris_lostintegeris_newintegeris_upintegerpos_1integerpos_11_20integerpos_21_30integerpos_2_3integerpos_31_40integerpos_41_50integerpos_4_10integerpos_51_60integerpos_61_70integerpos_71_80integerpos_81_90integerpos_91_100integer
paidobjectclickstream_age_distributionobject18-24integer25-34integer35-44integer45-54integer55-64integer
clickstream_etvnumberclickstream_gender_distributionobjectfemaleintegermaleinteger
countintegerestimated_paid_traffic_costnumberetvnumberis_downintegeris_lostintegeris_newintegeris_upintegerpos_1integerpos_11_20integerpos_21_30integerpos_2_3integerpos_31_40integerpos_41_50integerpos_4_10integerpos_51_60integerpos_61_70integerpos_71_80integerpos_81_90integerpos_91_100integer
se_typestringsubdomainstring
items_countintegerlanguage_codestringlocation_codeintegerse_typestringtargetstringtotal_countinteger
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;
filters?: Array<Array<string | number> | string>;
function?: string;
language_name?: string;
location_code?: number;
se_type?: string;
target?: string;
};
id?: string;
path?: Array<string>;
result?: Array<{
items?: Array<{
metrics?: {
featured_snippet?: null;
local_pack?: null;
organic?: {
clickstream_age_distribution?: {
"18-24"?: number;
"25-34"?: number;
"35-44"?: number;
"45-54"?: number;
"55-64"?: number;
};
clickstream_etv?: number;
clickstream_gender_distribution?: {
female?: number;
male?: number;
};
count?: number;
estimated_paid_traffic_cost?: number;
etv?: number;
is_down?: number;
is_lost?: number;
is_new?: number;
is_up?: number;
pos_1?: number;
pos_11_20?: number;
pos_21_30?: number;
pos_2_3?: number;
pos_31_40?: number;
pos_41_50?: number;
pos_4_10?: number;
pos_51_60?: number;
pos_61_70?: number;
pos_71_80?: number;
pos_81_90?: number;
pos_91_100?: number;
};
paid?: {
clickstream_age_distribution?: {
"18-24"?: number;
"25-34"?: number;
"35-44"?: number;
"45-54"?: number;
"55-64"?: number;
};
clickstream_etv?: number;
clickstream_gender_distribution?: {
female?: number;
male?: number;
};
count?: number;
estimated_paid_traffic_cost?: number;
etv?: number;
is_down?: number;
is_lost?: number;
is_new?: number;
is_up?: number;
pos_1?: number;
pos_11_20?: number;
pos_21_30?: number;
pos_2_3?: number;
pos_31_40?: number;
pos_41_50?: number;
pos_4_10?: number;
pos_51_60?: number;
pos_61_70?: number;
pos_71_80?: number;
pos_81_90?: number;
pos_91_100?: number;
};
};
se_type?: string;
subdomain?: string;
}>;
items_count?: number;
language_code?: string;
location_code?: number;
se_type?: string;
target?: string;
total_count?: number;
}>;
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/dataforseo_labs/google/subdomains/live- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/dataforseo/v3/dataforseo_labs/google/subdomains/live' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"filters": [
[
"metrics.organic.pos_1",
"<>",
0
],
"or",
[
"metrics.organic.pos_2_3",
"<>",
0
]
],
"language_name": "English",
"location_code": 2840,
"target": "dataforseo.com"
}
]'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 a list of subdomains of the specified domain, along with the ranking distribution across organic and paid search. In addition to that, you will also get the estimated traffic volume of subdomains based on search volume and impressions. 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.0101,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.0101,
"data": {
"api": "dataforseo_labs",
"filters": [
[
"metrics.organic.pos_1",
"<>",
0
],
"or",
[
"metrics.organic.pos_2_3",
"<>",
0
]
],
"function": "subdomains",
"language_name": "English",
"location_code": 2840,
"se_type": "google",
"target": "dataforseo.com"
},
"id": "06131916-1535-0384-0000-dbdae2640969",
"path": [
"v3",
"dataforseo_labs",
"google",
"subdomains",
"live"
],
"result": [
{
"items": [
{
"metrics": {
"featured_snippet": null,
"local_pack": null,
"organic": {
"clickstream_age_distribution": {
"18-24": 12,
"25-34": 37,
"35-44": 41,
"45-54": 7,
"55-64": 0
},
"clickstream_etv": 630.3387209999999,
"clickstream_gender_distribution": {
"female": 34,
"male": 65
},
"count": 3252,
"estimated_paid_traffic_cost": 79709.50598598632,
"etv": 16830.186164559796,
"is_down": 739,
"is_lost": 0,
"is_new": 919,
"is_up": 1441,
"pos_1": 22,
"pos_11_20": 579,
"pos_21_30": 386,
"pos_2_3": 26,
"pos_31_40": 333,
"pos_41_50": 317,
"pos_4_10": 353,
"pos_51_60": 273,
"pos_61_70": 290,
"pos_71_80": 256,
"pos_81_90": 217,
"pos_91_100": 200
},
"paid": {
"clickstream_age_distribution": {
"18-24": 0,
"25-34": 58,
"35-44": 41,
"45-54": 0,
"55-64": 0
},
"clickstream_etv": 271.27529999999996,
"clickstream_gender_distribution": {
"female": 38,
"male": 61
},
"count": 17,
"estimated_paid_traffic_cost": 3248.2200407981873,
"etv": 424.47499722242355,
"is_down": 1,
"is_lost": 0,
"is_new": 15,
"is_up": 0,
"pos_1": 11,
"pos_11_20": 0,
"pos_21_30": 0,
"pos_2_3": 5,
"pos_31_40": 0,
"pos_41_50": 0,
"pos_4_10": 1,
"pos_51_60": 0,
"pos_61_70": 0,
"pos_71_80": 0,
"pos_81_90": 0,
"pos_91_100": 0
}
},
"se_type": "google",
"subdomain": "dataforseo.com"
}
],
"items_count": 1,
"language_code": "en",
"location_code": 2840,
"se_type": "google",
"target": "dataforseo.com",
"total_count": 1
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.1108 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.1664 sec.",
"version": "0.1.20240514"
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.012000. 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.000120 / 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.132000.
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 — Dataforseo Labs / Google / Subdomains / Live
Retrieve labs Google Subdomains Live with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it for search visibility research or technical SEO.
## Available implementations
DataForSEO · DataForSEO — Dataforseo Labs / Google / Subdomains / Live: https://openany.si/markets/apis/capabilities/dataforseo-dataforseo-labs-google-subdomains-live?offering=efd00e24-6e8a-436b-ac1d-a94e7497a472 · $0.012 base + $0.00012 / result
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/dataforseo-dataforseo-labs-google-subdomains-live
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/dataforseo_labs/google/subdomains/live
Price: $0.012 base + $0.00012 / 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/dataforseo_labs/google/subdomains/live' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '[
{
"filters": [
[
"metrics.organic.pos_1",
"<>",
0
],
"or",
[
"metrics.organic.pos_2_3",
"<>",
0
]
],
"language_name": "English",
"location_code": 2840,
"target": "dataforseo.com"
}
]'
```
## API contract
```json
{
"resource_type": "api",
"name": "DataForSEO — Dataforseo Labs / Google / Subdomains / Live",
"endpoint": "https://api.openany.si/v1/agent-apis/dataforseo/v3/dataforseo_labs/google/subdomains/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 a list of subdomains of the specified domain, along with the ranking distribution across organic and paid search. In addition to that, you will also get the estimated traffic volume of subdomains based on search volume and impressions.",
"json_schema": {
"example": [
{
"filters": [
[
"metrics.organic.pos_1",
"<>",
0
],
"or",
[
"metrics.organic.pos_2_3",
"<>",
0
]
],
"language_name": "English",
"location_code": 2840,
"target": "dataforseo.com"
}
],
"items": {
"example": [
{
"filters": [
[
"metrics.organic.pos_1",
"<>",
0
],
"or",
[
"metrics.organic.pos_2_3",
"<>",
0
]
],
"language_name": "English",
"location_code": 2840,
"target": "dataforseo.com"
}
],
"nullable": true,
"properties": {
"filters": {
"allOf": [
{
"anyOf": [
{
"anyOf": [
{
"items": false,
"maxItems": 3,
"minItems": 3,
"prefixItems": [
{
"type": "string"
},
{
"type": "string"
},
{}
],
"type": "array"
},
{
"items": {
"anyOf": [
{
"type": "array"
},
{
"enum": [
"and",
"or"
],
"type": "string"
}
]
},
"minItems": 1,
"type": "array"
}
],
"description": "官方过滤器文档中的条件三元组或由 and/or 连接的条件数组;仅检查外层结构,嵌套数组、操作符和值的完整语义仍以官方文档为准。",
"x-coverage": "outer_structure_only_nested_operator_semantics_not_exhaustively_validated",
"x-schema-origin": "derived_from_official_filter_prose_and_examples"
},
{
"type": "null"
}
]
}
],
"description": "array of results filtering parameters optional field you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, <, <=, >, >=, =, <>, in, not_in example: [\"metrics.paid.count\",\">\",0] [[\"metrics.paid.count\",\">\",0],\"and\",[\"metrics.paid.etv\",\">\",\"50\"]] [[\"metrics.organic.count\",\">\",\"10\"], \"and\", [[\"metrics.organic.pos_1\",\"<>\",0],\"or\",[\"metrics.organic.pos_2_3\",\"<>\",0]]] for more information about filters, please refer to Dataforseo Labs - Filters or this help center guide",
"nullable": true,
"type": "array",
"x-original-openapi-description": "array of results filtering parameters optional field you can add several filters at once (8 filters maximum) you should set a logical operator and , or between the conditions the following operators are supported: regex , not_regex , < , <= , > , >= , = , <> , in , not_in example: [\"metrics.paid.count\",\">\",0] [[\"metrics.paid.count\",\">\",0],\"and\",[\"metrics.paid.etv\",\">\",\"50\"]] [[\"metrics.organic.count\",\">\",\"10\"], \"and\", [[\"metrics.organic.pos_1\",\"<>\",0],\"or\",[\"metrics.organic.pos_2_3\",\"<>\",0]]] for more information about filters, please refer to Dataforseo Labs - Filters or this help center guide",
"x-required-status": "optional",
"x-schema-origin": "official_filter_prose_normalized"
},
"historical_serp_mode": {
"description": "data collection mode optional field you can use this field to filter the results; possible types of filtering: live — return metrics for SERPs in which the specified target currently has ranking results; lost — return metrics for SERPs in which the specified target had previously had ranking results, but didn't have them during the last check; all — return metrics for both types of SERPs. default value: live",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"ignore_synonyms": {
"default": false,
"description": "ignore highly similar keywords optional field if set to true, only core keywords will be returned, all highly similar keywords will be excluded; default value: false",
"nullable": true,
"type": "boolean",
"x-constraints-from-official-description": [
"default"
],
"x-original-openapi-description": "ignore highly similar keywords optional field if set to true , only core keywords will be returned, all highly similar keywords will be excluded; default value: false",
"x-required-status": "optional"
},
"include_clickstream_data": {
"default": false,
"description": "include or exclude data from clickstream-based metrics in the result optional field if the parameter is set to true, you will receive clickstream_etv, clickstream_gender_distribution, and clickstream_age_distribution fields with clickstream data in the response default value: false with this parameter enabled, you will be charged double the price for the request learn more about how clickstream-based metrics are calculated in this help center article",
"nullable": true,
"type": "boolean",
"x-constraints-from-official-description": [
"default"
],
"x-original-openapi-description": "include or exclude data from clickstream-based metrics in the result optional field if the parameter is set to true , you will receive clickstream_etv , clickstream_gender_distribution , and clickstream_age_distribution fields with clickstream data in the response default value: false with this parameter enabled, you will be charged double the price for the request learn more about how clickstream-based metrics are calculated in this help center article",
"x-required-status": "optional"
},
"item_types": {
"description": "display results by item type optional field indicates the type of search results included in the response Note: if the item_types array contains item types that are different from organic, the results will be ordered by the first item type in the array; you will not be able to sort and filter results by the types of search results not included in the response; possible values: [\"organic\", \"paid\", \"featured_snippet\", \"local_pack\"] default value: [\"organic\", \"paid\"]",
"items": {
"type": "string"
},
"nullable": true,
"type": "array",
"x-original-openapi-description": "display results by item type optional field indicates the type of search results included in the response Note: if the item_types array contains item types that are different from organic , the results will be ordered by the first item type in the array; you will not be able to sort and filter results by the types of search results not included in the response; possible values: [\"organic\", \"paid\", \"featured_snippet\", \"local_pack\"] default value: [\"organic\", \"paid\"]",
"x-required-status": "optional"
},
"language_code": {
"description": "language code optional field 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/dataforseo_labs/locations_and_languages ignore this field to get the results for all available languages example: en",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"language_name": {
"description": "full name of the language optional field 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/dataforseo_labs/locations_and_languages ignore this field to get the results for all available languages example: English",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"limit": {
"default": 100,
"description": "the maximum number of returned keywords optional field default value: 100 maximum value: 1000",
"maximum": 1000,
"nullable": true,
"type": "integer",
"x-constraints-from-official-description": [
"default",
"maximum"
],
"x-required-status": "optional"
},
"location_code": {
"description": "location code optional field if you use this field, you don't need to specify location_name you can receive the list of available locations with their location_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages ignore this field to get the results for all available locations example: 2840",
"nullable": true,
"type": "integer",
"x-required-status": "optional"
},
"location_name": {
"description": "full name of the location optional field if you use this field, you don't need to specify 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/dataforseo_labs/locations_and_languages ignore this field to get the results for all available locations example: United Kingdom",
"nullable": true,
"type": "string",
"x-required-status": "optional"
},
"offset": {
"default": 0,
"description": "offset in the results array of returned keywords optional field default value: 0 if you specify the 10 value, the first ten keywords in the results array will be omitted and the data will be provided for the successive keywords",
"nullable": true,
"type": "integer",
"x-constraints-from-official-description": [
"default"
],
"x-required-status": "optional"
},
"order_by": {
"description": "results sorting rules optional field you can use the same values as in the filters array to sort the results possible sorting types: asc - results will be sorted in the ascending order desc - results will be sorted in the descending order you should use a comma to specify a sorting type example: [\"metrics.paid.etv,asc\"] Note: you can set no more than three sorting rules in a single request you should use a comma to separate several sorting rules example: [\"metrics.organic.etv,desc\",\"metrics.paid.count,asc\"] default rule: [\"metrics.organic.count,desc\"] Note: if the item_types array contains item types that are different from organic, the results will be ordered by the first item type in the array",
"items": {
"type": "string"
},
"nullable": true,
"type": "array",
"x-original-openapi-description": "results sorting rules optional field you can use the same values as in the filters array to sort the results possible sorting types: asc - results will be sorted in the ascending order desc - results will be sorted in the descending order you should use a comma to specify a sorting type example: [\"metrics.paid.etv,asc\"] Note: you can set no more than three sorting rules in a single request you should use a comma to separate several sorting rules example: [\"metrics.organic.etv,desc\",\"metrics.paid.count,asc\"] default rule: [\"metrics.organic.count,desc\"] Note: if the item_types array contains item types that are different from organic , the results will be ordered by the first item type in the array",
"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"
},
"target": {
"description": "domain required field the domain name of the target website the domain should be specified without https:// and www.",
"type": "string",
"x-required-status": "required"
}
},
"required": [
"target"
],
"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_plus_explicit_official_doc_amendments"
},
"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": "12000",
"max_cost_micro_usd": "132000",
"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": "120",
"quantity_scale": 0,
"source": "response",
"unit": "result",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · 官方历史成对样例(未运行) (HTTP assumed)",
"request": {
"body": [
{
"filters": [
[
"metrics.organic.pos_1",
"<>",
0
],
"or",
[
"metrics.organic.pos_2_3",
"<>",
0
]
],
"language_name": "English",
"location_code": 2840,
"target": "dataforseo.com"
}
],
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"cost": 0.0101,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.0101,
"data": {
"api": "dataforseo_labs",
"filters": [
[
"metrics.organic.pos_1",
"<>",
0
],
"or",
[
"metrics.organic.pos_2_3",
"<>",
0
]
],
"function": "subdomains",
"language_name": "English",
"location_code": 2840,
"se_type": "google",
"target": "dataforseo.com"
},
"id": "06131916-1535-0384-0000-dbdae2640969",
"path": [
"v3",
"dataforseo_labs",
"google",
"subdomains",
"live"
],
"result": [
{
"items": [
{
"metrics": {
"featured_snippet": null,
"local_pack": null,
"organic": {
"clickstream_age_distribution": {
"18-24": 12,
"25-34": 37,
"35-44": 41,
"45-54": 7,
"55-64": 0
},
"clickstream_etv": 630.3387209999999,
"clickstream_gender_distribution": {
"female": 34,
"male": 65
},
"count": 3252,
"estimated_paid_traffic_cost": 79709.50598598632,
"etv": 16830.186164559796,
"is_down": 739,
"is_lost": 0,
"is_new": 919,
"is_up": 1441,
"pos_1": 22,
"pos_11_20": 579,
"pos_21_30": 386,
"pos_2_3": 26,
"pos_31_40": 333,
"pos_41_50": 317,
"pos_4_10": 353,
"pos_51_60": 273,
"pos_61_70": 290,
"pos_71_80": 256,
"pos_81_90": 217,
"pos_91_100": 200
},
"paid": {
"clickstream_age_distribution": {
"18-24": 0,
"25-34": 58,
"35-44": 41,
"45-54": 0,
"55-64": 0
},
"clickstream_etv": 271.27529999999996,
"clickstream_gender_distribution": {
"female": 38,
"male": 61
},
"count": 17,
"estimated_paid_traffic_cost": 3248.2200407981873,
"etv": 424.47499722242355,
"is_down": 1,
"is_lost": 0,
"is_new": 15,
"is_up": 0,
"pos_1": 11,
"pos_11_20": 0,
"pos_21_30": 0,
"pos_2_3": 5,
"pos_31_40": 0,
"pos_41_50": 0,
"pos_4_10": 1,
"pos_51_60": 0,
"pos_61_70": 0,
"pos_71_80": 0,
"pos_81_90": 0,
"pos_91_100": 0
}
},
"se_type": "google",
"subdomain": "dataforseo.com"
}
],
"items_count": 1,
"language_code": "en",
"location_code": 2840,
"se_type": "google",
"target": "dataforseo.com",
"total_count": 1
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.1108 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.1664 sec.",
"version": "0.1.20240514"
}
}
]
}
```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 a list of subdomains of the specified domain, along with the ranking distribution across organic and paid search. In addition to that, you will also get the estimated traffic volume of subdomains based on search volume and impressions.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/dataforseo/v3/dataforseo_labs/google/subdomains/live' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '[ { "filters": [ [ "metrics.organic.pos_1", "<>", 0 ], "or", [ "metrics.organic.pos_2_3", "<>", 0 ] ], "language_name": "English", "location_code": 2840, "target": "dataforseo.com" } ]'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "cost": 0.0101, "status_code": 20000, "status_message": "Ok.", "tasks": [ { "cost": 0.0101, "data": { "api": "dataforseo_labs", "filters": [ [ "metrics.organic.pos_1", "<>", 0 ], "or", [ "metrics.organic.pos_2_3", "<>", 0 ] ], "function": "subdomains", "language_name": "English", "location_code": 2840, "se_type": "google", "target": "dataforseo.com" }, "id": "06131916-1535-0384-0000-dbdae2640969", "path": [ "v3", "dataforseo_labs", "google", "subdomains", "live" ], "result": [ { "items": [ { "metrics": { "featured_snippet": null, "local_pack": null, "organic": { "clickstream_age_distribution": { "18-24": 12, "25-34": 37, "35-44": 41, "45-54": 7, "55-64": 0 }, "clickstream_etv": 630.3387209999999, "clickstream_gender_distribution": { "female": 34, "male": 65 }, "count": 3252, "estimated_paid_traffic_cost": 79709.50598598632, "etv": 16830.186164559796, "is_down": 739, "is_lost": 0, "is_new": 919, "is_up": 1441, "pos_1": 22, "pos_11_20": 579, "pos_21_30": 386, "pos_2_3": 26, "pos_31_40": 333, "pos_41_50": 317, "pos_4_10": 353, "pos_51_60": 273, "pos_61_70": 290, "pos_71_80": 256, "pos_81_90": 217, "pos_91_100": 200 }, "paid": { "clickstream_age_distribution": { "18-24": 0, "25-34": 58, "35-44": 41, "45-54": 0, "55-64": 0 }, "clickstream_etv": 271.27529999999996, "clickstream_gender_distribution": { "female": 38, "male": 61 }, "count": 17, "estimated_paid_traffic_cost": 3248.2200407981873, "etv": 424.47499722242355, "is_down": 1, "is_lost": 0, "is_new": 15, "is_up": 0, "pos_1": 11, "pos_11_20": 0, "pos_21_30": 0, "pos_2_3": 5, "pos_31_40": 0, "pos_41_50": 0, "pos_4_10": 1, "pos_51_60": 0, "pos_61_70": 0, "pos_71_80": 0, "pos_81_90": 0, "pos_91_100": 0 } }, "se_type": "google", "subdomain": "dataforseo.com" } ], "items_count": 1, "language_code": "en", "location_code": 2840, "se_type": "google", "target": "dataforseo.com", "total_count": 1 } ], "result_count": 1, "status_code": 20000, "status_message": "Ok.", "time": "0.1108 sec." } ], "tasks_count": 1, "tasks_error": 0, "time": "0.1664 sec.", "version": "0.1.20240514" }
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 — Dataforseo Labs / Google / Subdomains / Live with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.