Call it
curl https://api.peume.com/v1/call/lookalike-companies-for-a-seed-domain-or-id \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"domains": [
"stripe.com"
],
"page": 1,
"pageSize": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/lookalike-companies-for-a-seed-domain-or-id", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"domains": [
"stripe.com"
],
"page": 1,
"pageSize": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/lookalike-companies-for-a-seed-domain-or-id",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"domains": [
"stripe.com"
],
"page": 1,
"pageSize": 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: lookalike-companies-for-a-seed-domain-or-id.
Parameters
domainsarray1-10 seed domains; the result is similar to the SET, so several seeds sharpen the profile
Example: ["stripe.com"]
domainstringDEPRECATED single-seed form — use `domains`
pageinteger1-based page number
Example: 1
pageSizeinteger1-100. THIS IS THE PRICE — 5 credits per company returned
Example: 1
similarityWeightnumber1 to 1, default 0; higher weights raw similarity over the structured filters
minScorenumber0-1 floor on the similarity score
countriesarraynarrow the lookalikes by geography — every.companies.search filter is accepted here too
employeesarraynarrow by size bucket
Other ways to do it
Same job, other sources.
