SEO Competitors domain API
Get AnyAPI SEO competitor domains for a target domain with shared keyword counts and organic metrics as normalized JSON.
$0.18864/1k results, pay per request, no subscription.
{"domain": "gitlab.com","avgPosition": 14.2,"sumPosition": 61200,"intersections": 41208,"organicKeywords": 218044,"organicEtv": 912400}
Pricing
SEO Competitors domain API pricing
Call it
Get SEO competitors domain in one 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())
This sample shows 9 of 10 fields. See every field
{
"found": true,
"data": {
"competitors": [
{
"domain": "gitlab.com",
"avgPosition": 14.2,
"sumPosition": 61200,
"intersections": 41208,
"organicKeywords": 218044,
"organicEtv": 912400
},
{
"domain": "bitbucket.org",
"avgPosition": 21.6,
"sumPosition": 38400,
"intersections": 28914,
"organicKeywords": 121088,
"organicEtv": 401200
},
{
"domain": "sourceforge.net",
"avgPosition": 26.4,
"sumPosition": 29800,
"intersections": 19204,
"organicKeywords": 88044,
"organicEtv": 218400
}
]
}
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
One request, one response shape.
Every field you send and every field you get back, each with a real example.
Last verified 2026-10-31 · uptime and latency measured over 30d
Request body
JSON, posted to this endpoint.
- targetstring
github.com
Domain to analyze, without a protocol or leading www.
- languagestring
en
Language code for SEO competitor metrics.
- limitinteger
10
Maximum number of competitor domains to return. You are billed per returned result, so a lower limit costs less.
- locationinteger
2840
Location code for SEO competitor metrics. The default is the United States.
- orderByenum
intersections_desc
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
JSON, one example value per field.
SEO competitor domain records. Populated whenever the provider has data for the entity.
- avgPositionnumber
14.2
Average ranking position across shared keywords. Populated whenever the provider has data for the entity.
- domainstring
gitlab.com
Competing domain. Populated whenever the provider has data for the entity.
- intersectionsinteger
41208
Number of keywords shared with the target domain. Populated whenever the provider has data for the entity.
- organicEtvnumber
912400
Estimated monthly organic search traffic for the competitor domain.
- organicKeywordsinteger
218044
Number of organic search results where the competitor domain appears.
- sumPositioninteger
61200
Sum of ranking positions across shared keywords. Populated whenever the provider has data for the entity.
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
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, 100.0% of SEO competitors domain calls through AnyAPI succeeded, with a median response time of 1.4 seconds across 36 measured calls.