Call it
curl https://api.peume.com/v1/call/google-keywords-a-domain-ranks-for-search-volume-cpc \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"method": "exampleDomainProcedure.getDomainKeywords",
"params": "your params",
"id": "1",
"params.domain": "example.com",
"params.se": "g_us",
"params.size": 10
}
}'const res = await fetch("https://api.peume.com/v1/call/google-keywords-a-domain-ranks-for-search-volume-cpc", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"method": "exampleDomainProcedure.getDomainKeywords",
"params": "your params",
"id": "1",
"params.domain": "example.com",
"params.se": "g_us",
"params.size": 10
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-keywords-a-domain-ranks-for-search-volume-cpc",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"method": "exampleDomainProcedure.getDomainKeywords",
"params": "your params",
"id": "1",
"params.domain": "example.com",
"params.se": "g_us",
"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: google-keywords-a-domain-ranks-for-search-volume-cpc.
Parameters
methodRequiredstringExample: exampleDomainProcedure.getDomainKeywords
paramsRequiredobjectidRequiredstringrequired by JSON-RPC envelope; any string, echoed back in the response
Example: 1
params.domainRequiredstringbare domain, no scheme
Example: example.com
params.seRequiredstringsearch database
Example: g_us
params.withSubdomainsbooleaninclude subdomains in the result
params.withIntentsbooleanattach the search intent of each keyword
params.urlstringrestrict to keywords ranking for one page of the domain
params.keywordsarrayonly return these keywords
params.minusKeywordsarrayexclude keywords containing these
params.pageinteger1-based page number; default 1
params.sizeintegerCOST DIAL — rows per page, default 100, max 1,000
Example: 10
params.sortobjectmap of field to direction, e.g. {"position": "asc"}; fields: position, region_queries_count, cost, traff, difficulty, keyword_length, concurrency
params.filtersobjectposition/cost/volume/difficulty ranges — each takes a bare value plus _from and _to variants, e.g. position_to: 10
Other ways to do it
Same job, other sources, cheapest first.
