# searchUkInsolvencyNotices

**Identifier:** `gazette_searchUkInsolvencyNotices`

**Provider:** [The Gazette (UK)](https://kirha.com/providers/gazette.md)

Search UK insolvency notices in The Gazette, the official public record: administrations, liquidations, winding-up petitions and orders, receiverships, moratoria and personal bankruptcies, by company name, company number, procedure and date. Use it to check whether a UK company or person is insolvent, who was appointed administrator or liquidator, or to monitor new insolvencies.

## Run it with the CLI

```bash
kirha tools run gazette_searchUkInsolvencyNotices \
  --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": "gazette_searchUkInsolvencyNotices",
  "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": {
    "from": {
      "description": "Published on or after, YYYY-MM-DD",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "type": "string"
    },
    "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "procedure": {
      "default": "all-corporate",
      "enum": [
        "all-corporate",
        "administration",
        "creditors-voluntary-liquidation",
        "court-liquidation",
        "winding-up-petitions",
        "winding-up-orders",
        "members-voluntary-liquidation",
        "receivership",
        "moratoria",
        "all-personal",
        "bankruptcy-orders",
        "sequestrations"
      ],
      "type": "string"
    },
    "query": {
      "description": "Company or person name, or Companies House number, e.g., Wilko Limited, 01844601",
      "minLength": 2,
      "type": "string"
    },
    "to": {
      "description": "Published on or before, YYYY-MM-DD",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "notices": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "noticeCode": {
            "type": "string"
          },
          "noticeId": {
            "type": "string"
          },
          "noticeType": {
            "type": "string"
          },
          "publishedOn": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "noticeId",
          "url"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "total",
    "notices"
  ],
  "type": "object"
}
```

## Related tools

Other The Gazette (UK) tools that this tool refers to, or that refer to it.

- [`getGazetteNotice`](https://kirha.com/providers/gazette/getGazetteNotice.md)

-----

[All The Gazette (UK) tools](https://kirha.com/providers/gazette.md) · [< Back to tools list](https://kirha.com/tools.md)