Call it
curl https://api.peume.com/v1/call/google-overview-for-a-batch-of-domains-visibility-traffic \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"method": "exampleDomainProcedure.getDomainsInfo",
"params": "your params",
"id": "1",
"params.domains": [
"example.com"
],
"params.se": "g_us"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-overview-for-a-batch-of-domains-visibility-traffic", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"method": "exampleDomainProcedure.getDomainsInfo",
"params": "your params",
"id": "1",
"params.domains": [
"example.com"
],
"params.se": "g_us"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-overview-for-a-batch-of-domains-visibility-traffic",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"method": "exampleDomainProcedure.getDomainsInfo",
"params": "your params",
"id": "1",
"params.domains": [
"example.com"
],
"params.se": "g_us"
}
},
)
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: google-overview-for-a-batch-of-domains-visibility-traffic.
Parameters
methodRequiredstringthe JSON-RPC operation — this literal string selects the report
Example: exampleDomainProcedure.getDomainsInfo
paramsRequiredobjectsee the fields below; they go INSIDE params, not at the top level
idRequiredstringrequired by JSON-RPC envelope; any string, echoed back in the response
Example: 1
params.domainsRequiredarraybare domains, no scheme
Example: ["example.com"]
params.seRequiredstringsearch database, e.g. g_us, g_uk, g_de, bing_us
Example: g_us
params.filtersobjectoptional narrowing: traff / traff_from / traff_to (estimated traffic) and visible / visible_from / visible_to (visibility score)
Other ways to do it
Same job, other sources, cheapest first.
