# search8KEvents

**Identifier:** `sec_search8KEvents`

**Provider:** [SEC](https://kirha.com/providers/sec.md)

List recent Form 8-K current reports with their item codes decoded into event types (officer/director changes, material agreements, M&A completions, earnings, bankruptcies, cyber incidents, restatements...). Give a company for its event timeline, or eventTypes alone to find which companies reported such events in the date range.

## Run it with the CLI

```bash
kirha tools run sec_search8KEvents \
  --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": "sec_search8KEvents",
  "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": {
    "cik": {
      "description": "SEC CIK, e.g. 320193. From getCompanyCik or any SEC tool output",
      "type": "string"
    },
    "companyName": {
      "description": "Used only when cik and ticker are missing; matches any EDGAR filer incl. private companies and funds",
      "type": "string"
    },
    "endDate": {
      "description": "YYYY-MM-DD",
      "type": "string"
    },
    "eventTypes": {
      "items": {
        "enum": [
          "materialAgreement",
          "agreementTermination",
          "bankruptcy",
          "cybersecurityIncident",
          "acquisitionOrDisposal",
          "earningsResults",
          "newDebtObligation",
          "debtAcceleration",
          "restructuring",
          "impairment",
          "delistingNotice",
          "unregisteredEquitySale",
          "auditorChange",
          "financialRestatement",
          "changeInControl",
          "officerOrDirectorChange",
          "bylawsAmendment",
          "shareholderVote",
          "regulationFdDisclosure",
          "otherEvents"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "type": "number"
    },
    "startDate": {
      "description": "YYYY-MM-DD. Defaults to 1 year ago for a company, 7 days otherwise",
      "type": "string"
    },
    "ticker": {
      "description": "e.g. AAPL",
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "accessionNumbers": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "ciks": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "context": {
      "type": "string"
    },
    "filings": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "accessionNo": {
            "type": "string"
          },
          "cik": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "documentUrl": {
            "type": "string"
          },
          "events": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "description": {
                  "type": "string"
                },
                "item": {
                  "type": "string"
                }
              },
              "required": [
                "item",
                "description"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "filedAt": {
            "type": "string"
          },
          "formType": {
            "type": "string"
          },
          "tickers": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "accessionNo",
          "formType",
          "filedAt",
          "cik",
          "companyName",
          "tickers",
          "events",
          "documentUrl"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "totalFilingsInIndex": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "totalFilingsInIndex",
    "filings",
    "accessionNumbers",
    "ciks"
  ],
  "type": "object"
}
```

## Related tools

Other SEC tools that this tool refers to, or that refer to it.

- [`getCompanyCik`](https://kirha.com/providers/sec/getCompanyCik.md)

-----

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