Call it
curl https://api.peume.com/v1/call/on-page-audit \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://moz.com/"
}
}'const res = await fetch("https://api.peume.com/v1/call/on-page-audit", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "https://moz.com/"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/on-page-audit",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"url": "https://moz.com/"
}
},
)
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: on-page-audit.
Parameters
urlRequiredstringFULL absolute URL including scheme — unlike the backlinks endpoints
Example: https://moz.com/
custom_user_agentstringbrowser_presetstringdesktop | mobile | tablet; requires enable_browser_rendering=true — live API returns 40501 without it. Omit this field if you only need enable_javascript.
enable_javascriptbooleanrender JS; costs more; default false. Not sufficient for browser_preset.
enable_browser_renderingbooleanmeasure Core Web Vitals; implies enable_javascript; required for browser_preset; costs more; default false
accept_languagestringcheck_spellbooleandefault false
