Most-linked pages by domain — backlinks, Trust Flow
majestic.web.site.top_pagesA site's most-linked pages, with Trust Flow, Citation Flow and backlink counts
- Price
- $0.02/callPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/majestic.web.site.top_pagesPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
returns a `Matches` DataTable (ACRank, URL, Title, Date, ExtBackLinks, RefDomains, CitationFlow, TrustFlow) plus a `DomainInfo` DataTable summarising the whole site. The third command in this file that names its target differently — Query, not item/item0.
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
cmd | string | Obrigatório | GetTopPages | |
Count | inteiro | Opcional | rows to return; 1 to 10,000, default 10. This is the retrieval-cost dial | 5 |
Query | string | Obrigatório | the root domain, subdomain or URL — this command uses `Query` (capital Q), not `item` or `item0` | majestic.com |
StartDoc | inteiro | Opcional | row offset for pagination; default 0 | |
datasource | string | Opcional | fresh | historic (default historic) | fresh |
UsePrefixScan | inteiro | Opcional | 1 enables prefix-mode querying | |
- Parâmetros de consulta
cmdstringObrigatórioExemplo:
GetTopPagesCountinteiroOpcionalrows to return; 1 to 10,000, default 10. This is the retrieval-cost dial
Exemplo:
5QuerystringObrigatóriothe root domain, subdomain or URL — this command uses `Query` (capital Q), not `item` or `item0`
Exemplo:
majestic.comStartDocinteiroOpcionalrow offset for pagination; default 0
datasourcestringOpcionalfresh | historic (default historic)
Exemplo:
freshUsePrefixScaninteiroOpcional1 enables prefix-mode querying
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
curl -X GET 'https://toolswitch.dev/v1/tools/majestic.web.site.top_pages' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/majestic.web.site.top_pages",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/majestic.web.site.top_pages", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.02/call, incluindo a taxa de serviço.