Call it
curl https://api.peume.com/v1/call/discover-companies-by-criteria-or-plain-language-query \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/discover-companies-by-criteria-or-plain-language-query", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/discover-companies-by-criteria-or-plain-language-query",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 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: discover-companies-by-criteria-or-plain-language-query.
Parameters
querystringnatural-language description of the companies to find; either query or at least one filter is required
headquarters_locationobject{include, exclude}: arrays of {continent}, {business_region}, {country} (ISO-2), with state, county or city
industryobject{include, exclude}: arrays of industry names
headcountarrayranges: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+
company_typeobject{include, exclude}: arrays such as privately held, public company, non profit
technologyobject{include, exclude, match}: technology slugs; match is any or all
limitintegerExample: 1
offsetintegerOther ways to do it
Same job, other sources, cheapest first.
