Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaSEOAvailable now

DataForSEO · Domain competitors

dataforseo/domains/competitors

Get SEO and search ranking data with DataForSEO · Domain competitors from Alexandria through one Spiral API key. Domains that compete with a target in Google results, with shared keywords, average position, and traffic. Needs a location and a language. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

Up to $0.17459 per run.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
target requiredtext—

Domain without https:// or www. A page URL is read as its domain.

limitnumber
1 to 700
100

Items to return, 1 to 700. DataForSEO allows 1000 (its default is 100); this connector stops at 700 so a call stays within 100 credits. Omitted, 100 is sent.

offsetnumber
0 to …
—

Items to skip, for the next page. Default 0.

filterstext—

JSON array of filter conditions in the DataForSEO syntax, at most 8, such as ["keyword_info.search_volume",">",100].

order_bylist—

Up to 3 sorting rules, each field,direction, such as keyword_info.search_volume,desc.

item_typeslist—

SERP element types to compare on: organic, paid, featured_snippet, local_pack. Default organic.

language_codetext—

Language code, such as en. Use this or language_name.

language_nametext—

Full language name, such as English. Use this or language_code.

location_codenumber—

DataForSEO location code, such as 2840 for the United States. Use this or location_name.

location_nametext—

Full location name, such as United States or London,England,United Kingdom. Use this or location_code.

max_rank_groupnumber
1 to 100
—

Only count rankings up to this position. Default 100.

exclude_domainslist—

Domains to drop from the results, up to 1000.

ignore_synonymstrue or false—

Count only core keywords. Default false.

exclude_top_domainstrue or false—

Drop the largest sites, such as wikipedia.org and amazon.com. Default false.

intersecting_domainslist—

Up to 20 domains known to share SERPs with the target.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "dataforseo/domains/competitors",
    "input": {
      "target": "<target>",
      "language_code": "<language_code>",
      "location_code": 1
    }
  }'

Frequently asked questions

How much does DataForSEO · Domain competitors cost?

Up to $0.17459 per run. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use DataForSEO · Domain competitors through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "dataforseo/domains/competitors"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use DataForSEO · Domain competitors?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use DataForSEO · Domain competitors?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.