Trust Flow and Citation Flow by domain or URL
majestic.web.url.metricsTrust Flow, Citation Flow and link counts for up to 100 URLs or domains per call
- Price
- $0.0008/resultZum Anbieterpreis
- Success rate
- —Noch keine ErfolgsratendatenLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/majestic.web.url.metricsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
the item0/item1/…/itemN convention is unique to this command — `items` is the COUNT of those params, not a target. Returns Trust Flow, Citation Flow, ACRank, ExtBackLinks, RefDomains, RefDomainsEDU/GOV, LastCrawlDate, Title and Language per item.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
cmd | Zeichenkette | Erforderlich | GetIndexItemInfo | |
item0 | Zeichenkette | Erforderlich | the first target — a URL, subdomain or root domain. Additional targets go in item1, item2 … up to item(items-1) | https://www.majestic.com/ |
items | Ganzzahl | Erforderlich | how many item0..itemN params you are sending; 1 to 100 | 1 |
datasource | Zeichenkette | Optional | fresh | historic (default historic) — send it explicitly, the two indexes disagree | fresh |
AddAllTopics | Ganzzahl | Optional | 1 adds the full TrustCategories column | |
DesiredTopics | Ganzzahl | Optional | how many Trust Flow topics to return per item; default 3, max 30 for root domains, 20 for subdomains, 10 for URLs | |
EnableResourceUnitFailover | Ganzzahl | Optional | 1 lets the call fall back to Analysis + Retrieval units when Index Item Units run out; default 0 | |
- Abfrageparameter
cmdZeichenketteErforderlichBeispiel:
GetIndexItemInfoitem0ZeichenketteErforderlichthe first target — a URL, subdomain or root domain. Additional targets go in item1, item2 … up to item(items-1)
Beispiel:
https://www.majestic.com/itemsGanzzahlErforderlichhow many item0..itemN params you are sending; 1 to 100
Beispiel:
1datasourceZeichenketteOptionalfresh | historic (default historic) — send it explicitly, the two indexes disagree
Beispiel:
freshAddAllTopicsGanzzahlOptional1 adds the full TrustCategories column
DesiredTopicsGanzzahlOptionalhow many Trust Flow topics to return per item; default 3, max 30 for root domains, 20 for subdomains, 10 for URLs
EnableResourceUnitFailoverGanzzahlOptional1 lets the call fall back to Analysis + Retrieval units when Index Item Units run out; default 0
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X GET 'https://toolswitch.dev/v1/tools/majestic.web.url.metrics' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/majestic.web.url.metrics",
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.url.metrics", {
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.0008/result einschließlich Servicegebühr abgerechnet.