# LEI Lookup – Company Search, Parents & Subsidiaries (GLEIF) (`yck69/lei-company-lookup`) Actor

Find the Legal Entity Identifier of any company worldwide by name, registration number or ISIN, or look up LEIs: legal name, legal form, registration number, addresses, status and renewal date, BIC, direct and ultimate parent, group size and ISINs. Also lists every subsidiary of a group.

- **URL**: https://apify.com/yck69/lei-company-lookup.md
- **Developed by:** [yck](https://apify.com/yck69) (community)
- **Categories:** Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 lei records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## LEI Lookup – Company Search, Parents & Subsidiaries (GLEIF)

https://www.youtube.com/watch?v=h0EUXOUH044

**What does LEI Lookup do?** It finds and enriches **Legal Entity Identifiers (LEI)**, the global ID that banks, regulators and trading platforms require for companies, from the official **GLEIF** database of about 3 million legal entities worldwide. Search by company name, national registration number or ISIN, or look up LEIs directly, and get a clean company identity with its group structure.

- **Smart name search**: accents, word order and legal forms (SA, AG, GmbH, SE, *société anonyme*…) are ignored, and **group heads win over namesake subsidiaries and funds**: "Airbus" → AIRBUS SE, "Siemens AG" → Siemens Aktiengesellschaft, "LVMH" → LVMH Moët Hennessy Louis Vuitton.
- **Identity**: legal name and other names, legal form (in words), jurisdiction, **national registration number**, legal and headquarters addresses, creation date.
- **LEI health**: registration status (`ISSUED`, `LAPSED`…), **next renewal date** and whether it's overdue, corroboration level, managing LOU.
- **Group structure**: direct and ultimate parent (or the official reason there is none), **number of subsidiaries**, and a corporate-tree mode that lists every subsidiary of a group.
- **Financial IDs**: BIC codes, ISINs issued, OpenCorporates and S\&P Global identifiers.

Built for KYC and onboarding teams, compliance (MiFID, EMIR, sanctions — pair it with Sanctions Screening), credit and supplier-risk analysts, and data teams cleaning company records.

### What data can you get?

<table>
<tr><td>🆔 LEI</td><td>🏢 Legal name</td><td>⚖️ Legal form</td></tr>
<tr><td>🔢 Registration number</td><td>📍 Legal address</td><td>🏙️ Headquarters</td></tr>
<tr><td>✅ LEI status</td><td>📅 Renewal date</td><td>🏦 BIC codes</td></tr>
<tr><td>📈 ISINs</td><td>👆 Parents</td><td>🌳 Subsidiaries</td></tr>
</table>

### How to use it

1. Click **Try for free** and open the Actor.
2. Enter **company names**, LEIs, registration numbers or ISINs.
3. Optionally add a country filter.
4. Click **Start** and open the records view.
5. Export, or list every subsidiary of a group.

### Input examples

**Find companies by name**

```json
{
  "companyNames": ["TotalEnergies", "Siemens AG", "BNP Paribas"]
}
```

**From national registration numbers and ISINs, with securities**

```json
{
  "registrationNumbers": [{ "number": "542051180", "country": "FR" }, { "number": "HRB 86891", "country": "DE" }],
  "isins": ["FR0000120271"],
  "includeIsins": true
}
```

**Corporate tree: every subsidiary of TotalEnergies SE**

```json
{
  "subsidiariesOf": ["529900S21EQ1BO4ESM68"],
  "includeGroupSize": false
}
```

### Output

Real results from the first example (November 2026):

| Input | LEI | Legal name | Legal form | Registration no. | Subsidiaries |
|---|---|---|---|---|---|
| TotalEnergies | 529900S21EQ1BO4ESM68 | TotalEnergies SE | Société européenne | 542 051 180 | 220 |
| Siemens AG | W38RGI023J3WT1HWRP32 | Siemens Aktiengesellschaft | Aktiengesellschaft | HRB 6684 | 574 |
| BNP Paribas | R0MUWSFPU8MPRO8K5P83 | BNP PARIBAS | SA à conseil d'administration | 662042449 | 524 |

```json
{
  "input": "TotalEnergies",
  "matchedBy": "name",
  "nameMatchScore": 1,
  "lei": "529900S21EQ1BO4ESM68",
  "legalName": "TotalEnergies SE",
  "legalForm": "Société européenne",
  "jurisdiction": "FR",
  "registrationNumber": "542 051 180",
  "legalAddress": { "city": "Courbevoie", "country": "FR", "full": "..." },
  "entityStatus": "ACTIVE",
  "registrationStatus": "ISSUED",
  "initialRegistrationDate": "2016-11-11",
  "nextRenewalDate": "2027-12-12",
  "corroborationLevel": "FULLY_CORROBORATED",
  "openCorporatesId": "fr/542051180",
  "ultimateParent": { "lei": null, "exceptionReason": "NO_KNOWN_PERSON" },
  "ultimateChildren": 220,
  "isins": { "count": 5, "list": ["FR0000120271", "FR0000CR6103", "..."] },
  "gleifUrl": "https://search.gleif.org/#/record/529900S21EQ1BO4ESM68"
}
```

| Field | Meaning |
|---|---|
| `matchedBy` | `name`, `lei`, `registration-number`, `isin`, `ultimate-children` or `direct-children`. |
| `nameMatchScore` | 0–1 similarity between your name and the entity's names. |
| `directParent` / `ultimateParent` | Consolidating parent, or `exceptionReason` when none is reported (`NO_KNOWN_PERSON` = the entity is the top of its group, `NATURAL_PERSONS` = owned by individuals, `NON_CONSOLIDATING`…). |
| `renewalOverdue` | The LEI wasn't renewed on time (status will usually turn `LAPSED`). |
| `ultimateChildren` | Number of consolidated subsidiaries at all levels. |

### How much does it cost?

**$2 per 1,000 LEI records** ($0.002 per record returned). Inputs that match nothing are free. GLEIF allows about 60 requests per minute, so large runs with group sizes take about one second per record; turn `includeGroupSize` off for faster bulk lookups.

### More Actors from this developer

### FAQ

##### Where does the data come from?

From GLEIF's public API, the official source of all LEIs issued by the accredited Local Operating Units, updated several times a day. The data is free to reuse (CC0).

##### Why isn't my company found by name?

Only companies with an LEI are in GLEIF (banks, listed companies, issuers, funds, companies trading derivatives…). Small private companies often have none. Try the registration number, or the legal name with a country filter.

##### What does the registration number look like?

As the national register writes it: `542 051 180` (France, SIREN — written without spaces also works), `HRB 6684` (Germany), `00445790` (UK).

##### Can I use it through the API, Make, Zapier or Google Sheets?

Yes. Every run can be started and read through the [Apify API](https://docs.apify.com/api/v2) (JavaScript and Python clients, CLI, MCP), and Apify integrations connect it to Make, Zapier, n8n, Google Sheets, Slack, webhooks and more.

##### Is it legal to use this data?

The Actor only reads public or official open data and doesn't log in anywhere. Check the source's licence and your local rules (for example GDPR when data concerns people) for your use case; if in doubt, ask a lawyer.

##### Something isn't working, or you need another field?

Open an issue on the **Issues** tab: feedback is read and answered.

# Actor input Schema

## `companyNames` (type: `array`):

Best-matching legal entity for each name: accents, word order and legal forms (SA, AG, GmbH, SE, société anonyme…) don't matter. Group heads are preferred over namesake subsidiaries and funds.

## `leis` (type: `array`):

20-character Legal Entity Identifiers, e.g. <code>529900S21EQ1BO4ESM68</code>.

## `registrationNumbers` (type: `array`):

National company numbers with their country: <code>\[{"number": "542051180", "country": "FR"}, {"number": "HRB 86891", "country": "DE"}]</code>.

## `isins` (type: `array`):

Find the issuer of a security, e.g. <code>FR0000120271</code>.

## `subsidiariesOf` (type: `array`):

Parent LEIs: every subsidiary is returned as a row.

## `subsidiaryLevel` (type: `string`):

All consolidated subsidiaries at any depth, or direct ones only.

## `country` (type: `string`):

ISO country code of the legal address, e.g. <code>FR</code>, <code>DE</code>, <code>US</code>.

## `matchesPerName` (type: `integer`):

Return the best match only, or several candidates.

## `includeGroupSize` (type: `boolean`):

Number of subsidiaries under each entity (one extra request per record; GLEIF allows about 60 per minute).

## `includeIsins` (type: `boolean`):

Securities issued by each entity (one extra request per record).

## `maxResults` (type: `integer`):

Mostly useful for corporate trees.

## Actor input object example

```json
{
  "companyNames": [
    "TotalEnergies",
    "Siemens AG",
    "BNP Paribas"
  ],
  "subsidiaryLevel": "ultimate",
  "matchesPerName": 1,
  "includeGroupSize": true,
  "includeIsins": false,
  "maxResults": 1000
}
```

# Actor output Schema

## `records` (type: `string`):

Identity, status and group of each entity.

## `results` (type: `string`):

Every field of every row.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "companyNames": [
        "TotalEnergies",
        "Siemens AG",
        "BNP Paribas"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("yck69/lei-company-lookup").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "companyNames": [
        "TotalEnergies",
        "Siemens AG",
        "BNP Paribas",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("yck69/lei-company-lookup").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "companyNames": [
    "TotalEnergies",
    "Siemens AG",
    "BNP Paribas"
  ]
}' |
apify call yck69/lei-company-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yck69/lei-company-lookup"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/iTDOXH4Jlc1APMflm/builds/WFW6mrMGHUaWfOpJt/openapi.json
