# discoverCompanies

**Identifier:** `predictleads_discoverCompanies`

**Provider:** [PredictLeads](https://kirha.com/providers/predictleads.md)

Build a list of companies by location, employee range, industry, NAICS code or revenue range. Use it for prospecting or market sizing, e.g., French software companies with 51 to 200 employees.

## Run it with the CLI

```bash
kirha tools run predictleads_discoverCompanies \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "predictleads_discoverCompanies",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "industry": {
      "description": "Exact LinkedIn industry label, e.g., Software Development (for SaaS), Financial Services, Retail",
      "minLength": 2,
      "type": "string"
    },
    "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "location": {
      "description": "Country name, or US state name or abbreviation, e.g., France",
      "minLength": 2,
      "type": "string"
    },
    "maxRevenueUsd": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "minRevenueUsd": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "naicsCodes": {
      "description": "NAICS industry codes, e.g., 522320",
      "items": {
        "pattern": "^\\d{2,6}$",
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    },
    "page": {
      "maximum": 9007199254740991,
      "minimum": 1,
      "type": "integer"
    },
    "sizes": {
      "description": "Employee count brackets",
      "items": {
        "enum": [
          "1",
          "2-10",
          "11-50",
          "51-200",
          "201-500",
          "501-1000",
          "1001-5000",
          "5001-10000",
          "10001+"
        ],
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "companies": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "companyType": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "employeesMax": {
            "type": "number"
          },
          "employeesMin": {
            "type": "number"
          },
          "foundedYear": {
            "type": "string"
          },
          "friendlyName": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "lastFundingDate": {
            "type": "string"
          },
          "lastFundingStage": {
            "type": "string"
          },
          "linkedinUrl": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "naicsCodes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "parentCompanyDomain": {
            "type": "string"
          },
          "redirectsToDomain": {
            "type": "string"
          },
          "revenueRange": {
            "type": "string"
          },
          "subsidiaryDomains": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "ticker": {
            "type": "string"
          },
          "totalFunding": {
            "type": "string"
          }
        },
        "required": [
          "naicsCodes",
          "subsidiaryDomains"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "context": {
      "type": "string"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "total",
    "companies"
  ],
  "type": "object"
}
```

-----

[All PredictLeads tools](https://kirha.com/providers/predictleads.md) · [< Back to tools list](https://kirha.com/tools.md)