Call it
curl https://api.peume.com/v1/call/search-companies-by-industry-size-location-or-tech \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "[{\"attribute\":\"about.industries\",\"operator\":\"or\",\"sign\":\"equals\",\"values\":[\"software\"]}]",
"size": 1,
"simplified": true
}
}'const res = await fetch("https://api.peume.com/v1/call/search-companies-by-industry-size-location-or-tech", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "[{\"attribute\":\"about.industries\",\"operator\":\"or\",\"sign\":\"equals\",\"values\":[\"software\"]}]",
"size": 1,
"simplified": true
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-companies-by-industry-size-location-or-tech",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "[{\"attribute\":\"about.industries\",\"operator\":\"or\",\"sign\":\"equals\",\"values\":[\"software\"]}]",
"size": 1,
"simplified": 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-companies-by-industry-size-location-or-tech.
Parameters
queryRequiredstringa stringified, URL-encoded ARRAY of conditions, each {attribute, operator: 'and'|'or', sign: 'equals'|…, values: [...]}
Example: [{"attribute":"about.industries","operator":"or","sign":"equals","values":["software"]}]
sizeintegerresults per page, 1-100, default 10 — THIS IS THE PRICE DIAL: 1 credit per company returned
Example: 1
pageinteger1-based page number, default 1
searchstringextra free-text match on company name or domain
searchFieldsarraywhich fields `search` applies to, e.g. domain, name
simplifiedbooleanreduced records for ZERO credits — always preview a new query this way before paying for it
Example: true
domainsToExcludestringcomma-separated domains to drop from the results
linkedinToExcludestringcomma-separated LinkedIn URLs to drop
sortKeystringfield to sort by, e.g. meta.score, about.name
sortOrderstringasc | desc
sortFieldsarraymultiple sort criteria, stringified and URL-encoded
actionIdintegerscope the search to a saved action
Other ways to do it
Same job, other sources, cheapest first.
