Call it
curl https://api.peume.com/v1/call/find-target-accounts \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 25
}
}'const res = await fetch("https://api.peume.com/v1/call/find-target-accounts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 25
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/find-target-accounts",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 25
}
},
)
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: find-target-accounts.
Parameters
querystringWhich companies to find, in plain English, e.g. 'logistics companies in Portugal'. The answer's `filters` is what it became: page and refine with those, not with the sentence.
filtersobjectFilters by name, e.g. `headquartersCountryCode` with a `countries[].apiCode` value. Names and values come from /companies/filters and /companies/autocomplete (values are case-sensitive); an unknown one is a free 422 that names it.
limitintegerCompanies per page (1-100, default 25). The hold is `limit` × $0.001.
Example: 25
cursorstringThe `pagination.nextCursor` of the previous page. Send it with the `filters` the first page returned, never with `query`.
