API para SEO: Interseção de domínios
Obtenha pela AnyAPI SEO a sobreposição de palavras-chave entre dois domínios, com os rankings, URLs, volume, CPC e dificuldade de cada domínio, em JSON normalizado.
Como chamar
Faça sua primeira requisição
import os, requests res = requests.post( "https://api.getanyapi.com/v1/run/seo.domain_intersection", headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"}, json={ "target1": "", "target2": "" }, ) print(res.json())
{
"data": {
"keywords": [
{
"bidHigh": 1024,
"bidLow": 1024,
"competition": "example",
"cpc": 12.5,
"firstRank": 1,
"firstTitle": "Example title",
"firstUrl": "https://example.com/page",
"keyword": "a1b2c3d4",
"keywordDifficulty": 42,
"searchIntent": "example",
"searchVolume": 12500,
"secondRank": 1,
"secondTitle": "Example title",
"secondUrl": "https://example.com/page",
"updatedUtc": 12.5
}
]
},
"found": true,
"reason": "not_found"
}interface SeoDomainIntersectionResponse {
data: {
keywords: {
bidHigh?: number;
bidLow?: number;
competition?: string;
cpc?: number;
firstRank: number;
firstTitle?: string;
firstUrl?: string;
keyword: string;
keywordDifficulty?: number;
searchIntent?: string;
searchVolume?: number;
secondRank?: number;
secondTitle?: string;
secondUrl?: string;
updatedUtc?: 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.domain_intersection \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"language":"en","limit":10,"location":2840,"target1":"github.com","target2":"gitlab.com"}'| Campo | Tipo | Valor de exemplo |
|---|---|---|
| Corpo da requisição | ||
| target1 | string | "github.com"Primeiro domínio a comparar, sem protocolo nem www no início. |
| target2 | string | "gitlab.com"Segundo domínio a comparar, sem protocolo nem www no início. |
| intersections | boolean | Quando true (o padrão), retorna as palavras-chave em que os dois domínios ranqueiam (sobreposição). Quando false, retorna as palavras-chave em que o primeiro domínio ranqueia e o segundo NÃO (a consulta de lacuna de conteúdo); nesse modo, secondRank e secondUrl ficam ausentes. |
| language | string | "en"Código de idioma para as métricas de sobreposição de SEO. |
| limit | integer | 10Número máximo de palavras-chave a retornar. A cobrança é por resultado retornado, então um limite menor custa menos. |
| location | integer | 2840Código de localização para as métricas de sobreposição de SEO. O padrão é Estados Unidos. |
| orderBy | enum | Ordem das palavras-chave retornadas: por volume de busca, custo por clique ou dificuldade da palavra-chave, em ordem crescente ou decrescente. Omita para usar a ordem padrão. |
| Resposta | ||
| data | object | |
| data.keywords | object[] | SEO keyword records both domains rank for. Populated whenever the provider has data for the entity. |
| data.keywords[].bidHigh | number | Upper bound of the estimated paid-search top-of-page bid in USD. |
| data.keywords[].bidLow | number | Lower bound of the estimated paid-search top-of-page bid in USD. |
| data.keywords[].competition | string | Paid-search competition level for the keyword (LOW, MEDIUM, HIGH). |
| data.keywords[].cpc | number | Average paid-search cost per click in USD. |
| data.keywords[].firstRank | integer | Absolute organic ranking position for the first domain. Populated whenever the provider has data for the entity. |
| data.keywords[].firstTitle | string | Search-result title of the first domain's ranking page. |
| data.keywords[].firstUrl | string | Ranking URL for the first domain. |
| data.keywords[].keyword | string | Keyword phrase both domains rank for. Populated whenever the provider has data for the entity. |
| data.keywords[].keywordDifficulty | integer | Estimated organic ranking difficulty on a 0-100 scale. |
| data.keywords[].searchIntent | string | Primary SEO search intent for the keyword. |
| data.keywords[].searchVolume | integer | Average monthly search volume for the keyword. |
| data.keywords[].secondRank | integer | Absolute organic ranking position for the second domain. Absent when intersections is false (the second domain does not rank for this keyword). |
| data.keywords[].secondTitle | string | Search-result title of the second domain's ranking page. Absent when the second domain does not rank for this keyword. |
| data.keywords[].secondUrl | string | Ranking URL for the second domain. Absent when intersections is false. |
| data.keywords[].updatedUtc | number | UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. |
| 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,18864 |
| Preço /mil resultados | USD | US$ 0,18864 |
Dúvidas frequentes
Sobre o endpoint Interseção de domínios da API para SEO
O endpoint Interseção de domínios da AnyAPI para SEO retorna dados de SEO em JSON normalizado com uma chamada POST para /v1/run/seo.domain_intersection. Obtenha pela AnyAPI SEO a sobreposição de palavras-chave entre dois domínios, com os rankings, URLs, volume, CPC e dificuldade de cada domínio, em JSON normalizado. A AnyAPI retorna um schema normalizado, seja qual for a fonte que atende. Custa US$ 0,19 por mil resultados, e nunca mais de US$ 0,18864 por requisição, em dólares, sem assinatura e sem mínimo mensal.