Anchor texts in backlinks by domain or URL
majestic.web.anchors.listAnchor texts pointing at a target, with referring-domain and link counts per phrase
- Price
- $0.004/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.anchors.listPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
with the default Mode=0 the `AnchorText` DataTable carries AnchorText, RefDomains, TotalLinks, EstimatedLinkCitationFlow and EstimatedLinkTrustFlow. Note the parameter casing is inconsistent across Majestic commands — `from` here is lowercase.
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
cmd | string | Obrigatório | GetAnchorText | |
Mode | inteiro | Opcional | CHANGES WHICH TABLE COMES BACK: 0 (default) = aggregated AnchorText rows, 1 = RefDomains rows, 2 = individual BackLinks rows | |
from | inteiro | Opcional | row offset for pagination (lowercase, unlike GetBackLinkData's `From`) | |
item | string | Obrigatório | the URL, subdomain or domain to analyse — this command uses `item`, not item0 | https://www.majestic.com/ |
Count | inteiro | Opcional | rows to return; 10 to 1,000, default 10. This is the retrieval-cost dial | 10 |
TextMode | inteiro | Opcional | 0 (default) or 1 — controls anchor-text normalisation | |
datasource | string | Opcional | fresh | historic (default historic) | fresh |
UsePrefixScan | inteiro | Opcional | 1 enables prefix-mode querying | |
FilterRefDomain | string | Opcional | only anchors used by this referring domain | |
FilterAnchorText | string | Opcional | only anchors containing this keyword | majestic |
FilterAnchorTextMode | inteiro | Opcional | 0, 1 or 2 — how FilterAnchorText is matched; default 0 | |
- Parâmetros de consulta
cmdstringObrigatórioExemplo:
GetAnchorTextModeinteiroOpcionalCHANGES WHICH TABLE COMES BACK: 0 (default) = aggregated AnchorText rows, 1 = RefDomains rows, 2 = individual BackLinks rows
frominteiroOpcionalrow offset for pagination (lowercase, unlike GetBackLinkData's `From`)
itemstringObrigatóriothe URL, subdomain or domain to analyse — this command uses `item`, not item0
Exemplo:
https://www.majestic.com/CountinteiroOpcionalrows to return; 10 to 1,000, default 10. This is the retrieval-cost dial
Exemplo:
10TextModeinteiroOpcional0 (default) or 1 — controls anchor-text normalisation
datasourcestringOpcionalfresh | historic (default historic)
Exemplo:
freshUsePrefixScaninteiroOpcional1 enables prefix-mode querying
FilterRefDomainstringOpcionalonly anchors used by this referring domain
FilterAnchorTextstringOpcionalonly anchors containing this keyword
Exemplo:
majesticFilterAnchorTextModeinteiroOpcional0, 1 or 2 — how FilterAnchorText is matched; default 0
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
curl -X GET 'https://toolswitch.dev/v1/tools/majestic.web.anchors.list' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/majestic.web.anchors.list",
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.anchors.list", {
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.004/call, incluindo a taxa de serviço.