Call it
curl https://api.peume.com/v1/call/referring-domains-by-domain-authority-link-counts \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"method": "exampleBacklinksProcedure.getRefDomains",
"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/referring-domains-by-domain-authority-link-counts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"method": "exampleBacklinksProcedure.getRefDomains",
"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/referring-domains-by-domain-authority-link-counts",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"method": "exampleBacklinksProcedure.getRefDomains",
"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: referring-domains-by-domain-authority-link-counts.
Parameters
methodRequiredstringExample: exampleBacklinksProcedure.getRefDomains
paramsRequiredobjectidRequiredstringrequired by JSON-RPC envelope; any string, echoed back in the response
Example: 1
params.queryRequiredstringthe target domain
Example: example.com
params.searchTypestringdomain (default) | domain_with_subdomains — narrower than the backlink list, which also accepts url and part_url
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`
params.orderstringasc | desc
params.complexFilterarraynested {name, operator, value} conditions — outer OR, inner AND
Other ways to do it
Same job, other sources, cheapest first.
