PeumeAPI

Companies

Count companies

Count companies that match a prompt, structured filters, or a filter expression.

$0.003 per lookup, only when foundUsually answers in about a second

Call it

curl https://api.peume.com/v1/call/count-companies \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "ai_prompt": "Software companies in Canada",
    "filter_expression": "headquarters_country_name=Canada"
  }
}'

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: count-companies.

Parameters

ai_promptstring

Example: Software companies in Canada

filter_expressionstring

Example: headquarters_country_name=Canada

filtersarray

Other ways to do it

Same job, other sources, cheapest first.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.