Call it
curl https://api.peume.com/v1/call/backlink-profile-of-a-domain-counts-rank-spam-score \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"target": "moz.com",
"internal_list_limit": 10
}
}'const res = await fetch("https://api.peume.com/v1/call/backlink-profile-of-a-domain-counts-rank-spam-score", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"target": "moz.com",
"internal_list_limit": 10
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/backlink-profile-of-a-domain-counts-rank-spam-score",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"target": "moz.com",
"internal_list_limit": 10
}
},
)
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: backlink-profile-of-a-domain-counts-rank-spam-score.
Parameters
targetRequiredstringdomain/subdomain WITHOUT scheme or www (.com); a page needs the full URL
Example: moz.com
include_subdomainsbooleandefault true
include_indirect_linksbooleancount redirect/canonical links; default true
exclude_internal_backlinksbooleandefault true
backlinks_status_typestringall | live | lost; default live
internal_list_limitintegermax elements per internal breakdown array, 10-1000; default 10
Example: 10
rank_scalestringone_hundred | one_thousand; default one_thousand
backlinks_filtersarraynarrow the backlink set the aggregates are computed over
Other ways to do it
Same job, other sources, cheapest first.
