# discoverPublicCompanyConnections

**Identifier:** `predictleads_discoverPublicCompanyConnections`

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

Vendor and partner relationships recently detected for publicly traded companies, newest first. Use it to track new customers or suppliers of listed companies.

## Run it with the CLI

```bash
kirha tools run predictleads_discoverPublicCompanyConnections \
  --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_discoverPublicCompanyConnections",
  "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": {
    "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"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "connections": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "type": "string"
          },
          "connectionId": {
            "type": "string"
          },
          "context": {
            "type": "string"
          },
          "firstSeenOn": {
            "type": "string"
          },
          "fromCompanyDomain": {
            "type": "string"
          },
          "fromCompanyName": {
            "type": "string"
          },
          "lastSeenOn": {
            "type": "string"
          },
          "sourceCategory": {
            "type": "string"
          },
          "sourceUrl": {
            "type": "string"
          },
          "technology": {
            "type": "string"
          },
          "toCompanyDomain": {
            "type": "string"
          },
          "toCompanyName": {
            "type": "string"
          }
        },
        "required": [
          "connectionId"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "context": {
      "type": "string"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "total",
    "connections"
  ],
  "type": "object"
}
```

-----

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