Call it
curl https://api.peume.com/v1/call/search-companies-13 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"filters": "your filters",
"query": "your query"
}
}'const res = await fetch("https://api.peume.com/v1/call/search-companies-13", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"filters": "your filters",
"query": "your query"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-companies-13",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"filters": "your filters",
"query": "your query"
}
},
)
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-13.
Parameters
filtersobjectLiteral company filters. Enum-backed values come from /companies/filter-options; place names and investors from /companies/autocomplete.
querystringThe companies to find, in plain English (max 2,000 chars), converted into filters server-side. The response returns those filters; page with them, never by sending the query again.
sizeintegerCompanies per page (1-100, default 25).
cursorstringThe nextCursor of the previous page, sent with that page's returned filters, for the next page.
