# getCompanyNewsEvents

**Identifier:** `predictleads_getCompanyNewsEvents`

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

Dated business events about a company by website domain, extracted from news and press releases and classified: acquisitions, funding, launches, executive hires and departures, partnerships, clients won or lost, layoffs, office closures, lawsuits, bankruptcy. Use it to check what happened at a company, including signs of trouble.

## Run it with the CLI

```bash
kirha tools run predictleads_getCompanyNewsEvents \
  --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_getCompanyNewsEvents",
  "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": [
          "acquires",
          "merges_with",
          "sells_assets_to",
          "loses_client",
          "signs_new_client",
          "declares_bankruptcy",
          "files_suit_against",
          "has_issues_with",
          "closes_offices_in",
          "decreases_headcount_by",
          "attends_event",
          "expands_facilities",
          "expands_offices_in",
          "expands_offices_to",
          "increases_headcount_by",
          "opens_new_location",
          "goes_public",
          "has_earnings",
          "has_revenue",
          "has_valuation",
          "invests_into",
          "invests_into_assets",
          "receives_financing",
          "hires",
          "leaves",
          "promotes",
          "retires_from",
          "integrates_with",
          "is_developing",
          "launches",
          "ends_partnership_with",
          "partners_with",
          "receives_award",
          "recognized_as",
          "identified_as_competitor_of",
          "spins_off_company",
          "spins_off_division"
        ],
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    },
    "company": {
      "description": "Company website domain, passed as is with no prior lookup, e.g., stripe.com",
      "type": "string"
    },
    "foundFrom": {
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "type": "string"
    },
    "foundUntil": {
      "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"
    }
  },
  "required": [
    "company"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "events": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "type": "string"
          },
          "amountUsd": {
            "type": "number"
          },
          "award": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "companyDomain": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "confidence": {
            "type": "number"
          },
          "effectiveDate": {
            "type": "string"
          },
          "eventId": {
            "type": "string"
          },
          "financingType": {
            "type": "string"
          },
          "foundOn": {
            "type": "string"
          },
          "headcount": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "otherCompanyDomain": {
            "type": "string"
          },
          "otherCompanyName": {
            "type": "string"
          },
          "person": {
            "type": "string"
          },
          "planned": {
            "type": "boolean"
          },
          "product": {
            "type": "string"
          },
          "quote": {
            "type": "string"
          },
          "sourcePublishedOn": {
            "type": "string"
          },
          "sourceTitle": {
            "type": "string"
          },
          "sourceUrl": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          }
        },
        "required": [
          "eventId"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "total",
    "events"
  ],
  "type": "object"
}
```

-----

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