Call it
curl https://api.peume.com/v1/call/active-backlinks-by-domain-or-url-anchor-texts \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"method": "exampleBacklinksProcedure.getNewBacklinks",
"params": "your params",
"id": "1",
"params.query": "example.com",
"params.searchType": "domain",
"params.size": 10
}
}'const res = await fetch("https://api.peume.com/v1/call/active-backlinks-by-domain-or-url-anchor-texts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"method": "exampleBacklinksProcedure.getNewBacklinks",
"params": "your params",
"id": "1",
"params.query": "example.com",
"params.searchType": "domain",
"params.size": 10
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/active-backlinks-by-domain-or-url-anchor-texts",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"method": "exampleBacklinksProcedure.getNewBacklinks",
"params": "your params",
"id": "1",
"params.query": "example.com",
"params.searchType": "domain",
"params.size": 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: active-backlinks-by-domain-or-url-anchor-texts.
Parameters
methodRequiredstringExample: exampleBacklinksProcedure.getNewBacklinks
paramsRequiredobjectidRequiredstringrequired by JSON-RPC envelope; any string, echoed back in the response
Example: 1
params.queryRequiredstringthe target — a domain or URL, matching searchType
Example: example.com
params.searchTypestringurl | domain (default) | part_url | domain_with_subdomains
Example: domain
params.pageinteger1-based; default 1
params.sizeintegerCOST DIAL — rows per page, default 100, max 1,000
Example: 10
params.sortstringfield to sort by; default `check` (last-checked date)
params.orderstringasc | desc
params.linkPerDomainintegerset to 1 to return only the single best link from each referring domain
params.complexFilterarraynested array of {name, operator, value} conditions — outer array is OR, inner array is AND
Other ways to do it
Same job, other sources, cheapest first.
