Call it
curl https://api.peume.com/v1/call/search-linkedin-leads \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"currentCompanies": "https://www.linkedin.com/company/google",
"page": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/search-linkedin-leads", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"currentCompanies": "https://www.linkedin.com/company/google",
"page": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-linkedin-leads",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"currentCompanies": "https://www.linkedin.com/company/google",
"page": 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-linkedin-leads.
Parameters
searchstringSearch query. Fuzzy search, supports LinkedIn's search operators
currentCompaniesstringFilter by current company IDs or URLs. Comma-separated (max 50)
Example: https://www.linkedin.com/company/google
pastCompaniesstringFilter by past company IDs or URLs. Comma-separated (max 50)
locationsstringFilter by location text. Comma-separated (max 70)
geoIdsstringFilter by LinkedIn Geo ID. Comma-separated. Overrides location param. Use /linkedin/geo-id-search to find IDs
schoolsstringFilter by school IDs or URLs. Comma-separated (max 50)
currentJobTitlesstringFilter by current job titles. Comma-separated (max 70)
pastJobTitlesstringFilter by past job titles. Comma-separated (max 70)
firstNamesstringFilter by first names. Comma-separated (max 70)
lastNamesstringFilter by last names. Comma-separated (max 70)
industryIdsstringFilter by industry IDs. Comma-separated (max 70). Full list:
yearsAtCurrentCompanyIdsstringFilter by years at current company IDs. Comma-separated.
yearsOfExperienceIdsstringFilter by years of experience IDs. Comma-separated. https://github.com//harvestapi-sdk/blob/main/packages/scraper/README.md#yearsofexperienceids
seniorityLevelIdsstringFilter by seniority level IDs. Comma-separated.
functionIdsstringFilter by job function IDs. Comma-separated.
recentlyChangedJobsbooleanFilter leads who recently changed jobs in the last 90 days.
postedOnLinkedinbooleanFilter leads who posted on LinkedIn in the last 30 days
profileLanguagesstringFilter by profile languages. Comma-separated. https://github.com//harvestapi-sdk/blob/main/packages/scraper/README.md#profilelanguages
companyHeadcountstringFilter by company headcount. Comma-separated.
companyHeadquarterLocationsstringFilter by company headquarter location text. Comma-separated (max 70)
excludeLocationsstringLocations to exclude from search. Comma-separated (max 70)
excludeGeoIdsstringGeo IDs to exclude from search. Comma-separated (max 70)
excludeCurrentCompaniesstringCurrent companies to exclude. Comma-separated (max 50)
excludePastCompaniesstringPast companies to exclude. Comma-separated (max 50)
excludeSchoolsstringSchools to exclude. Comma-separated (max 50)
excludeCurrentJobTitlesstringCurrent job titles to exclude. Comma-separated (max 70)
excludePastJobTitlesstringPast job titles to exclude. Comma-separated (max 70)
excludeIndustryIdsstringIndustry IDs to exclude. Comma-separated (max 70)
excludeSeniorityLevelIdsstringSeniority level IDs to exclude. Comma-separated (max 20)
excludeFunctionIdsstringFunction IDs to exclude. Comma-separated (max 30)
excludeCompanyHeadquarterLocationsstringCompany headquarter locations to exclude from search. Comma-separated (max 70)
pageintegerPage number for pagination (clamped at 100)
Example: 1
Other ways to do it
Same job, other sources, cheapest first.
