Call it
curl https://api.peume.com/v1/call/google-search-intent-for-up-to-1000-keywords \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"keywords": [
"login page",
"audi a7",
"elon musk",
"milk store new york"
],
"language_code": "en"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-search-intent-for-up-to-1000-keywords", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"keywords": [
"login page",
"audi a7",
"elon musk",
"milk store new york"
],
"language_code": "en"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-search-intent-for-up-to-1000-keywords",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"keywords": [
"login page",
"audi a7",
"elon musk",
"milk store new york"
],
"language_code": "en"
}
},
)
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-search-intent-for-up-to-1000-keywords.
Parameters
keywordsarraytarget keywords required field UTF-8 encoding maximum number of keywords you can specify in this array: 1000; the keywords will be converted to lowercase format learn more about rules and limitations of keyword and keywords fields in APIs in this Help Center article
Example: ["login page","audi a7","elon musk","milk store new york"]
language_namestringfull name of the language required field if don’t specify language_code you can receive the list of available languages with their language_name by making a separate request to Note: this endpoint currently supports the following
language_codestringlanguage code required field if don’t specify language_name you can receive the list of available languages with their language_code by making a separate request to Note: this endpoint currently supports these languages only; exam
Example: en
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
