Call it
curl https://api.peume.com/v1/call/search-linkedin-companies \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"search": "Google",
"page": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/search-linkedin-companies", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"search": "Google",
"page": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-linkedin-companies",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"search": "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-companies.
Parameters
searchstringKeywords to search for in company names.
Example: Google
locationstringFilter companies by location.
geoIdstringFilter by location as LinkedIn Geo ID. Overrides the location query param. Use the /linkedin/geo-id-search endpoint to find the Geo ID
companySizestringFilter by company size. One value or multiple comma-separated. Supported values: '1-10', '11-50', '51-200', '201-500', '501-1000', '1001-5000', '5001-10000', '10001+'
industryIdstringFilter by industry ID. One value or multiple comma-separated industry IDs. Full list of IDs:
pageintegerPage number for pagination.
Example: 1
