SEO API

SEO Referring domains API

Get AnyAPI SEO referring domains for a domain or URL, each with its backlink count, authority rank, spam score, and first seen date as normalized JSON.

$0.08/1k results, pay per request, no subscription.

What the API returnedreferringDomains[0]
{
"domain": "techcrunch.com",
"rank": 912,
"backlinks": 41,
"spamScore": 1,
"referringPages": 12,
"referringPagesNofollow": 3,
"brokenBacklinks": 0,
"firstSeenUtc": 1701388800,
... 14 more fields
}
Uptime
100.00%
30d · 32 calls
Requests
32
30d · weekly, last 12 wks
Response
0.8s
median · 30d

Pricing

SEO Referring domains API pricing

You pay
$0.80
$0.08/1k results, only for what you use. No monthly plan.
One request costs at most $0.0768 (960 results).
The $0.10 starting balance covers at least 1 requests.

Call it

Get SEO referring domains in one request

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/seo.referring_domains",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={
        "target": ""
    },
)
print(res.json())
Open in
Get a free key
Sample response

This sample shows 25 of 27 fields. See every field

{
  "found": true,
  "data": {
    "totalCount": 6120,
    "referringDomains": [
      {
        "domain": "techcrunch.com",
        "rank": 912,
        "backlinks": 41,
        "spamScore": 1,
        "referringPages": 12,
        "referringPagesNofollow": 3,
        "brokenBacklinks": 0,
        "firstSeenUtc": 1701388800,
        "referringDomains": 88400,
        "referringDomainsNofollow": 12100,
        "referringMainDomains": 76200,
        "referringMainDomainsNofollow": 10900,
        "referringIps": 61200,
        "referringSubnets": 42100,
        "linksByTld": {
          "com": 30,
          "io": 6
        },
        "linksByType": {
          "anchor": 38
        },
        "linksByAttribute": {
          "nofollow": 3
        },
        "linksByPlatformType": {
          "news": 41
        },
        "linksBySemanticLocation": {
          "article": 39
        },
        "linksByCountry": {
          "us": 34
        }
      },
      {
        "domain": "producthunt.com",
        "rank": 861,
        "backlinks": 128,
        "spamScore": 2,
        "referringPages": 34,
        "referringPagesNofollow": 34,
        "brokenBacklinks": 2,
        "firstSeenUtc": 1685577600,
        "referringDomains": 52100,
        "referringMainDomains": 47800,
        "referringIps": 38900,
        "linksByTld": {
          "com": 90
        },
        "linksByType": {
          "anchor": 120
        },
        "linksByAttribute": {
          "nofollow": 128
        },
        "linksByCountry": {
          "us": 70
        }
      },
      {
        "domain": "indiehackers.com",
        "rank": 704,
        "backlinks": 19,
        "spamScore": 4,
        "referringPages": 9,
        "referringPagesNofollow": 2,
        "brokenBacklinks": 0,
        "firstSeenUtc": 1717200000,
        "lostUtc": 1751328000,
        "referringDomains": 8900,
        "referringMainDomains": 8100,
        "linksByTld": {
          "com": 19
        },
        "linksByType": {
          "anchor": 17,
          "image": 2
        },
        "linksByCountry": {
          "us": 15
        }
      }
    ]
  }
}

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-11-08 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • targetstring

    linear.app

    Domain, subdomain, or full page URL to analyze. Send a domain without a protocol or leading www.

  • includeSubdomainsboolean

    true

    Count links pointing at the target's subdomains as well as the target itself.

  • limitinteger

    10

    Maximum number of referring domains to return. You are billed per returned result, so a lower limit costs less.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each referringDomaindata.referringDomains[]

Domains linking to the target. Populated whenever the provider has data for the entity.

  • backlinksinteger

    41

    Backlinks from this domain to the target. Populated whenever the provider has data for the entity.

  • brokenBacklinksinteger

    0

    Backlinks from this domain to target pages that no longer resolve.

  • brokenPagesinteger

    Target pages with an error status that this domain still links to.

  • domainstring

    techcrunch.com

    Referring domain. Populated whenever the provider has data for the entity.

  • firstSeenUtcnumber

    1701388800

    When a link from this domain was first seen. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • linksByAttributeobject

    Count of this domain's links to the target, by rel attribute (nofollow, sponsored, ugc, noopener, and so on).

  • linksByCountryobject

    Count of this domain's links to the target, by country code of the linking domain. An empty key means the country is unknown.

  • linksByPlatformTypeobject

    Count of this domain's links to the target, by type of linking site (blogs, news, ecommerce, and so on).

  • linksBySemanticLocationobject

    Count of this domain's links to the target, by the page section holding the link (article, footer, nav, and so on). An empty key means no section was detected.

  • linksByTldobject

    Count of this domain's links to the target, by top-level domain of the linking page.

  • linksByTypeobject

    Count of this domain's links to the target, by link type (anchor, image, redirect, canonical, alternate).

  • lostUtcnumber

    When this domain's last link to the target was lost, if it was. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • rankinteger

    912

    Authority rank of the referring domain on a 0-1000 scale. Populated whenever the provider has data for the entity.

  • referringDomainsinteger

    88400

    Distinct domains linking to this referring domain.

  • referringDomainsNofollowinteger

    12100

    Domains whose every link to this referring domain is nofollow.

  • referringIpsinteger

    61200

    Distinct IP addresses among this domain's linking pages.

  • referringMainDomainsinteger

    76200

    Distinct registrable domains linking to this referring domain.

  • referringMainDomainsNofollowinteger

    10900

    Registrable domains whose every link to this referring domain is nofollow.

  • referringPagesinteger

    12

    Pages on this domain linking to the target.

  • referringPagesNofollowinteger

    3

    Pages on this domain whose links to the target are all nofollow.

  • referringSubnetsinteger

    42100

    Distinct subnets among this domain's linking pages.

  • spamScoreinteger

    1

    Average spam score of this domain's backlinks on a 0-100 scale.

datadata
  • totalCountinteger

    6120

    Total referring domains, before the limit. Populated whenever the provider has data for the entity.

top level
  • 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.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the SEO Referring domains API

The AnyAPI SEO Referring domains API returns SEO referring domains data as normalized JSON from one POST call to /v1/run/seo.referring_domains. Get AnyAPI SEO referring domains for a domain or URL, each with its backlink count, authority rank, spam score, and first seen date 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. Over the last 30 days, 100.0% of SEO referring domains calls through AnyAPI succeeded, with a median response time of 0.8 seconds across 32 measured calls.

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 and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Get AnyAPI SEO referring domains for a domain or URL, each with its backlink count, authority rank, spam score, and first seen date 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, 100.0% of SEO referring domains calls through AnyAPI succeeded, with a median response time of 0.8 seconds across 32 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers at least 1 SEO Referring domains calls at up to $0.0768 each.

Send a POST request to https://api.getanyapi.com/v1/run/seo.referring_domains with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.