Call it
curl https://api.peume.com/v1/call/count-matching-profiles \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"job_title": [],
"past_job_title": []
}
}'const res = await fetch("https://api.peume.com/v1/call/count-matching-profiles", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"job_title": [],
"past_job_title": []
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/count-matching-profiles",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"job_title": [],
"past_job_title": []
}
},
)
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: count-matching-profiles.
Parameters
job_titlearraypast_job_titlearrayjob_functionarrayseniorityarrayskillsarraylanguagesarrayeducationarrayeducationsarraylocationarraycurrent_work_locationarraypast_work_locationarraycompanyarraypast_companyarraydomainarrayindustryarraycompany_sizearrayyears_of_experiencearrayyears_in_current_rolearrayexclude_job_titlesarrayexclude_companiesarraynamestringkeywordstringcompany_filterstringmatch_experiencestringcurrent_titles_onlybooleaninclude_related_job_titlesbooleanrecently_changed_jobsbooleanis_currently_workingbooleandetailed_experiencebooleandetailed_educationbooleanlocation_radiusintegerOther ways to do it
Same job, other sources, cheapest first.
Count a people searchCount the people matching a company domain, industry, seniority, department, country or company size.Count a people searchCount the people matching title, seniority, company, location and industry filters, before loading anyone.Count leads matching a filter setCount leads matching a filter set.Count matching contacts for freeCount all contacts matching a search filter without returning or charging for records.Count matching peopleCount people matching search filters without returning records.Count matching peopleCount people matching search filters without returning records.
