# Find inactive legal entities in GLEIF

**Use case:** 

Use the entity status filter to locate inactive legal entity records.

## Input

```json
{
  "searchTerms": [
    "Limited"
  ],
  "leiCodes": [
    "HWUPKR0MPOU8FGXBT394"
  ],
  "country": "GB",
  "registrationStatus": "ISSUED",
  "entityStatus": "INACTIVE",
  "maxItems": 10,
  "pageSize": 10,
  "includeRawRecord": true
}
```

## Output

```json
{
  "lei": {
    "label": "LEI"
  },
  "legalName": {
    "label": "Legal name"
  },
  "entityStatus": {
    "label": "Entity status"
  },
  "registrationStatus": {
    "label": "Registration status"
  },
  "jurisdiction": {
    "label": "Jurisdiction"
  },
  "legalForm": {
    "label": "Legal form"
  },
  "legalAddress": {
    "label": "Legal address"
  },
  "headquartersAddress": {
    "label": "Headquarters address"
  },
  "initialRegistrationDate": {
    "label": "Initial registration"
  },
  "lastUpdateDate": {
    "label": "Last update"
  },
  "nextRenewalDate": {
    "label": "Next renewal"
  },
  "managingLou": {
    "label": "Managing LOU"
  },
  "bic": {
    "label": "BIC"
  },
  "isin": {
    "label": "ISIN"
  },
  "directParentLei": {
    "label": "Direct parent LEI"
  },
  "ultimateParentLei": {
    "label": "Ultimate parent LEI"
  },
  "sourceUrl": {
    "label": "Source URL",
    "format": "link"
  },
  "matchedInput": {
    "label": "Matched input"
  },
  "rawRecord": {
    "label": "Raw GLEIF record"
  }
}
```

## About this Actor

This example demonstrates how to use [GLEIF LEI Records Scraper](https://apify.com/fetch_cat/gleif-lei-records-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/fetch_cat/gleif-lei-records-scraper) to learn more, explore other use cases, and run it yourself.