SEO API

SEO Competitors domain API

Get AnyAPI SEO competitor domains for a target domain with shared keyword counts and organic metrics as normalized JSON.

POST/v1/run/seo.competitors_domain
Uptime
93.81%
30d · 97 calls
Requests
97
30d · weekly, last 12 wks
Response
0.8s
median · 30d

Call it

Make your first request

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/seo.competitors_domain",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={
        "target": ""
    },
)
print(res.json())
Open in
Get a free key
Sample response
{
  "data": {
    "competitors": [
      {
        "avgPosition": 1,
        "domain": "example.com",
        "intersections": 42,
        "organicEtv": 12.5,
        "organicKeywords": 42,
        "sumPosition": 1
      }
    ]
  },
  "found": true
}
Response interface
interface SeoCompetitorsDomainResponse {
  data: {
    competitors: {
      avgPosition?: number;
      domain: string;
      intersections: number;
      organicEtv?: number;
      organicKeywords?: number;
      sumPosition?: number;
    }[];
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/seo.competitors_domain
curl -X POST https://api.getanyapi.com/v1/run/seo.competitors_domain \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"language":"en","limit":10,"location":2840,"target":"github.com"}'
FieldTypeExample value
Request body
targetstring"github.com"Domain to analyze, without a protocol or leading www.
languagestring"en"Language code for SEO competitor metrics.
limitinteger10Maximum number of competitor domains to return. You are billed per returned result, so a lower limit costs less.
locationinteger2840Location code for SEO competitor metrics. The default is the United States.
orderByenumSort order for the returned competitors: by shared keyword count (intersections), organic keyword count, organic traffic value (etv), or average position. Omit for the default order.
Response
dataobject
data.competitorsobject[]SEO competitor domain records. Populated whenever the provider has data for the entity.
data.competitors[].avgPositionnumberAverage ranking position across shared keywords. Populated whenever the provider has data for the entity.
data.competitors[].domainstringCompeting domain. Populated whenever the provider has data for the entity.
data.competitors[].intersectionsintegerNumber of keywords shared with the target domain. Populated whenever the provider has data for the entity.
data.competitors[].organicEtvnumberEstimated monthly organic search traffic for the competitor domain.
data.competitors[].organicKeywordsintegerNumber of organic search results where the competitor domain appears.
data.competitors[].sumPositionintegerSum of ranking positions across shared keywords. Populated whenever the provider has data for the entity.
foundboolean
Price
Price per request (ceiling)USD$0.18864
Price /1k resultsUSD$0.18864

FAQ

About the SEO Competitors domain API

The AnyAPI SEO Competitors domain API returns SEO competitors domain data as normalized JSON from one POST call to /v1/run/seo.competitors_domain. Get AnyAPI SEO competitor domains for a target domain with shared keyword counts and organic metrics as normalized JSON. AnyAPI returns one normalized schema whichever source serves it. It costs $0.19 per 1,000 results, and never more than $0.18864 for a single request, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 93.8% of SEO competitors domain calls through AnyAPI succeeded, with a median response time of 0.8 seconds across 97 measured calls.

It costs $0.19 per 1,000 results, and never more than $0.18864 for a single request, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Get AnyAPI SEO competitor domains for a target domain with shared keyword counts and organic metrics as normalized JSON. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 93.8% of SEO competitors domain calls through AnyAPI succeeded, with a median response time of 0.8 seconds across 97 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.