Referring domains by domain — Trust Flow, country, IP
majestic.web.linking_domains.listReferring domains linking to a target, with Trust Flow, country, IP and link count
- Price
- $0.004/callAt provider cost
- Success rate
- —No success-rate data yetLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/majestic.web.linking_domains.listPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
returns a `Request` DataTable (TotalRefDomains and the resolved target) plus a `Results` DataTable: Domain, RefDomains, Matches, MatchedLinks, ExtBackLinks, IndexedURLs, FirstCrawled, LastSuccessfulCrawl, IP, SubNet, CountryCode, TLD, CitationFlow, TrustFlow. Passing item0..item3 turns this into a link-intersect across up to 4 targets.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
cmd | string | Required | GetRefDomains | |
Count | integer | Optional | rows to return; default 100. This is the retrieval-cost dial | 10 |
item0 | string | Required | the target — URL, subdomain or root domain. This command uses item0 (up to item3 for a multi-target comparison), NOT `item` | majestic.com |
OrderBy1 | integer | Optional | sort field as an integer 0-18 — see the docs table | |
OrderDir1 | integer | Optional | 1 = descending, 0 = ascending | |
datasource | string | Optional | fresh | historic (default historic) | fresh |
AnalysisDepth | integer | Optional | how many referring domains to consider; default 10,000, max 100,000 | |
UsePrefixScan | integer | Optional | 1 enables prefix-mode querying | |
MinMatchesRequired | integer | Optional | only return sources matching at least this many of the item0..item3 targets; default 1 | |
- Query parameters
cmdstringRequiredExample:
GetRefDomainsCountintegerOptionalrows to return; default 100. This is the retrieval-cost dial
Example:
10item0stringRequiredthe target — URL, subdomain or root domain. This command uses item0 (up to item3 for a multi-target comparison), NOT `item`
Example:
majestic.comOrderBy1integerOptionalsort field as an integer 0-18 — see the docs table
OrderDir1integerOptional1 = descending, 0 = ascending
datasourcestringOptionalfresh | historic (default historic)
Example:
freshAnalysisDepthintegerOptionalhow many referring domains to consider; default 10,000, max 100,000
UsePrefixScanintegerOptional1 enables prefix-mode querying
MinMatchesRequiredintegerOptionalonly return sources matching at least this many of the item0..item3 targets; default 1
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/majestic.web.linking_domains.list' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/majestic.web.linking_domains.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.linking_domains.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());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.004/call, including the service fee.