Call it
curl https://api.peume.com/v1/call/search-companies-by-industry-headcount-growth-or-revenue \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": {
"companyId": {
"include": [
"stripe.com"
]
}
},
"pagination": {
"size": 1
}
}
}'const res = await fetch("https://api.peume.com/v1/call/search-companies-by-industry-headcount-growth-or-revenue", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": {
"companyId": {
"include": [
"stripe.com"
]
}
},
"pagination": {
"size": 1
}
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-companies-by-industry-headcount-growth-or-revenue",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": {
"companyId": {
"include": [
"stripe.com"
]
}
},
"pagination": {
"size": 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-companies-by-industry-headcount-growth-or-revenue.
Parameters
queryRequiredobjectfilter object: name, lid (profile vanity id), urn (numeric id), companyId (domain / URN / profile URL / vanity name), type (Privately Held, Public Company, Nonprofit, …), industry, location, keyword — each {include: [...], exclude: [...]}; headcount and revenue take ranges like {">": 10}; headcountGrowth takes {min, max, timespan: 6months|12months|24months}
Example: {"companyId":{"include":["stripe.com"]}}
paginationobject{size, token}. size is 1-200, default 100, and every row costs 0.02 credit
Example: {"size":1}
Other ways to do it
Same job, other sources, cheapest first.
