Call it
curl https://api.peume.com/v1/call/search-llm-mentions-of-a-keyword-or-domain-older \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"target": [
{
"domain": "hubspot.com"
}
],
"location_code": 2840,
"language_code": "en",
"platform": "google",
"limit": 3,
"order_by": [
"ai_search_volume,desc"
]
}
}'const res = await fetch("https://api.peume.com/v1/call/search-llm-mentions-of-a-keyword-or-domain-older", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"target": [
{
"domain": "hubspot.com"
}
],
"location_code": 2840,
"language_code": "en",
"platform": "google",
"limit": 3,
"order_by": [
"ai_search_volume,desc"
]
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-llm-mentions-of-a-keyword-or-domain-older",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"target": [
{
"domain": "hubspot.com"
}
],
"location_code": 2840,
"language_code": "en",
"platform": "google",
"limit": 3,
"order_by": [
"ai_search_volume,desc"
]
}
},
)
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: search-llm-mentions-of-a-keyword-or-domain-older.
Parameters
targetRequiredarrayup to 10 entities, each one domain ({"domain": "hubspot.com", "search_filter": "include|exclude", "search_scope": ["any|sources|search_results"], "include_subdomains": false}) or one keyword ({"keyword": "crm", "search_filter": "include|exclude", "search_scope": ["any|question|answer|brand_entities|fan_out_queries"], "match_type": "word_match|partial_match"}); all entities are AND-combined into one filter
Example: [{"domain":"hubspot.com"}]
location_codeintegerdefault 2840 (United States); with platform chat_gpt only 2840 is valid (task status 40501 otherwise)
Example: 2840
language_codestringdefault en; with platform chat_gpt only en is valid
Example: en
platformstringgoogle (AI Overviews, the default) or chat_gpt
Example: google
limitintegerrows returned, default 100, max 1000; each row costs $0.001
Example: 3
offsetintegerfiltersarrayorder_byarrayExample: ["ai_search_volume,desc"]
search_after_tokenstring