Call it
curl https://api.peume.com/v1/call/google-keyword-overview-for-a-list-of-keywords \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"keywords": [
"iphone"
],
"location_code": 2840,
"language_code": "en",
"include_serp_info": true,
"include_clickstream_data": true
}
}'const res = await fetch("https://api.peume.com/v1/call/google-keyword-overview-for-a-list-of-keywords", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"keywords": [
"iphone"
],
"location_code": 2840,
"language_code": "en",
"include_serp_info": true,
"include_clickstream_data": true
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-keyword-overview-for-a-list-of-keywords",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"keywords": [
"iphone"
],
"location_code": 2840,
"language_code": "en",
"include_serp_info": True,
"include_clickstream_data": True
}
},
)
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-keyword-overview-for-a-list-of-keywords.
Parameters
keywordsarraykeywords required field The maximum number of keywords you can specify: 700 The maximum number of characters for each keyword: 80 The maximum number of words for each keyword phrase: 10 the specified keywords will be converted to lowercase format, data will be provided in a separate array note that
Example: ["iphone"]
location_namestringfull name of the location required field if you don’t specify location_code Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_name by making a separate request to the
location_codeintegerlocation code required field if you don’t specify location_name Note: it is required to specify either location_name or location_code you can receive the list of available locations with their location_code by making a separate request to the
Example: 2840
language_namestringfull name of the language required field if you don’t specify language_code Note: it is required to specify either language_name or language_code you can receive the list of available locations with their language_name by making a separate request to the
language_codestringlanguage code required field if you don’t specify language_name Note: it is required to specify either language_name or language_code you can receive the list of available locations with their language_code by making a separate request to the
Example: en
include_serp_infobooleaninclude data from SERP for each keyword optional field if set to true, we will return a serp_info array containing SERP data (number of search results, relevant URL, and SERP features) for every keyword in the response default value: false
Example: true
include_clickstream_databooleaninclude or exclude data from clickstream-based metrics in the result optional field if the parameter is set to true, you will receive clickstream_keyword_info, keyword_info_normalized_with_clickstream, and keyword_info_normalized_with_bing fields in the response default value: false with this parame
Example: true
tagstringuser-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response
