Call it
curl https://api.peume.com/v1/call/referring-domains-by-domain-or-url-authority-spam \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"target": "moz.com",
"target_scope": "root_domain",
"limit": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/referring-domains-by-domain-or-url-authority-spam", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"target": "moz.com",
"target_scope": "root_domain",
"limit": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/referring-domains-by-domain-or-url-authority-spam",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"target": "moz.com",
"target_scope": "root_domain",
"limit": 1
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: referring-domains-by-domain-or-url-authority-spam.
Parameters
targetRequiredstringExample: moz.com
target_scopestringpage | subdomain | root_domain (default page)
Example: root_domain
filterstringdefault 'external'; external+[follow|nofollow|deleted|not_deleted]; external+gained_last_60_days / +lost_last_60_days for link velocity
sortstringdefault source_domain_authority; also source_link_propensity, source_spam_score, date_gained, date_lost
begin_datestringYYYY-MM-DD; only valid when sort is date_gained or date_lost
end_datestringYYYY-MM-DD; only valid when sort is date_gained or date_lost
limitinteger1-50, default 25
Example: 1
next_tokenstringOther ways to do it
Same job, other sources, cheapest first.
