DataForSEO Labs Google Subdomains
From 14.4 credits/call
ae_dataforseo_labs_google_subdomains
List subdomains for a domain with organic and paid search rankings and estimated traffic, using DataForSEO.
From 14.4 credits/call
Pricing
From 14.4 credits/call
| Condition | Charge |
|---|---|
| Without clickstream data (default) | 14.4 credits base fee + 0.2 credits per returned record |
| With clickstream data | 28.8 credits base fee + 0.4 credits per returned record |
Charges depend on clickstream inclusion and the number of results actually returned.
The starting price is the base query fee without clickstream data; returned records add the listed charges.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
tasks | array | Yes | No parameter description. | — |
tasks[].tag | string | null | No | No parameter description. | — |
tasks[].limit | integer | null | No | No parameter description. | — |
tasks[].offset | integer | null | No | No parameter description. | — |
tasks[].target | string | No | <em>domain</em><br><strong>required field</strong><br>the domain name of the target website<br>the domain should be specified without <code>https://</code> and <code>www.</code> | — |
tasks[].filters | array | null | No | No parameter description. | — |
tasks[].order_by | array | null | No | No parameter description. | — |
tasks[].item_types | array | null | No | No parameter description. | — |
tasks[].language_code | string | null | No | No parameter description. | — |
tasks[].language_name | string | null | No | No parameter description. | — |
tasks[].location_code | integer | null | No | No parameter description. | — |
tasks[].location_name | string | null | No | No parameter description. | — |
tasks[].ignore_synonyms | boolean | null | No | No parameter description. | — |
tasks[].historical_serp_mode | string | null | No | No parameter description. | — |
tasks[].include_clickstream_data | boolean | null | No | No parameter description. | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_dataforseo_labs_google_subdomains' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"tasks": [
{
"language_code": "en",
"limit": 1,
"location_code": 2840,
"target": "openai.com"
}
]
}
}'Response exampleresponse.json
{
"cost": 0.01212,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.01212,
"data": {
"api": "dataforseo_labs",
"function": "subdomains",
"language_code": "en",
"limit": 1,
"location_code": 2840,
"se_type": "google"
},
"id": "10261119-2802-0384-0000-bee68dfc36ef",
"path": [
"v3"
],
"result": [
{
"items": [
{}
],
"items_count": 1,
"language_code": "en",
"location_code": 2840,
"se_type": "google",
"target": "openai.com"
}
],
"result_count": 1
}
],
"tasks_count": 1,
"tasks_error": 0
}This example shows part of the response. Copied content is valid JSON.

