Call it
curl https://api.peume.com/v1/call/discover-companies-by-location-size-industry-or-revenue \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"location": "United States",
"sizes": "11-50",
"industry": "Retail",
"revenue_range_low": 1000000,
"revenue_range_high": 100000000,
"limit": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/discover-companies-by-location-size-industry-or-revenue", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"location": "United States",
"sizes": "11-50",
"industry": "Retail",
"revenue_range_low": 1000000,
"revenue_range_high": 100000000,
"limit": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/discover-companies-by-location-size-industry-or-revenue",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"location": "United States",
"sizes": "11-50",
"industry": "Retail",
"revenue_range_low": 1000000,
"revenue_range_high": 100000000,
"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-location-size-industry-or-revenue.
Parameters
locationstringcountry name, or US state name/abbreviation
Example: United States
sizesarraycomma-separated company size buckets, or repeated sizes[]=
Example: 11-50
naics_codesarraycomma-separated NAICS codes
industrystringfree-text industry
Example: Retail
revenue_range_lowintegerminimum annual revenue in USD
Example: 1000000
revenue_range_highintegermaximum annual revenue in USD
Example: 100000000
pageinteger1-based; omitting it drops meta.count for performance
limitintegerdefault 30, max 1000 (100 on 's key) — THIS IS THE PRICE DIAL: 1 credit per company returned
Example: 1
Other ways to do it
Same job, other sources, cheapest first.
