API para SEO: Domínios de referência
Obtenha pela AnyAPI SEO os domínios de referência de um domínio ou URL, cada um com contagem de backlinks, ranking de autoridade, spam score e data em que foi visto pela primeira vez, em JSON normalizado.
Como chamar
Faça sua primeira requisição
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())
{
"data": {
"referringDomains": [
{
"backlinks": 42,
"brokenBacklinks": 42,
"brokenPages": 29,
"domain": "example.com",
"firstSeenUtc": 12.5,
"linksByAttribute": {},
"linksByCountry": {},
"linksByPlatformType": {},
"linksBySemanticLocation": {},
"linksByTld": {},
"linksByType": {},
"lostUtc": 12.5,
"rank": 1,
"referringDomains": 42,
"referringDomainsNofollow": 42,
"referringIps": 42,
"referringMainDomains": 42,
"referringMainDomainsNofollow": 42,
"referringPages": 29,
"referringPagesNofollow": 29,
"referringSubnets": 42,
"spamScore": 5
}
],
"totalCount": 12500
},
"found": true,
"reason": "not_found"
}interface SeoReferringDomainsResponse {
data: {
referringDomains: {
backlinks?: number;
brokenBacklinks?: number;
brokenPages?: number;
domain: string;
firstSeenUtc?: number;
linksByAttribute?: {
};
linksByCountry?: {
};
linksByPlatformType?: {
};
linksBySemanticLocation?: {
};
linksByTld?: {
};
linksByType?: {
};
lostUtc?: number;
rank?: number;
referringDomains?: number;
referringDomainsNofollow?: number;
referringIps?: number;
referringMainDomains?: number;
referringMainDomainsNofollow?: number;
referringPages?: number;
referringPagesNofollow?: number;
referringSubnets?: number;
spamScore?: number;
}[];
totalCount?: number;
} | null;
found: boolean;
reason?: "not_found";
}Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.
Referência
Requisição, resposta e preço
Última verificação em 2026-09-29 · disponibilidade e latência medidas em 30dcurl -X POST https://api.getanyapi.com/v1/run/seo.referring_domains \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":10,"target":"ahrefs.com"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| target | string | "ahrefs.com"Domínio, subdomínio ou URL completa da página a analisar. Envie o domínio sem protocolo nem www no início. |
| includeSubdomains | boolean | Conta também os links que apontam para os subdomínios do alvo, além do próprio alvo. |
| limit | integer | 10Número máximo de domínios de referência a retornar. A cobrança é por resultado retornado, então um limite menor custa menos. |
| Resposta | ||
| data | object | |
| data.referringDomains | object[] | Domains linking to the target. Populated whenever the provider has data for the entity. |
| data.referringDomains[].backlinks | integer | Backlinks from this domain to the target. Populated whenever the provider has data for the entity. |
| data.referringDomains[].brokenBacklinks | integer | Backlinks from this domain to target pages that no longer resolve. |
| data.referringDomains[].brokenPages | integer | Target pages with an error status that this domain still links to. |
| data.referringDomains[].domain | string | Referring domain. Populated whenever the provider has data for the entity. |
| data.referringDomains[].firstSeenUtc | number | 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. |
| data.referringDomains[].linksByAttribute | object | Count of this domain's links to the target, by rel attribute (nofollow, sponsored, ugc, noopener, and so on). |
| data.referringDomains[].linksByCountry | object | Count of this domain's links to the target, by country code of the linking domain. An empty key means the country is unknown. |
| data.referringDomains[].linksByPlatformType | object | Count of this domain's links to the target, by type of linking site (blogs, news, ecommerce, and so on). |
| data.referringDomains[].linksBySemanticLocation | object | 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. |
| data.referringDomains[].linksByTld | object | Count of this domain's links to the target, by top-level domain of the linking page. |
| data.referringDomains[].linksByType | object | Count of this domain's links to the target, by link type (anchor, image, redirect, canonical, alternate). |
| data.referringDomains[].lostUtc | number | 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. |
| data.referringDomains[].rank | integer | Authority rank of the referring domain on a 0-1000 scale. Populated whenever the provider has data for the entity. |
| data.referringDomains[].referringDomains | integer | Distinct domains linking to this referring domain. |
| data.referringDomains[].referringDomainsNofollow | integer | Domains whose every link to this referring domain is nofollow. |
| data.referringDomains[].referringIps | integer | Distinct IP addresses among this domain's linking pages. |
| data.referringDomains[].referringMainDomains | integer | Distinct registrable domains linking to this referring domain. |
| data.referringDomains[].referringMainDomainsNofollow | integer | Registrable domains whose every link to this referring domain is nofollow. |
| data.referringDomains[].referringPages | integer | Pages on this domain linking to the target. |
| data.referringDomains[].referringPagesNofollow | integer | Pages on this domain whose links to the target are all nofollow. |
| data.referringDomains[].referringSubnets | integer | Distinct subnets among this domain's linking pages. |
| data.referringDomains[].spamScore | integer | Average spam score of this domain's backlinks on a 0-100 scale. |
| data.totalCount | integer | Total referring domains, before the limit. Populated whenever the provider has data for the entity. |
| 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. |
| Preço | ||
| Preço por requisição (teto) | USD | US$ 0,0768 |
| Preço /mil resultados | USD | US$ 0,08 |
Dúvidas frequentes
Sobre o endpoint Domínios de referência da API para SEO
O endpoint Domínios de referência da AnyAPI para SEO retorna dados de SEO em JSON normalizado com uma chamada POST para /v1/run/seo.referring_domains. Obtenha pela AnyAPI SEO os domínios de referência de um domínio ou URL, cada um com contagem de backlinks, ranking de autoridade, spam score e data em que foi visto pela primeira vez, em JSON normalizado. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa US$ 0,08 por mil resultados, e nunca mais de US$ 0,0768 por requisição, em dólares, sem assinatura e sem mínimo mensal.