Call it
curl https://api.peume.com/v1/call/bulk-google-search-volume-cpc-and-difficulty-by-keyword \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"source": "us",
"keywords": [
"seo platform"
]
}
}'const res = await fetch("https://api.peume.com/v1/call/bulk-google-search-volume-cpc-and-difficulty-by-keyword", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"source": "us",
"keywords": [
"seo platform"
]
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/bulk-google-search-volume-cpc-and-difficulty-by-keyword",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"source": "us",
"keywords": [
"seo platform"
]
}
},
)
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: bulk-google-search-volume-cpc-and-difficulty-by-keyword.
Parameters
sourceRequiredstringregional database code — selects which country's index answers
Example: us
keywordsRequiredarray1 to 5,000 keywords
Example: ["seo platform"]
sortstringvolume | cpc | difficulty | competition
sort_orderstringasc | desc
history_fromstringfirst month of volume history, YYYY-MM-DD
history_tostringlast month of volume history, YYYY-MM-DD
Other ways to do it
Same job, other sources, cheapest first.
Keyword volume, CPC & competitionBest sourceKeyword volume, CPC & competition. Checks the cheapest source first and moves to the next one until it finds an answer.Bulk Google search volume, CPC and difficulty by keywordGoogle volume, CPC, competition and difficulty for a batch of keywords in one callGoogle search volume and CPC for up to 1000 keywordsGoogle Ads search volume, CPC, competition and 12-month trend for up to 1000 keywords
