SEO API

SEO Backlink competitors API

Find the domains that share the most backlinks with a domain or URL, each with its authority rank and shared backlink count as normalized JSON.

POST/v1/run/seo.backlink_competitors
Requests
-
30d

Call it

Make your first request

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/seo.backlink_competitors",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={
        "target": ""
    },
)
print(res.json())
Open in
Get a free key
Sample response
{
  "data": {
    "competitors": [
      {
        "domain": "example.com",
        "rank": 1,
        "sharedBacklinks": 13
      }
    ],
    "totalCount": 12500
  },
  "found": true,
  "reason": "not_found"
}
Response interface
interface SeoBacklinkCompetitorsResponse {
  data: {
    competitors: {
      domain: string;
      rank?: number;
      sharedBacklinks?: number;
    }[];
    totalCount?: number;
  } | null;
  found: boolean;
  reason?: "not_found";
}

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

Reference

Request, response, and price

Last verified 2026-09-24 · uptime and latency measured over 30d
POST /v1/run/seo.backlink_competitors
curl -X POST https://api.getanyapi.com/v1/run/seo.backlink_competitors \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":10,"target":"ahrefs.com"}'
FieldTypeExample value
Request body
targetstring"ahrefs.com"Domain, subdomain, or full page URL to analyze. Send a domain without a protocol or leading www.
excludeLargeDomainsbooleanLeave out very large sites (such as google.com or wikipedia.org) that share backlinks with almost everyone.
limitinteger10Maximum number of competing domains to return. You are billed per returned result, so a lower limit costs less.
mainDomainOnlybooleanGroup results by registrable domain rather than listing subdomains separately.
Response
dataobject
data.competitorsobject[]Domains sharing backlinks with the target, most shared first. Populated whenever the provider has data for the entity.
data.competitors[].domainstringCompeting domain. Populated whenever the provider has data for the entity.
data.competitors[].rankintegerAuthority rank of the competing domain on a 0-1000 scale. Populated whenever the provider has data for the entity.
data.competitors[].sharedBacklinksintegerBacklinks the competing domain shares with the target. Populated whenever the provider has data for the entity.
data.totalCountintegerTotal competing domains, before the limit. Populated whenever the provider has data for the entity.
foundboolean
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.
Price
Price per request (ceiling)USD$0.0768
Price /1k resultsUSD$0.08

FAQ

About the SEO Backlink competitors API

The AnyAPI SEO Backlink competitors API returns SEO backlink competitors data as normalized JSON from one POST call to /v1/run/seo.backlink_competitors. Find the domains that share the most backlinks with a domain or URL, each with its authority rank and shared backlink count as normalized JSON. AnyAPI returns one normalized schema whichever source serves it. It costs $0.08 per 1,000 results, and never more than $0.0768 for a single request, in US dollars with no subscription and no monthly minimum.

It costs $0.08 per 1,000 results, and never more than $0.0768 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.

Find the domains that share the most backlinks with a domain or URL, each with its authority rank and shared backlink count 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.