APIMaster.ai
Data APIs/DataForSEO/Keyword and competitor research
Available

Get competing websites in Google search

This API will provide you with a full overview of ranking and traffic data of the competitor domains from organic and paid search. In addition to that, you will get the metrics specific to the keywords both competitor domains and your domain rank for within the same SERP.

POST/v1/dataforseo/dataforseo_labs/google/competitors_domain/live

Request parameters

ParameterTypeMeaning
exclude_domainsOptional or conditionalarrayexclude domains from the results
exclude_top_domainsOptional or conditionalbooleanindicates whether to exclude world's largest websites
filtersOptional or conditionalarrayarray of results filtering parameters
ignore_synonymsOptional or conditionalbooleanignore highly similar keywords
include_clickstream_dataOptional or conditionalbooleaninclude or exclude data from clickstream-based metrics in the result
intersecting_domainsOptional or conditionalarrayadditional domains for improving results accuracy
item_typesOptional or conditionalarraydisplay results by item type
language_codeOptional or conditionalstringlanguage code
language_nameOptional or conditionalstringfull name of the language
limitOptional or conditionalintegerthe maximum number of returned domains
location_codeOptional or conditionalintegerlocation code
location_nameOptional or conditionalstringfull name of the location
max_rank_groupOptional or conditionalintegermaximum rank up to which competitors will be considered
offsetOptional or conditionalintegeroffset in the results array of returned domains
order_byOptional or conditionalarrayresults sorting rules
tagOptional or conditionalstringuser-defined task identifier
targetRequiredstringdomain

Response

The JSON response includes status_code, status_message, tasks and task results. Check both the HTTP status and each task's status_code. A depth of 10 can include special search blocks, so it does not always mean ten organic links. The response's cost field is native API data; your final APIMaster fee is shown in the response headers and usage log.

task_post creates a task. Save its task ID, then use the matching tasks_ready and task_get APIs. Task results are private to the account that created them.

Model-restricted API keys must allow dataforseo. Callback URLs are not supported; retrieve asynchronous results with task_get.

Pricing and settlement

$0.1386Estimated price

Reference prices use example parameters and default account pricing, checked 2026-12-01. Actual fees vary with parameters, data volume and account pricing; the settled amount is final.

Request a free estimate before running a call. An estimate is not a fixed price or a hard spending cap. Your fee uses the actual settled usage and your account's current group multiplier once. The estimated amount is reserved from your wallet; unused funds are returned after settlement. Model subscriptions and trial credits do not cover these calls.

Use a unique Idempotency-Key for each intended call. Keep the same key and parameters when recovering a call. If the outcome or fee is pending, query /v1/data-requests/{request_id}; do not start another paid call with a new key.

400: invalid parameters; 401: invalid or expired key; 403: key permissions; 402: insufficient wallet or key quota; 409: idempotency conflict or request pending; 429: rate limit; 502/503: request or settlement unavailable. For every failure, preserve the request ID and check settlement before repeating a paid operation.

Code examples

curl --request POST 'https://apimaster.ai/v1/dataforseo/dataforseo_labs/google/competitors_domain/live' \
  --header 'Authorization: Bearer YOUR_APIMASTER_KEY' \
  --header 'Idempotency-Key: YOUR_UNIQUE_REQUEST_KEY' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "intersecting_domains": [
      "dentaly.org",
      "health.com",
      "trysnow.com"
    ],
    "language_name": "English",
    "limit": 3,
    "location_code": 2840,
    "target": "newmouth.com"
  }
]'
Download OpenAPI schema

Related APIs