Call it
curl https://api.peume.com/v1/call/start-a-people-search-export-up-to-50-000 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"count": 1,
"domains": [
"stripe.com"
],
"seniority": [
"c-suite"
]
}
}'const res = await fetch("https://api.peume.com/v1/call/start-a-people-search-export-up-to-50-000", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"count": 1,
"domains": [
"stripe.com"
],
"seniority": [
"c-suite"
]
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/start-a-people-search-export-up-to-50-000",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"count": 1,
"domains": [
"stripe.com"
],
"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: start-a-people-search-export-up-to-50-000.
Parameters
countRequiredintegerhow many people to export, up to 50,000. THIS IS THE PRICE — 2 credits each, reserved at submission
Example: 1
domainsarrayemployer domains, up to 2,500
Example: ["stripe.com"]
seniorityarrayowner, founder, c-suite, partner, vp, head, director, manager, senior, entry, intern
Example: ["c-suite"]
departmentarrayhierarchical department slugs
positionQueryarraymatches on current job title
countriesarrayISO alpha-2 codes
companyFilterobjectnested firmographic company filter
webhook_urlstringcallback on completion; poll the free status route instead when calling through a proxy
