SEO Competitors domain API
Get AnyAPI SEO competitor domains for a target domain with shared keyword counts and organic metrics as normalized JSON.
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())
{
"data": {
"competitors": [
{
"avgPosition": 1,
"domain": "example.com",
"intersections": 42,
"organicEtv": 12.5,
"organicKeywords": 42,
"sumPosition": 1
}
]
},
"found": true
}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 30dcurl -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"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| target | string | "github.com"Domain to analyze, without a protocol or leading www. |
| language | string | "en"Language code for SEO competitor metrics. |
| limit | integer | 10Maximum number of competitor domains to return. You are billed per returned result, so a lower limit costs less. |
| location | integer | 2840Location code for SEO competitor metrics. The default is the United States. |
| orderBy | enum | Sort 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 | ||
| data | object | |
| data.competitors | object[] | SEO competitor domain records. Populated whenever the provider has data for the entity. |
| data.competitors[].avgPosition | number | Average ranking position across shared keywords. Populated whenever the provider has data for the entity. |
| data.competitors[].domain | string | Competing domain. Populated whenever the provider has data for the entity. |
| data.competitors[].intersections | integer | Number of keywords shared with the target domain. Populated whenever the provider has data for the entity. |
| data.competitors[].organicEtv | number | Estimated monthly organic search traffic for the competitor domain. |
| data.competitors[].organicKeywords | integer | Number of organic search results where the competitor domain appears. |
| data.competitors[].sumPosition | integer | Sum of ranking positions across shared keywords. Populated whenever the provider has data for the entity. |
| found | boolean | |
| Price | ||
| Price per request (ceiling) | USD | $0.18864 |
| Price /1k results | USD | $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.