Call it
curl https://api.peume.com/v1/call/anchor-texts-in-backlinks-by-domain-or-url-3 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"method": "exampleBacklinksProcedure.getAnchors",
"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/anchor-texts-in-backlinks-by-domain-or-url-3", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"method": "exampleBacklinksProcedure.getAnchors",
"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/anchor-texts-in-backlinks-by-domain-or-url-3",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"method": "exampleBacklinksProcedure.getAnchors",
"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: anchor-texts-in-backlinks-by-domain-or-url-3.
Parameters
methodRequiredstringExample: exampleBacklinksProcedure.getAnchors
paramsRequiredobjectidRequiredstringrequired by JSON-RPC envelope; any string, echoed back in the response
Example: 1
params.queryRequiredstringthe target
Example: example.com
params.searchTypeRequiredstringurl | domain | part_url | domain_with_subdomains — REQUIRED here, unlike the sibling backlink methods where it defaults
Example: domain
params.anchorstringonly anchors containing this text
params.countstringfilter on the number of links per anchor
params.pageinteger1-based; default 1
params.sizeintegerCOST DIAL — rows per page, default 100, max 1,000
Example: 10
params.sortstringdefault refDomains
params.orderstringasc | desc; default desc
params.complexFilterarrayOther ways to do it
Same job, other sources, cheapest first.
