Skip to content
Eden Engine

Total Company Count by Filter

omnial/count-companies

Returns the total number of companies in the vendor's company database, optionally narrowed by a filter query (for example, by industry). One call returns a single count, not a list of companies -- useful for sizing a market segment before running a more detailed lookup. A filter that matches no companies returns an empty result rather than a count of zero. Your input is sent to The Companies API for processing.

activeper callv4

Price

Up to $0.0137 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

The Companies API

Data from The Companies API.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/count-companies" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/count-companies" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/count-companies", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/count-companies", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0137
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Filter query as a JSON array string. Required on every call -- pass '[]' explicitly for an unfiltered count of the whole database."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "description": "The total number of companies matching the filter (or the whole database when no filter is supplied). Observed as 49,944,945 on the one real unfiltered call."
        }
      },
      "description": "Absent entirely on the zero-match/empty-result case.",
      "additionalProperties": true
    },
    "status": {
      "type": "string",
      "description": "'success' on the one populated real call observed."
    }
  },
  "description": "The company-count record. A filter matching no companies returns `{}` instead.",
  "additionalProperties": true
}