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/callZum Anbieterpreis
- Success rate
- —Noch keine ErfolgsratendatenLast 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
Parameter
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.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
cmd | Zeichenkette | Erforderlich | GetAnchorText | |
Mode | Ganzzahl | Optional | CHANGES WHICH TABLE COMES BACK: 0 (default) = aggregated AnchorText rows, 1 = RefDomains rows, 2 = individual BackLinks rows | |
from | Ganzzahl | Optional | row offset for pagination (lowercase, unlike GetBackLinkData's `From`) | |
item | Zeichenkette | Erforderlich | the URL, subdomain or domain to analyse — this command uses `item`, not item0 | https://www.majestic.com/ |
Count | Ganzzahl | Optional | rows to return; 10 to 1,000, default 10. This is the retrieval-cost dial | 10 |
TextMode | Ganzzahl | Optional | 0 (default) or 1 — controls anchor-text normalisation | |
datasource | Zeichenkette | Optional | fresh | historic (default historic) | fresh |
UsePrefixScan | Ganzzahl | Optional | 1 enables prefix-mode querying | |
FilterRefDomain | Zeichenkette | Optional | only anchors used by this referring domain | |
FilterAnchorText | Zeichenkette | Optional | only anchors containing this keyword | majestic |
FilterAnchorTextMode | Ganzzahl | Optional | 0, 1 or 2 — how FilterAnchorText is matched; default 0 | |
- Abfrageparameter
cmdZeichenketteErforderlichBeispiel:
GetAnchorTextModeGanzzahlOptionalCHANGES WHICH TABLE COMES BACK: 0 (default) = aggregated AnchorText rows, 1 = RefDomains rows, 2 = individual BackLinks rows
fromGanzzahlOptionalrow offset for pagination (lowercase, unlike GetBackLinkData's `From`)
itemZeichenketteErforderlichthe URL, subdomain or domain to analyse — this command uses `item`, not item0
Beispiel:
https://www.majestic.com/CountGanzzahlOptionalrows to return; 10 to 1,000, default 10. This is the retrieval-cost dial
Beispiel:
10TextModeGanzzahlOptional0 (default) or 1 — controls anchor-text normalisation
datasourceZeichenketteOptionalfresh | historic (default historic)
Beispiel:
freshUsePrefixScanGanzzahlOptional1 enables prefix-mode querying
FilterRefDomainZeichenketteOptionalonly anchors used by this referring domain
FilterAnchorTextZeichenketteOptionalonly anchors containing this keyword
Beispiel:
majesticFilterAnchorTextModeGanzzahlOptional0, 1 or 2 — how FilterAnchorText is matched; default 0
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
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());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.004/call einschließlich Servicegebühr abgerechnet.