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: $0.0288
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
targetstringYesThe domain to find competitors for, written without a scheme or `www`.
location_namestringYesWhich market to report on.
language_namestringYesWhich language to report on.
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":"example.com","location_name":"United States","language_name":"English","limit":20}}'
# If status is READY/RUNNING, poll GET /v1/runs/{runId} with the same API key.

Pricing

$0.0288 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