Call it
curl https://api.peume.com/v1/call/search-people-with-dsl \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"dsl": {
"filters": [
{
"country": {
"operation": "eq",
"value": "United States"
}
},
{
"headline": {
"operation": "fts",
"value": "software engineer"
}
}
],
"limit": 1,
"offset": 0
}
}
}'const res = await fetch("https://api.peume.com/v1/call/search-people-with-dsl", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"dsl": {
"filters": [
{
"country": {
"operation": "eq",
"value": "United States"
}
},
{
"headline": {
"operation": "fts",
"value": "software engineer"
}
}
],
"limit": 1,
"offset": 0
}
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-people-with-dsl",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"dsl": {
"filters": [
{
"country": {
"operation": "eq",
"value": "United States"
}
},
{
"headline": {
"operation": "fts",
"value": "software engineer"
}
}
],
"limit": 1,
"offset": 0
}
}
},
)
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-with-dsl.
Parameters
dslRequiredobject{filters,limit,offset,sort?}; filter objects use column paths and {operation,value,quantifier?}
Example: {"filters":[{"country":{"operation":"eq","value":"United States"}},{"headline":{"operation":"fts","value&
Other ways to do it
Same job, other sources.
Find people by role, company or locationBest sourceFind people by role, company or location — lead lists and prospects (sales leads). Checks the cheapest source first and moves to the next one until it finds an answer.Discover contacts for freeContact FinderSearch emails across companies matching filtersSearches every company matching your filters in one request; returns masked rows with reveal handlesSearch peopleSearch the people database with company, role, location and intent filters.Search people by company, industry or tech — ids onlySearch leads. Accepts the full person filter set.Search people by title, employer or country — ids, freeFind people by Elasticsearch filter (title, employer, country) — ids only, free
