DataForSEO logo

Competitor domains

by DataForSEO

dataforseo/labs_google_competitors_domain_live

Find the domains competing with a site for the same queries.

Billed per
call
Price
Price: —
Provider
DataForSEO
Timeout
3 min

Overview

Discovers a website's real search competitors by finding the other domains that repeatedly appear alongside it for the same queries. Each competitor is returned with the number of keywords it shares with the target, its average and summed position across those queries, and its own visibility profile, so a genuinely comparable rival can be told from a large site that merely overlaps. A market must be given here, because competitive sets differ sharply between countries. The internet's largest generic destinations can be excluded, and a rank ceiling sets how deep a competitor must appear to count.

Competitor domains with their shared keyword count, average position, and their own visibility metrics.

Input

These go in the input object of the run request.

FieldTypeRequiredDescription
targetstringYesDomain. the domain name of the target website the domain should be specified without https:// and www.
location_namestringNoFull name of the location. Required if you don't specify location_code.
location_codeintegerNoLocation code. Required if you don't specify location_name.
language_namestringNoFull name of the language. Required if you don't specify language_code.
language_codestringNoLanguage code. Required if you don't specify language_name.
limitintegerNoHow many rows to return.
Default: 100
Maximum: 1000
exclude_top_domainsbooleanNoDrop the largest generic sites from the comparison.
Default: false
max_rank_groupintegerNoOnly count competitors ranking at least this high.
Default: 100

Requests up to 1 MB.

Example

Use your own API key and a saved idempotency key for each new job. Replace image or media placeholders with your own publicly reachable HTTPS URLs. Keep the same key and request body when recovering a timeout.

# Set once per job; reuse this key and the identical body after a timeout.
: "${AGENTSKY_IDEMPOTENCY_KEY:?Set a unique, saved key for this job}"
curl --fail-with-body https://gateway.agentsky.dev/v1/run \
  -H "authorization: Bearer $AGENTSKY_API_KEY" \
  -H "content-type: application/json" \
  -H "Idempotency-Key: $AGENTSKY_IDEMPOTENCY_KEY" \
  -d '{"provider":"dataforseo","endpoint":"labs_google_competitors_domain_live","input":{"target":"newmouth.com","language_name":"English","location_code":2840}}'
# If status is READY/RUNNING, poll GET /v1/runs/{runId} with the same API key.

Pricing

— per call using your plan when signed in. Reported usage is billed under your account plan. Read the final customer charge from price.amount.value after the run finishes. A RUNNING response is not the final bill.

Questions