# Extract Active US & UK Corporate LEI Entities

**Use case:** 

Retrieves active (ISSUED) Legal Entity Identifier (LEI) corporate records across the United States and United Kingdom from GLEIF API v1, enriching national registry IDs, BIC codes, legal/HQ addresses, and parent ownership trees.

## Input

```json
{
  "query": "",
  "countries": [
    "US",
    "GB"
  ],
  "registrationStatus": "ISSUED",
  "enrichParentOwnership": true,
  "maxResults": 25
}
```

## Output

```json
{
  "legalName": {
    "label": "Legal Name",
    "format": "string"
  },
  "lei": {
    "label": "LEI Code",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "city": {
    "label": "City",
    "format": "string"
  },
  "entityStatus": {
    "label": "Entity Status",
    "format": "string"
  },
  "registrationStatus": {
    "label": "LEI Status",
    "format": "string"
  },
  "registrationNumber": {
    "label": "Company Reg Number",
    "format": "string"
  },
  "directParentName": {
    "label": "Direct Parent",
    "format": "string"
  },
  "ultimateParentName": {
    "label": "Ultimate Parent",
    "format": "string"
  },
  "kybCompletenessScore": {
    "label": "KYB Score (0-100)",
    "format": "integer"
  },
  "gleifUrl": {
    "label": "GLEIF URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Global Company Registry, KYB Ownership & LEI Lookup (GLEIF) Actor is ready to run with the inputs already set for "Extract Active US & UK Corporate LEI Entities". [Sign up or log in](https://console.apify.com/create-task-from-example/tWka4BDlwiQREtp0w) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Extract Active US & UK Corporate LEI Entities" task

The Global Company Registry, KYB Ownership & LEI Lookup (GLEIF) Actor will start running based on the input automatically. You can also change all the input fields, like ISO Country Codes (e.g. US, GB, DE, FR), LEI Registration Status, and more, to match your specific use case.

### 3. Receive the "Extract Active US & UK Corporate LEI Entities" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as legal name, LEI Code, country, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Extract Active US & UK Corporate LEI Entities" task via API](https://apify.com/grimbles/global-corporate-lei-ownership-leads.md).

## FAQ

### What corporate KYB data does this US & UK LEI task return?

The US & UK Corporate LEI task returns 20-character LEI codes, legalName, legal and HQ addresses, registrationAuthorityId, registrationNumber, BICs, and parent entities.

### How does Level 2 parent ownership enrichment work?

With enrichParentOwnership enabled, the task resolves directParentLei, directParentName, ultimateParentLei, and ultimateParentName via GLEIF Level 2 endpoints.

### Can I filter by specific company names or European countries?

Add a query keyword or change countries to DE, FR, NL, CH, SG, or JP in the duplicated task configuration.

### Where does this corporate LEI data originate?

All data comes directly from the official public GLEIF Global LEI Index REST API v1 under CC0 open statutory licensing.

## About this Actor

This example demonstrates how to use [Global Company Registry, KYB Ownership & LEI Lookup (GLEIF)](https://apify.com/grimbles/global-corporate-lei-ownership-leads.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/grimbles/global-corporate-lei-ownership-leads.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/grimbles/global-corporate-lei-ownership-leads.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
