# LEI Lookup & Search – GLEIF Legal Entity Identifier API (`coveandcolumn/gleif-lei-lookup`) Actor

Look up any company's LEI by name, LEI code, BIC or ISIN using the official GLEIF database. Get legal name, status, addresses, registration number, renewal date and parent/ultimate-parent companies. Bulk KYB, no API key.

- **URL**: https://apify.com/coveandcolumn/gleif-lei-lookup.md
- **Developed by:** [Cove & Column](https://apify.com/coveandcolumn) (community)
- **Categories:** Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-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

## How to use LEI Lookup & Search – GLEIF Legal Entity Identifier API

**Find the official Legal Entity Identifier (LEI) of any company in seconds – in bulk, without an API key.** Paste company names, LEI codes, BIC/SWIFT codes or ISINs and get back the verified legal name, LEI status, registered and headquarters addresses, local business-register number, renewal date and the **direct and ultimate parent company** straight from the official [GLEIF](https://www.gleif.org/) database (about 3.5 million LEI records worldwide, republished several times a day).

Built for KYB/KYC onboarding, counterparty data cleansing, regulatory reporting (EMIR, MiFID II, SFTR, Dodd-Frank), vendor master-data enrichment and AI agents that need a reliable company identifier.

Public page: <https://apify.com/coveandcolumn/gleif-lei-lookup>

### What it does

- **Any identifier in, one tidy record out** – LEI, company name, BIC/SWIFT, ISIN or a GLEIF record URL; the type is detected automatically.
- **Smart name matching** – results are ranked with a 0–100 `matchScore` that understands legal forms (`AG` = `Aktiengesellschaft`, `Inc` = `Incorporated`, `Ltd` = `Limited`).
- **Corporate ownership** – direct and ultimate parent (LEI, name, country), or GLEIF's official reason when none is reported, plus the number of direct subsidiaries.
- **Lapsed-LEI checks** – `registrationStatus` (ISSUED / LAPSED / RETIRED…) and `nextRenewalDate` show whether a counterparty's LEI is current.
- **Listing mode** – with no queries, list LEIs **registered after a date** in a country (newest first) to spot new funds, SPVs and companies.

### Who it's for

KYB and onboarding teams, compliance and counterparty-data teams, firms that report under EMIR, MiFID II, SFTR or Dodd-Frank, vendor-master-data teams, and AI agents that need a stable company identifier.

### How to run it (step by step)

1. Open the Actor: <https://apify.com/coveandcolumn/gleif-lei-lookup>.
2. Click **Try for free** (or **Start** if you already have an Apify account).
3. Choose a mode:
   - **Lookup / search:** paste **LEIs, company names, BICs or ISINs**, one per line.
   - **Listing mode:** leave the query list empty, set a **country** (ISO code such as `US`, `GB`, `DE`) and **registered after** a date, then set **Max results**.
4. Optional lookup settings:
   - **Country** to narrow name searches
   - **Only active entities**
   - **Max results per name** (how many name matches to return)
   - **Include relationships** (direct and ultimate parent)
   - **Include number of direct subsidiaries** (turn this off for faster large name runs)
5. Set **Max results** for listing mode, or keep a first name-search test small.
6. Click **Start**. Name searches are paced to GLEIF's rate limit, so a large file takes longer than a list of known LEIs.
7. Open the **Dataset** tab and export **JSON, CSV, or Excel**, or call the Actor from the Apify API, Make, Zapier, n8n, or an AI agent.

Queries with no match are listed in the run's `NOT_FOUND` key-value record and are not charged.

#### Example input – lookup

```json
{
  "queries": ["HWUPKR0MPOU8FGXBT394", "Deutsche Bank AG", "US0378331005", "DEUTDEFF"],
  "maxResultsPerName": 3,
  "country": "",
  "onlyActive": false,
  "includeRelationships": true,
  "includeChildrenCount": true
}
```

#### Example input – listing mode (newest US LEIs)

```json
{ "country": "US", "registeredAfter": "2026-11-01", "maxResults": 500 }
```

#### Example output (one record, shortened)

```json
{
  "query": "Deutsche Bank AG",
  "matchType": "name",
  "matchScore": 100,
  "lei": "7LTWFZYICNSX8D621K86",
  "legalName": "DEUTSCHE BANK AKTIENGESELLSCHAFT",
  "entityStatus": "ACTIVE",
  "registrationStatus": "ISSUED",
  "country": "DE",
  "jurisdiction": "DE",
  "registeredAs": "HRB 30000",
  "legalFormCode": "6QQB",
  "legalAddressText": "Taunusanlage 12, Frankfurt am Main, DE-HE, 60325, DE",
  "nextRenewalDate": "2027-06-02T06:47:59Z",
  "bic": ["DEUTDEFFXXX", "..."],
  "directParent": null,
  "directParentException": "NO_KNOWN_PERSON",
  "ultimateParent": null,
  "directChildrenCount": 324,
  "gleifUrl": "https://search.gleif.org/#/record/7LTWFZYICNSX8D621K86"
}
```

### Tips and limits

- You do not need a GLEIF account or API key. GLEIF publishes LEI data free of charge under CC0 1.0 via its public API.
- Each run reads the live GLEIF API (the golden copy is republished several times a day); `goldenCopyDate` shows the version.
- GLEIF allows about 60 requests per minute. The Actor batches LEIs (100 per request) and paces itself. Name searches take roughly 2–3 requests each, so 1,000 names take about 40–60 minutes. Turn off *Include number of direct subsidiaries* for faster large runs.
- This is an independent tool that uses GLEIF's public API. LEI data © GLEIF, licensed CC0 1.0; GLEIF does not endorse this Actor.

Useful output fields include `lei`, `legalName`, `entityStatus`, `registrationStatus`, `registeredAs`, addresses, `nextRenewalDate`, `bic`, parent fields, `directChildrenCount`, and `gleifUrl`.

### How much does it cost?

Pay per event: you are charged **per LEI record returned** (see the Pricing tab; from about $1.50 per 1,000 records on higher Apify plans) plus a tiny start fee. Queries that find nothing are free. A 1,000-name KYB file typically costs a few dollars.

### Use with AI agents (MCP)

Add this Actor to Claude, Cursor or any MCP client through the [Apify MCP server](https://mcp.apify.com/) and ask things like *"Find the LEI and ultimate parent of Siemens Energy"* or *"Check whether these 50 counterparties have a lapsed LEI"*.

### FAQ

**Do I need a GLEIF account or API key?** No.

**How fresh is the data?** Each run reads the live GLEIF API; `goldenCopyDate` shows the version.

**What about rate limits?** GLEIF allows about 60 requests per minute. The Actor paces itself automatically. Prefer known LEIs over name search when you can, and turn off subsidiary counts on large runs.

**Is this affiliated with GLEIF?** No. It is an independent tool using GLEIF's public API.

**Something wrong or missing?** Open an issue on the Issues tab.

# Actor input Schema

## `queries` (type: `array`):

One per line. The type is detected automatically: a 20-character LEI (e.g. HWUPKR0MPOU8FGXBT394), a company name (e.g. Deutsche Bank AG), a BIC/SWIFT code (e.g. DEUTDEFF) or an ISIN (e.g. US0378331005). GLEIF record URLs work too. Leave empty to list entities by country / registration date instead.

## `maxResultsPerName` (type: `integer`):

For name queries, how many best-matching LEI records to return (best match first, scored 0-100). LEI, BIC and ISIN queries return their exact record(s).

## `minNameScore` (type: `integer`):

Drop name matches scoring below this. 100 = same name, 97 = same name ignoring legal form (AG vs Aktiengesellschaft), ~75 = close variant or branch.

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

Only return entities whose legal address is in this country, e.g. US, GB, DE. Also used by listing mode.

## `onlyActive` (type: `boolean`):

Skip entities whose status is INACTIVE (merged, dissolved, etc.).

## `includeRelationships` (type: `boolean`):

Add the direct parent and ultimate parent company (LEI, name, country) or the official reason none is reported. No extra cost.

## `includeChildrenCount` (type: `boolean`):

Count the entity's direct children (subsidiaries with their own LEI). Uses one extra GLEIF request per record, so large runs are slower.

## `registeredAfter` (type: `string`):

With no queries, list LEIs first registered after this date (newest first), e.g. 2026-11-01. Great for finding newly formed funds, SPVs and companies. Combine with Country.

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

Maximum LEI records to return in listing mode.

## Actor input object example

```json
{
  "queries": [
    "HWUPKR0MPOU8FGXBT394",
    "Deutsche Bank AG",
    "US0378331005",
    "DEUTDEFF"
  ],
  "maxResultsPerName": 3,
  "minNameScore": 60,
  "onlyActive": false,
  "includeRelationships": true,
  "includeChildrenCount": true,
  "maxResults": 100
}
```

# Actor output Schema

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

One row per matched LEI record with legal name, status, addresses, registration and parent companies.

## `notFound` (type: `string`):

No description

# 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 = {
    "queries": [
        "HWUPKR0MPOU8FGXBT394",
        "Deutsche Bank AG"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("coveandcolumn/gleif-lei-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 = { "queries": [
        "HWUPKR0MPOU8FGXBT394",
        "Deutsche Bank AG",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("coveandcolumn/gleif-lei-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 '{
  "queries": [
    "HWUPKR0MPOU8FGXBT394",
    "Deutsche Bank AG"
  ]
}' |
apify call coveandcolumn/gleif-lei-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coveandcolumn/gleif-lei-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/0kQe2YujSMvhK1obI/builds/UtoVQBqbmdhPpXDHg/openapi.json
