Backlinks by domain or URL — anchor texts, Trust Flow
majestic.web.backlinks.listIndividual backlinks to a URL or domain, with anchor text and both ends' Trust Flow
- Price
- $0.02/callAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/majestic.web.backlinks.listPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
returns the `BackLinks` DataTable: SourceURL, AnchorText, SourceCitationFlow, SourceTrustFlow, TargetCitationFlow, TargetTrustFlow, FirstIndexedDate, LastSeenDate, LinkType, FlagDeleted, FlagNoFollow.
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
cmd | chaîne | Obligatoire | GetBackLinkData | |
From | entier | Facultatif | row offset to start from; default 0 | |
Mode | entier | Facultatif | 0 (default) includes deleted links; 1 excludes them | |
item | chaîne | Obligatoire | the URL, domain or subdomain to get backlinks for — note this command uses `item`, NOT item0 | majestic.com |
Count | entier | Facultatif | rows to return; default 100, MAXIMUM 50,000. This is the retrieval-cost dial | 5 |
SortBy1 | chaîne | Facultatif | requires ConsumeResourcesForAdditionalProcessing=1 | |
SortDir1 | chaîne | Facultatif | ||
RefDomain | chaîne | Facultatif | restrict to one referring domain — returns up to its top 10 backlinks | |
datasource | chaîne | Facultatif | fresh | historic (default historic) | fresh |
FilterTopic | chaîne | Facultatif | restrict to a topic category as returned by GetTopics | |
UsePrefixScan | entier | Facultatif | 1 enables prefix-mode querying | |
ShowDomainInfo | entier | Facultatif | 1 adds a second DataTable describing the referring domains; default 0 | |
MaxSameSourceURLs | entier | Facultatif | cap repeated links from the same source URL; default -1 (uncapped) | |
MaxSourceURLsPerRefDomain | entier | Facultatif | cap links per referring domain — only -1 (default, uncapped), 1, 3 or 10 are accepted | |
ConsumeResourcesForAdditionalProcessing | entier | Facultatif | 1 enables SortBy*/Filters — and RAISES the Analysis Unit charge above the flat 5,000 | |
- Paramètres de requête
cmdchaîneObligatoireExemple :
GetBackLinkDataFromentierFacultatifrow offset to start from; default 0
ModeentierFacultatif0 (default) includes deleted links; 1 excludes them
itemchaîneObligatoirethe URL, domain or subdomain to get backlinks for — note this command uses `item`, NOT item0
Exemple :
majestic.comCountentierFacultatifrows to return; default 100, MAXIMUM 50,000. This is the retrieval-cost dial
Exemple :
5SortBy1chaîneFacultatifrequires ConsumeResourcesForAdditionalProcessing=1
SortDir1chaîneFacultatifRefDomainchaîneFacultatifrestrict to one referring domain — returns up to its top 10 backlinks
datasourcechaîneFacultatiffresh | historic (default historic)
Exemple :
freshFilterTopicchaîneFacultatifrestrict to a topic category as returned by GetTopics
UsePrefixScanentierFacultatif1 enables prefix-mode querying
ShowDomainInfoentierFacultatif1 adds a second DataTable describing the referring domains; default 0
MaxSameSourceURLsentierFacultatifcap repeated links from the same source URL; default -1 (uncapped)
MaxSourceURLsPerRefDomainentierFacultatifcap links per referring domain — only -1 (default, uncapped), 1, 3 or 10 are accepted
ConsumeResourcesForAdditionalProcessingentierFacultatif1 enables SortBy*/Filters — and RAISES the Analysis Unit charge above the flat 5,000
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/majestic.web.backlinks.list' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/majestic.web.backlinks.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.backlinks.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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.02/call, frais de service inclus.