SEO API

SEO Backlinks summary API

Get AnyAPI SEO backlink profile totals for a domain or URL: backlinks, referring domains, authority rank, spam score, and broken links as normalized JSON.

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

Pricing

One price, in dollars

Providers
Owl- served- uptime- p50$28.85/1k reqflat

Call it

Make your first request

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/seo.backlinks_summary",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={
        "target": ""
    },
)
print(res.json())
Open in
Get a free key
Sample response
{
  "data": {
    "backlinks": 42,
    "backlinksSpamScore": 5,
    "brokenBacklinks": 42,
    "brokenPages": 29,
    "cms": "example",
    "country": "US",
    "crawledPages": 29,
    "externalLinks": 42,
    "firstSeenUtc": 12.5,
    "internalLinks": 42,
    "ipAddress": "123 Main St",
    "isIp": true,
    "linksByAttribute": {},
    "linksByCountry": {},
    "linksByPlatformType": {},
    "linksBySemanticLocation": {},
    "linksByTld": {},
    "linksByType": {},
    "lostUtc": 12.5,
    "platformTypes": [
      "general"
    ],
    "rank": 1,
    "referringDomains": 42,
    "referringDomainsNofollow": 42,
    "referringIps": 42,
    "referringMainDomains": 42,
    "referringMainDomainsNofollow": 42,
    "referringPages": 29,
    "referringPagesNofollow": 29,
    "referringSubnets": 42,
    "server": "example",
    "target": "example",
    "targetSpamScore": 5
  },
  "found": true,
  "reason": "not_found"
}
Response interface
interface SeoBacklinksSummaryResponse {
  data: {
    backlinks?: number;
    backlinksSpamScore?: number;
    brokenBacklinks?: number;
    brokenPages?: number;
    cms?: string;
    country?: string;
    crawledPages?: number;
    externalLinks?: number;
    firstSeenUtc?: number;
    internalLinks?: number;
    ipAddress?: string;
    isIp?: boolean;
    linksByAttribute?: {
    };
    linksByCountry?: {
    };
    linksByPlatformType?: {
    };
    linksBySemanticLocation?: {
    };
    linksByTld?: {
    };
    linksByType?: {
    };
    lostUtc?: number;
    platformTypes?: string[];
    rank?: number;
    referringDomains?: number;
    referringDomainsNofollow?: number;
    referringIps?: number;
    referringMainDomains?: number;
    referringMainDomainsNofollow?: number;
    referringPages?: number;
    referringPagesNofollow?: number;
    referringSubnets?: number;
    server?: string;
    target: string;
    targetSpamScore?: 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.backlinks_summary
curl -X POST https://api.getanyapi.com/v1/run/seo.backlinks_summary \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"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.
includeSubdomainsbooleanCount links pointing at the target's subdomains as well as the target itself.
Response
dataobject
data.backlinksintegerTotal live backlinks pointing at the target. Populated whenever the provider has data for the entity.
data.backlinksSpamScoreintegerAverage spam score of the backlinks on a 0-100 scale.
data.brokenBacklinksintegerBacklinks pointing at target pages that no longer resolve.
data.brokenPagesintegerTarget pages with an error status that still receive backlinks.
data.cmsstringContent management system detected on the target.
data.countrystringCountry code of the target's server.
data.crawledPagesintegerTarget pages crawled.
data.externalLinksintegerOutbound links from the target to other domains.
data.firstSeenUtcnumberWhen a backlink to the target was first seen. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
data.internalLinksintegerLinks between pages of the target.
data.ipAddressstringIP address the target resolves to.
data.isIpbooleanTrue when the target is a bare IP address.
data.linksByAttributeobjectCount of referring links to the target, by rel attribute (nofollow, sponsored, ugc, noopener, and so on).
data.linksByCountryobjectCount of referring links to the target, by country code of the linking domain. An empty key means the country is unknown.
data.linksByPlatformTypeobjectCount of referring links to the target, by type of linking site (blogs, news, ecommerce, and so on).
data.linksBySemanticLocationobjectCount of referring 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.
data.linksByTldobjectCount of referring links to the target, by top-level domain of the linking page.
data.linksByTypeobjectCount of referring links to the target, by link type (anchor, image, redirect, canonical, alternate).
data.lostUtcnumberWhen the target lost its last backlink, if it has. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
data.platformTypesstring[]Site types detected for the target, such as blogs, news, or ecommerce.
data.rankintegerAuthority rank of the target on a 0-1000 scale, derived from its backlink profile. Populated whenever the provider has data for the entity.
data.referringDomainsintegerDistinct domains linking to the target. Populated whenever the provider has data for the entity.
data.referringDomainsNofollowintegerReferring domains whose every link is nofollow.
data.referringIpsintegerDistinct IP addresses hosting referring pages.
data.referringMainDomainsintegerDistinct registrable domains linking to the target.
data.referringMainDomainsNofollowintegerReferring registrable domains whose every link is nofollow.
data.referringPagesintegerDistinct pages linking to the target.
data.referringPagesNofollowintegerReferring pages whose links are all nofollow.
data.referringSubnetsintegerDistinct subnets hosting referring pages.
data.serverstringWeb server or CDN serving the target.
data.targetstringDomain or URL the totals describe. Populated whenever the provider has data for the entity.
data.targetSpamScoreintegerSpam score of the target itself on a 0-100 scale.
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 requestUSD$0.02885
Price /1k reqUSD$28.85

FAQ

About the SEO Backlinks summary API

The AnyAPI SEO Backlinks summary API returns SEO backlinks summary data as normalized JSON from one POST call to /v1/run/seo.backlinks_summary. Get AnyAPI SEO backlink profile totals for a domain or URL: backlinks, referring domains, authority rank, spam score, and broken links as normalized JSON. AnyAPI returns one normalized schema whichever source serves it. It costs from $28.85 per 1,000 requests, in US dollars with no subscription and no monthly minimum.

It costs from $28.85 per 1,000 requests, 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 backlink profile totals for a domain or URL: backlinks, referring domains, authority rank, spam score, and broken links 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.