Call it
curl https://api.peume.com/v1/call/find-people-by-role-company-or-location \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"q": "your q",
"company_domain": "your company domain"
}
}'const res = await fetch("https://api.peume.com/v1/call/find-people-by-role-company-or-location", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"q": "your q",
"company_domain": "your company domain"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/find-people-by-role-company-or-location",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"q": "your q",
"company_domain": "your company domain"
}
},
)
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: find-people-by-role-company-or-location.
Parameters
qstringidentity; describe the people in words, as a profile would: role, seniority, industry, place, audience ('B2B sales coaches on Instagram with a mostly US audience'). A semantic search over profiles answers it, so creators and influencers too, not only employees. For a niche's best-known creators, also find list articles with.web.search
company_domainstringidentity; the employer's website domain ('stripe.com'): everyone 's providers list there; with q, the people q describes there (q 'executives')
titlestringidentity; a job title ('Head of Tax'); with company_domain, that role at that company
full_namestringidentity; one person's name, to find their profile
countrystringfilter; ISO country code, where the provider supports it
locationstringfilter; free-text place ('London, United Kingdom', 'Greater Phoenix') passed through to providers that take one; finer than country, never normalised. A place the brief abbreviates goes here spelled out ('in OR' is 'Oregon, United States', 'APAC' is 'Asia Pacific'), not left in q or dropped
limitintegerfilter; default 10; rows to return — THE price dial: most providers bill per row. For a list you will check against a brief, ask for more than you will keep (25 to keep 15): some rows will not fit it. With a free-text q a short answer goes on to the next provider until the rows reach limit
keywordsarrayfilter; skills, topics or domain terms the person must match ('microservices', 'match analysis') — the SUBSTANCE of most briefs; a provider with no keyword field answers a looser question and ranks below one that has it
cursorstringfilter; the next page: the previous answer's output.next_cursor, sent with the same body otherwise. The page comes from the provider that served the first one; null there means no next page
Other ways to do it
Same job, other sources, cheapest first.
