Call it
curl https://api.peume.com/v1/call/search-linkedin-profiles-by-name \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"profileScraperMode": "Short",
"strictSearch": true
}
}'const res = await fetch("https://api.peume.com/v1/call/search-linkedin-profiles-by-name", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"profileScraperMode": "Short",
"strictSearch": true
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-linkedin-profiles-by-name",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"profileScraperMode": "Short",
"strictSearch": True
}
},
)
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-profiles-by-name.
Parameters
profileScraperModeRequiredstringChoose the mode for scraping LinkedIn profiles. The Short mode provides basic information, while the Full mode includes full detailed profile data.
Short · Full · Full + email search
firstNamestringFirst name of the person to search for.
lastNamestringLast name of the person to search for.
strictSearchbooleanEnabling strict search will ensure that only profiles matching both the first and last names exactly are returned.
Example: true
maxPagesintegerMaximum number of pages to scrape for each query. The actor will stop scraping when this limit is reached.
locationsarrayFilter Profiles by these LinkedIn locations. Example: `San Francisco`. LinkedIn does not always understand your text queries. For example for "UK" query it will apply "Ukraine" location, so you should use "United Kingdom" in this case. Try this out first in the location filter input of LinkedIn search at `https://www.linkedin.com/search/results/people/?geoUrn=%5B%22103644278%22%5D`
currentCompaniesarrayFilter Profiles by these LinkedIn companies. Provide full LinkedIn URLs
pastCompaniesarrayFilter Profiles by these LinkedIn past companies. Provide full LinkedIn URLs
schoolsarrayFilter Profiles by these LinkedIn schools. Example: `Stanford University`.
currentJobTitlesarrayFilter Profiles by these LinkedIn current job titles. Example: `Software Engineer`.
industryIdsarrayFilter Profiles by these LinkedIn industry IDs. Example: `4` for 'Software Development'. Full list: `
maxItemsintegerMaximum number of profiles to scrape. The actor will stop scraping when this limit is reached.
