# getCompanyProducts

**Identifier:** `predictleads_getCompanyProducts`

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

Products, services and solutions a company presents on its website, with a short description of each. Use it to know what a company sells.

## Run it with the CLI

```bash
kirha tools run predictleads_getCompanyProducts \
  --input '{
    "company": "stripe.com"
  }'
```

`--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_getCompanyProducts",
  "input": {
    "company": "stripe.com"
  }
}'
```

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": {
    "categories": {
      "items": {
        "enum": [
          "product",
          "service",
          "solution",
          "unclassified"
        ],
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    },
    "company": {
      "description": "Company website domain, passed as is with no prior lookup, e.g., stripe.com",
      "type": "string"
    },
    "firstSeenFrom": {
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "type": "string"
    },
    "firstSeenUntil": {
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "type": "string"
    },
    "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "page": {
      "maximum": 9007199254740991,
      "minimum": 1,
      "type": "integer"
    },
    "subcategories": {
      "items": {
        "enum": [
          "industry",
          "use_case",
          "pricing_tier",
          "unclassified"
        ],
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    }
  },
  "required": [
    "company"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "products": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "type": "string"
          },
          "companyDomain": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "firstSeenOn": {
            "type": "string"
          },
          "lastSeenOn": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "productId": {
            "type": "string"
          },
          "sourceUrl": {
            "type": "string"
          },
          "subcategory": {
            "type": "string"
          }
        },
        "required": [
          "productId"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "total",
    "products"
  ],
  "type": "object"
}
```

-----

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