Call it
curl https://api.peume.com/v1/call/search-people-by-title-seniority-department-or-company \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"page": 1,
"pageSize": 1,
"domains": [
"stripe.com"
],
"positionQuery": [
"Chief Executive Officer"
],
"seniority": [
"c-suite"
]
}
}'const res = await fetch("https://api.peume.com/v1/call/search-people-by-title-seniority-department-or-company", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"page": 1,
"pageSize": 1,
"domains": [
"stripe.com"
],
"positionQuery": [
"Chief Executive Officer"
],
"seniority": [
"c-suite"
]
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-people-by-title-seniority-department-or-company",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"page": 1,
"pageSize": 1,
"domains": [
"stripe.com"
],
"positionQuery": [
"Chief Executive Officer"
],
"seniority": [
"c-suite"
]
}
},
)
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-people-by-title-seniority-department-or-company.
Parameters
expandarray`education` adds the education block at extra credit cost per person
pageinteger1-based; page * pageSize is at most 10,000; past that, use the scroll route
Example: 1
pageSizeinteger1-100, default 10. THIS IS THE PRICE — 2 credits per PERSON returned, so a default page costs 20 credits
Example: 1
domainsarrayemployer domains, up to 2,500 — the usual way to enumerate a company's staff
Example: ["stripe.com"]
positionQueryarrayfree-text matches on the person's CURRENT job title; resolve real titles first with the free /positions/autocomplete
Example: ["Chief Executive Officer"]
seniorityarrayone or more of owner, founder, c-suite, partner, vp, head, director, manager, senior, entry, intern. NOTE the hyphen in `c-suite` — an underscore is rejected with a bodyless HTTP 400
Example: ["c-suite"]
departmentarrayhierarchical department slugs, e.g. c-suite/finance-executive, engineering-technical/data-science
countriesarrayISO 3166-1 alpha-2 codes
querystringfree-text match on the employer's name and domain, max 250 chars
companyFilterobjecta nested company lookup — search people at companies matching firmographic criteria rather than a fixed domain list
atCurrentCompanyAfterstringUTC date — only people who joined their current employer after it; the job-change signal
atCurrentCompanyBeforestringUTC date — only people who joined before it
atCurrentPositionAfterstringUTC date — only people promoted into their current role after it
atCurrentPositionBeforestringUTC date
educationobjectschool/degree filter
excludeobjectpeople or companies to drop from the results
Other ways to do it
Same job, other sources.
