Call it
curl https://api.peume.com/v1/call/google-related-keyword-ideas-by-seed-keyword-search-volume-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"method": "exampleKeywordProcedure.getRelatedKeywords",
"params": "your params",
"id": "1",
"params.keyword": "seo",
"params.se": "g_us",
"params.size": 10
}
}'const res = await fetch("https://api.peume.com/v1/call/google-related-keyword-ideas-by-seed-keyword-search-volume-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"method": "exampleKeywordProcedure.getRelatedKeywords",
"params": "your params",
"id": "1",
"params.keyword": "seo",
"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-related-keyword-ideas-by-seed-keyword-search-volume-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"method": "exampleKeywordProcedure.getRelatedKeywords",
"params": "your params",
"id": "1",
"params.keyword": "seo",
"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-related-keyword-ideas-by-seed-keyword-search-volume-2.
Parameters
methodRequiredstringExample: exampleKeywordProcedure.getRelatedKeywords
paramsRequiredobjectidRequiredintegerrequired by JSON-RPC envelope; any string, echoed back in the response
Example: 1
params.keywordRequiredstringthe seed keyword
Example: seo
params.seRequiredstringsearch database
Example: g_us
params.withIntentsbooleandefault false
params.pageinteger1-based; default 1
params.sizeintegerCOST DIAL — rows per page, default 100, max 1,000
Example: 10
params.sortobjectfields: region_queries_count, cost, difficulty, concurrency, weight, keyword
params.filtersobjectcost/volume/difficulty/concurrency ranges, keyword_length, right_spelling, geo_names (contain|not_contain), intents_contain, and weight / weight_from / weight_to for relevance strength
Other ways to do it
Same job, other sources, cheapest first.
