Call it
curl https://api.peume.com/v1/call/linkedin-profile-search-email \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"companyHeadcount": [
"B"
],
"limit": 5,
"query": "founder"
}
}'const res = await fetch("https://api.peume.com/v1/call/linkedin-profile-search-email", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"companyHeadcount": [
"B"
],
"limit": 5,
"query": "founder"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/linkedin-profile-search-email",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"companyHeadcount": [
"B"
],
"limit": 5,
"query": "founder"
}
},
)
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: linkedin-profile-search-email.
Parameters
fieldsstringComma-separated keys (dotted paths descend) to keep on each result item. Trims the response, not the charge.
max_itemsintegerCaps the result rows returned; `_truncated` says how many were withheld. Not the charge.
summaryboolean`true` returns only an outline: keys, item counts, per-field sizes.
jqstringjq expression over the result envelope; its output replaces `output`. A failed expression returns the full result with `jqError`.
companyHeadcountarrayFilter by current company size (employee count). Codes: A=Self-Employed, B=1-10, C=11-50, D=51-200, E=201-500, F=501-1,000, G=1,001-5,000, H=5,001-10,000, I=10,001+.
Example: ["B"]
companyHeadquarterLocationsarrayFilter by the location of the person's current company headquarters, by place name (e.g. ['United States']).
currentCompaniesarrayFilter to people who currently work at any of these companies, by name (e.g. ['Google','Meta']). Multiple names widen the match (OR).
excludeCompanyHeadquarterLocationsarrayExclude people whose current company is headquartered in any of these locations.
excludeCurrentCompaniesarrayExclude people who currently work at any of these companies, by name.
excludeCurrentJobTitlesarrayExclude people whose current job title matches any of these.
excludeFunctionIdsarrayExclude these job functions (same codes as functionIds).
excludeLocationsarrayExclude people in any of these locations, by place name.
excludePastCompaniesarrayExclude people who previously worked at any of these companies, by name.
excludePastJobTitlesarrayExclude people who held any of these past job titles.
excludeSchoolsarrayExclude people who attended any of these schools, by name.
excludeSeniorityLevelIdsarrayExclude these seniority levels (same codes as seniorityLevelIds).
firstNamesarrayFilter to people whose first name matches any of these.
functionIdsarrayFilter by job function. Codes: 1=Accounting, 2=Administrative, 3=Arts and Design, 4=Business Development, 5=Community and Social Services, 6=Consulting, 7=Education, 8=Engineering, 9=Entrepreneurship, 10=Finance, 11=Healthcare Services, 12=Human Resources, 13=Information Technology, 14=Legal, 15=Mar
jobTitlestringOptional current job title filter (e.g. 'Software Engineer').
lastNamesarrayFilter to people whose last name matches any of these.
limitintegerMaximum number of full profiles (with email) to return (1-25, default 10). You are billed per profile returned, so a lower limit costs less.
Example: 5
locationstringOptional location filter (e.g. 'San Francisco').
pastCompaniesarrayFilter to people who previously worked at any of these companies, by name.
pastJobTitlesarrayFilter by a past job title the person held (e.g. ['Product Manager']).
profileLanguagesarrayFilter by the profile's primary language.
queryRequiredstringSearch query for LinkedIn profiles: a role, name, or keywords (e.g. 'Marketing Manager').
Example: founder
recentlyChangedJobsbooleanWhen true, only return people who recently changed jobs (a strong sales/recruiting signal).
recentlyPostedOnLinkedInbooleanWhen true, only return people who recently posted on LinkedIn (an activity signal).
schoolsarrayFilter to people who attended any of these schools, by name.
seniorityLevelIdsarrayFilter by seniority level. Codes: 100=In Training, 110=Entry Level, 120=Senior, 130=Strategic, 200=Entry Level Manager, 210=Experienced Manager, 220=Director, 300=Vice President, 310=CXO, 320=Owner/Partner.
yearsAtCurrentCompanyIdsarrayFilter by tenure at the current company. Codes: 1=Less than 1 year, 2=1 to 2 years, 3=3 to 5 years, 4=6 to 10 years, 5=More than 10 years.
yearsOfExperienceIdsarrayFilter by total years of experience. Codes: 1=Less than 1 year, 2=1 to 2 years, 3=3 to 5 years, 4=6 to 10 years, 5=More than 10 years.
