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
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())
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 30dPOST /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"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| target | string | "ahrefs.com"Domain, subdomain, or full page URL to analyze. Send a domain without a protocol or leading www. |
| includeSubdomains | boolean | Count links pointing at the target's subdomains as well as the target itself. |
| Response | ||
| data | object | |
| data.backlinks | integer | Total live backlinks pointing at the target. Populated whenever the provider has data for the entity. |
| data.backlinksSpamScore | integer | Average spam score of the backlinks on a 0-100 scale. |
| data.brokenBacklinks | integer | Backlinks pointing at target pages that no longer resolve. |
| data.brokenPages | integer | Target pages with an error status that still receive backlinks. |
| data.cms | string | Content management system detected on the target. |
| data.country | string | Country code of the target's server. |
| data.crawledPages | integer | Target pages crawled. |
| data.externalLinks | integer | Outbound links from the target to other domains. |
| data.firstSeenUtc | number | When 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.internalLinks | integer | Links between pages of the target. |
| data.ipAddress | string | IP address the target resolves to. |
| data.isIp | boolean | True when the target is a bare IP address. |
| data.linksByAttribute | object | Count of referring links to the target, by rel attribute (nofollow, sponsored, ugc, noopener, and so on). |
| data.linksByCountry | object | Count of referring links to the target, by country code of the linking domain. An empty key means the country is unknown. |
| data.linksByPlatformType | object | Count of referring links to the target, by type of linking site (blogs, news, ecommerce, and so on). |
| data.linksBySemanticLocation | object | Count 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.linksByTld | object | Count of referring links to the target, by top-level domain of the linking page. |
| data.linksByType | object | Count of referring links to the target, by link type (anchor, image, redirect, canonical, alternate). |
| data.lostUtc | number | When 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.platformTypes | string[] | Site types detected for the target, such as blogs, news, or ecommerce. |
| data.rank | integer | Authority rank of the target on a 0-1000 scale, derived from its backlink profile. Populated whenever the provider has data for the entity. |
| data.referringDomains | integer | Distinct domains linking to the target. Populated whenever the provider has data for the entity. |
| data.referringDomainsNofollow | integer | Referring domains whose every link is nofollow. |
| data.referringIps | integer | Distinct IP addresses hosting referring pages. |
| data.referringMainDomains | integer | Distinct registrable domains linking to the target. |
| data.referringMainDomainsNofollow | integer | Referring registrable domains whose every link is nofollow. |
| data.referringPages | integer | Distinct pages linking to the target. |
| data.referringPagesNofollow | integer | Referring pages whose links are all nofollow. |
| data.referringSubnets | integer | Distinct subnets hosting referring pages. |
| data.server | string | Web server or CDN serving the target. |
| data.target | string | Domain or URL the totals describe. Populated whenever the provider has data for the entity. |
| data.targetSpamScore | integer | Spam score of the target itself on a 0-100 scale. |
| found | boolean | |
| 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 | USD | $0.02885 |
| Price /1k req | USD | $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.
More to call
Other SEO endpoints
Backlink anchorsfrom $0.08 /1k resultsBacklink competitorsfrom $0.08 /1k resultsBacklinksfrom $0.08 /1k resultsCompetitors domainfrom $0.18864 /1k resultsDomain intersectionfrom $0.18864 /1k resultsDomain pagesfrom $0.08 /1k resultsDomain rank overviewfrom $14.55 /1k reqDomain technologiesfrom $14.40 /1k reqDomains by technologyfrom $1.35 /1k resultsKeyword difficultyfrom $0.17438 /1k keywordsKeyword ideasfrom $0.17496 /1k resultsKeyword overviewfrom $0.180543 /1k keywordsKeyword suggestionsfrom $0.17496 /1k resultsLlm mentionsfrom $1.32 /1k resultsLlm top brandsfrom $1.32 /1k resultsLlm top domainsfrom $1.32 /1k resultsLlm top pagesfrom $1.32 /1k resultsLocal packfrom $2.40 /1k reqRanked keywordsfrom $0.17496 /1k resultsReferring domainsfrom $0.08 /1k resultsRelated keywordsfrom $0.17496 /1k resultsSearch intentfrom $0.17438 /1k keywordsSearch volumefrom $108.00 /1k reqTop pagesfrom $0.165 /1k results