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
- 价格
- $0.02/call按供应商原价
- 成功率
- —暂无成功率数据近 30 天 · 0 次
- 延迟 p50
- ——
- 最后验证
- —尚未验证
GEThttps://toolswitch.dev/v1/tools/majestic.web.backlinks.list预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
returns the `BackLinks` DataTable: SourceURL, AnchorText, SourceCitationFlow, SourceTrustFlow, TargetCitationFlow, TargetTrustFlow, FirstIndexedDate, LastSeenDate, LinkType, FlagDeleted, FlagNoFollow.
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
cmd | 字符串 | 必填 | GetBackLinkData | |
From | 整数 | 可选 | row offset to start from; default 0 | |
Mode | 整数 | 可选 | 0 (default) includes deleted links; 1 excludes them | |
item | 字符串 | 必填 | the URL, domain or subdomain to get backlinks for — note this command uses `item`, NOT item0 | majestic.com |
Count | 整数 | 可选 | rows to return; default 100, MAXIMUM 50,000. This is the retrieval-cost dial | 5 |
SortBy1 | 字符串 | 可选 | requires ConsumeResourcesForAdditionalProcessing=1 | |
SortDir1 | 字符串 | 可选 | ||
RefDomain | 字符串 | 可选 | restrict to one referring domain — returns up to its top 10 backlinks | |
datasource | 字符串 | 可选 | fresh | historic (default historic) | fresh |
FilterTopic | 字符串 | 可选 | restrict to a topic category as returned by GetTopics | |
UsePrefixScan | 整数 | 可选 | 1 enables prefix-mode querying | |
ShowDomainInfo | 整数 | 可选 | 1 adds a second DataTable describing the referring domains; default 0 | |
MaxSameSourceURLs | 整数 | 可选 | cap repeated links from the same source URL; default -1 (uncapped) | |
MaxSourceURLsPerRefDomain | 整数 | 可选 | cap links per referring domain — only -1 (default, uncapped), 1, 3 or 10 are accepted | |
ConsumeResourcesForAdditionalProcessing | 整数 | 可选 | 1 enables SortBy*/Filters — and RAISES the Analysis Unit charge above the flat 5,000 | |
- 查询参数
cmd字符串必填示例:
GetBackLinkDataFrom整数可选row offset to start from; default 0
Mode整数可选0 (default) includes deleted links; 1 excludes them
item字符串必填the URL, domain or subdomain to get backlinks for — note this command uses `item`, NOT item0
示例:
majestic.comCount整数可选rows to return; default 100, MAXIMUM 50,000. This is the retrieval-cost dial
示例:
5SortBy1字符串可选requires ConsumeResourcesForAdditionalProcessing=1
SortDir1字符串可选RefDomain字符串可选restrict to one referring domain — returns up to its top 10 backlinks
datasource字符串可选fresh | historic (default historic)
示例:
freshFilterTopic字符串可选restrict to a topic category as returned by GetTopics
UsePrefixScan整数可选1 enables prefix-mode querying
ShowDomainInfo整数可选1 adds a second DataTable describing the referring domains; default 0
MaxSameSourceURLs整数可选cap repeated links from the same source URL; default -1 (uncapped)
MaxSourceURLsPerRefDomain整数可选cap links per referring domain — only -1 (default, uncapped), 1, 3 or 10 are accepted
ConsumeResourcesForAdditionalProcessing整数可选1 enables SortBy*/Filters — and RAISES the Analysis Unit charge above the flat 5,000
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.02/call 计费,已含服务费。