Call it
curl https://api.peume.com/v1/call/search-people-by-title-company-skills-or-location \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": {
"currentCompanyWebsite": {
"include": [
"stripe.com"
]
},
"currentJobTitle": {
"include": [
"Engineer"
]
}
},
"pagination": {
"size": 1
}
}
}'const res = await fetch("https://api.peume.com/v1/call/search-people-by-title-company-skills-or-location", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": {
"currentCompanyWebsite": {
"include": [
"stripe.com"
]
},
"currentJobTitle": {
"include": [
"Engineer"
]
}
},
"pagination": {
"size": 1
}
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-people-by-title-company-skills-or-location",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": {
"currentCompanyWebsite": {
"include": [
"stripe.com"
]
},
"currentJobTitle": {
"include": [
"Engineer"
]
}
},
"pagination": {
"size": 1
}
}
},
)
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-company-skills-or-location.
Parameters
queryRequiredobjectfilter object. Person filters: firstname, lastname, currentJobTitle, pastJobTitle, school, languages, skills, location, profileLocation, workLocation, keyword — each {include: [...], exclude: [...]}; totalYearsOfExperience and timeInCurrentCompany take a range like {">=": 5, "<=": 10}. Company filters come in currentCompany*/pastCompany* pairs: currentCompanyName, currentCompanyId, currentCompanyWebsite, currentCompanyUrn, currentCompany.type, currentCompany.industry, currentCompany.headcount (range), currentCompany.headcountGrowth ({min, max, timespan: 6months|12months|24months})
Example: {"currentCompanyWebsite":{"include":["stripe.com"]},"currentJobTitle":{"include":["Engineer"]}}
paginationobject{size, token}. size is 1-200, DEFAULT 100 — and it is the price dial, since every row returned costs 0.02 credit. Pass back the `token` from the previous response to page
Example: {"size":1}
Other ways to do it
Same job, other sources, cheapest first.
