DataForSEO Labs Google SERP Competitors
From 14.4 credits/call
ae_dataforseo_labs_google_serp_competitors
Discover competitors ranking for specific keywords using DataForSEO. Get SERP positions, visibility scores, and estimated traffic volumes for domains competing on your target terms.
From 14.4 credits/call
Pricing
From 14.4 credits/call
| Condition | Charge |
|---|---|
| Base processing fee per call | 14.4 credits |
| Per record | 0.2 credits |
Charges depend on the actual returned results.
The starting price is the base query fee; 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[].filters | array | null | No | No parameter description. | — |
tasks[].keywords | array | No | <em>keywords array</em><br><strong>required field</strong><br>the results will be based on the keywords you specify in this array<br>UTF-8 encoding;<br>the keywords will be converted to lowercase format;<br><strong>you can specify the maximum of 200 keywords</strong><p>learn more about rules and limitations of <code>keyword</code> and <code>keywords</code> fields in DataForSEO APIs in this <a href="https://dataforseo.com/help-center/rules-and-limitations-of-keyword-and-keywords-fields-in-dataforseo-apis" rel="noopener noreferrer" target="_blank">Help Center article</a> | — |
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 | No | <em>full name of the language</em><br><strong>required field if you don't specify</strong> <code>language_code</code><br><strong>Note:</strong> it is required to specify either <code>language_name</code> or <code>language_code</code><br>you can receive the list of available languages with their <code>language_name</code> parameters by making a separate request to the <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code><br>example:<br><code class="long-string">English</code> | — |
tasks[].location_code | integer | No | <em>unique location identifier</em><br><strong>required field if you don't specify</strong> <code>location_name</code><br><strong>Note:</strong> it is required to specify either <code>location_name</code> or <code>location_code</code><br>you can receive the list of available locations with their <code>location_code</code> parameters by making a separate request to the <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code><br>example:<br><code class="long-string">2840</code> | — |
tasks[].location_name | string | No | <em>full name of the location</em><br><strong>required field if you don't specify</strong> <code>location_code</code><br><strong>Note:</strong> it is required to specify either <code>location_name</code> or <code>location_code</code><br>you can receive the list of available locations with <code>location_name</code> parameters by making a separate request to the <br><code>https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages</code><br>example:<br><code class="long-string">United Kingdom</code> | — |
tasks[].include_subdomains | 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_serp_competitors' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"tasks": [
{
"keywords": [
"crm for small business",
"zendesk alternatives",
"freight class calculator",
"concrete calculator",
"best headless cms",
"supabase vs firebase"
],
"language_code": "en",
"limit": 10,
"location_code": 2840
}
]
}
}'Response exampleresponse.json
{
"cost": 0.0132,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.0132,
"data": {
"api": "dataforseo_labs",
"function": "serp_competitors",
"keywords": [
"crm for small business"
],
"language_code": "en",
"limit": 10,
"location_code": 2840
},
"id": "11040154-2802-0383-0000-5d6def293725",
"path": [
"v3"
],
"result": [
{
"items": [
{}
],
"items_count": 10,
"language_code": "en",
"location_code": 2840,
"se_type": "google",
"seed_keywords": [
"crm for small business"
]
}
],
"result_count": 1
}
],
"tasks_count": 1,
"tasks_error": 0
}This example shows part of the response. Copied content is valid JSON.

