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/callプロバイダー原価
- Success rate
- —成功率データはまだありませんLast 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
パラメータ
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.
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
cmd | 文字列 | 必須 | GetAnchorText | |
Mode | 整数 | 任意 | CHANGES WHICH TABLE COMES BACK: 0 (default) = aggregated AnchorText rows, 1 = RefDomains rows, 2 = individual BackLinks rows | |
from | 整数 | 任意 | row offset for pagination (lowercase, unlike GetBackLinkData's `From`) | |
item | 文字列 | 必須 | the URL, subdomain or domain to analyse — this command uses `item`, not item0 | https://www.majestic.com/ |
Count | 整数 | 任意 | rows to return; 10 to 1,000, default 10. This is the retrieval-cost dial | 10 |
TextMode | 整数 | 任意 | 0 (default) or 1 — controls anchor-text normalisation | |
datasource | 文字列 | 任意 | fresh | historic (default historic) | fresh |
UsePrefixScan | 整数 | 任意 | 1 enables prefix-mode querying | |
FilterRefDomain | 文字列 | 任意 | only anchors used by this referring domain | |
FilterAnchorText | 文字列 | 任意 | only anchors containing this keyword | majestic |
FilterAnchorTextMode | 整数 | 任意 | 0, 1 or 2 — how FilterAnchorText is matched; default 0 | |
- クエリパラメータ
cmd文字列必須例:
GetAnchorTextMode整数任意CHANGES WHICH TABLE COMES BACK: 0 (default) = aggregated AnchorText rows, 1 = RefDomains rows, 2 = individual BackLinks rows
from整数任意row offset for pagination (lowercase, unlike GetBackLinkData's `From`)
item文字列必須the URL, subdomain or domain to analyse — this command uses `item`, not item0
例:
https://www.majestic.com/Count整数任意rows to return; 10 to 1,000, default 10. This is the retrieval-cost dial
例:
10TextMode整数任意0 (default) or 1 — controls anchor-text normalisation
datasource文字列任意fresh | historic (default historic)
例:
freshUsePrefixScan整数任意1 enables prefix-mode querying
FilterRefDomain文字列任意only anchors used by this referring domain
FilterAnchorText文字列任意only anchors containing this keyword
例:
majesticFilterAnchorTextMode整数任意0, 1 or 2 — how FilterAnchorText is matched; default 0
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.004/call です。サービス料を含みます。