Call it
curl https://api.peume.com/v1/call/highest-authority-pages-by-domain-with-url-metrics \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"target": "moz.com",
"scope": "root_domain",
"limit": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/highest-authority-pages-by-domain-with-url-metrics", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"target": "moz.com",
"scope": "root_domain",
"limit": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/highest-authority-pages-by-domain-with-url-metrics",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"target": "moz.com",
"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: highest-authority-pages-by-domain-with-url-metrics.
Parameters
targetRequiredstringthe domain to return top pages for
Example: moz.com
scopestringsubdomain | root_domain (default root_domain)
Example: root_domain
sortstringpage_authority (default) | root_domains_to_page | external_pages_to_page
filterstringall (default) | status_200 | status_301 | status_302 | status_4xx | status_5xx — filter status_4xx surfaces broken pages that still have links
daily_history_deltasarrayas in url_metrics, applied to each result
daily_history_valuesarraymonthly_history_deltasarraymonthly_history_valuesarraylimitinteger1-50, default 25
Example: 1
next_tokenstringOther ways to do it
Same job, other sources, cheapest first.
