Call it
curl https://api.peume.com/v1/call/domain-authority-page-authority-and-spam-score-by-url \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"targets": [
"moz.com"
],
"distributions": false
}
}'const res = await fetch("https://api.peume.com/v1/call/domain-authority-page-authority-and-spam-score-by-url", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"targets": [
"moz.com"
],
"distributions": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/domain-authority-page-authority-and-spam-score-by-url",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"targets": [
"moz.com"
],
"distributions": False
}
},
)
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: domain-authority-page-authority-and-spam-score-by-url.
Parameters
targetsRequiredarray1-50 URLs or domains; a bare domain is treated as that page
Example: ["moz.com"]
distributionsbooleanadds link distribution histograms; +1 row
Example: false
daily_history_deltasarraymetrics to return 60d daily gains/losses for; +1 row per entry
daily_history_valuesarraymetrics to return 60d daily values for; +1 row per entry
monthly_history_deltasarrayas daily_history_deltas, over 32 months; +1 row per entry
monthly_history_valuesarrayas daily_history_values, over 32 months; +1 row per entry
Other ways to do it
Same job, other sources, cheapest first.
