# LEI Lookup: GLEIF company registry (official API) (`klyve1/gleif-lei-lookup`) Actor

Find companies in the global LEI registry (GLEIF): search by name, LEI code, country or registration number. Get legal name, address, status, registration authority ID and parent companies.

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

## Pricing

from $1.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/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

## LEI Lookup: GLEIF global company registry (official API)

Search the **Global LEI Index**, the official worldwide registry of **Legal Entity Identifiers** run by **GLEIF**, and get one clean row per legal entity: **LEI code, legal name and former names, status, legal form, jurisdiction, local registration number** (SIREN, HRB, Companies House number...), **legal and headquarters addresses**, renewal dates and, if you want, the **direct and ultimate parent companies**.

It uses GLEIF's free official API. LEI data is open data under the CC0 licence: free to reuse, also commercially.

### What people use it for

- **KYC and compliance**: verify a counterparty's LEI, status and registered address in bulk.
- **Finance and trading**: map LEI codes from regulatory reports (MiFID II, EMIR) to company names and countries.
- **Corporate structures**: find who owns a subsidiary (ultimate parent) for due diligence or group mapping.
- **Data enrichment**: add registration numbers and official addresses to a list of companies.
- **AI agents**: "what is the LEI and parent company of X?" in one call.

### Example output

```json
{
  "lei": "21380023ZW5TAIN7YO53",
  "legalName": "HENSOLDT FRANCE SAS",
  "otherNames": ["AIRBUS DS ELECTRONICS AND BORDER SECURITY SAS"],
  "status": "ACTIVE",
  "category": "GENERAL",
  "legalFormId": "6CHY",
  "jurisdiction": "FR",
  "registrationAuthorityId": "RA000192",
  "registeredAs": "812 022 309",
  "entityCreationDate": "2015-06-15T00:00:00Z",
  "legalAddressText": "ZAC SAINT-APOLLINE, 115 AVENUE DE DREUX, 78370 PLAISIR, FR",
  "headquartersAddressText": "ZAC SAINT-APOLLINE, 115 AVENUE DE DREUX, 78370 PLAISIR, FR",
  "country": "FR",
  "registrationStatus": "ISSUED",
  "initialRegistrationDate": "2015-12-07T00:00:00Z",
  "lastUpdateDate": "2026-05-22T09:12:06Z",
  "nextRenewalDate": "2027-07-05T00:00:00Z",
  "corroborationLevel": "FULLY_CORROBORATED",
  "gleifUrl": "https://search.gleif.org/#/record/21380023ZW5TAIN7YO53",
  "directParent": null,
  "ultimateParent": { "lei": "894500686FYLLZD3M624", "legalName": "HENSOLDT AG", "country": "DE" }
}
```

Each row also contains the structured `legalAddress` and `headquartersAddress` objects, the managing LOU and the BIC when there is one.

### Input

| Field | What it does | Example |
|---|---|---|
| `searchQuery` | Company name or keywords | `Airbus` |
| `nameOnly` | Match names only (more precise) | `true` |
| `leis` | LEI codes to look up directly | `["529900W18LQJJN6SJ336"]` |
| `countries` | Legal address countries (ISO 2 letters) | `["FR", "DE"]` |
| `registrationNumber` | Local register number | `812 022 309` |
| `status` | Active, inactive or any | `ACTIVE` |
| `includeParents` | Add direct and ultimate parents (slower) | `true` |
| `excludeSoleProprietors` | Skip individual entrepreneurs | `true` |
| `maxResults` | Maximum records | `100` |

### Pricing

Pay per result: **$0.001 per LEI record** (1,000 records for $1). Codes not found are free.

### Good to know

- GLEIF limits its API to 60 requests per minute; the Actor paces itself automatically. Searches read up to 100 records per request (thousands per minute); with parents, count about 2.5 seconds per record.
- Parent companies are only shown when the entity has declared them to GLEIF; many entities report an exception instead.
- Sole proprietors are excluded by default: the Actor is built for companies and organisations.
- Data: GLEIF Golden Copy, CC0 1.0.

# Actor input Schema

## `searchQuery` (type: `string`):

Search the global LEI registry, e.g. Airbus, Société Générale, Siemens. Searches names, addresses and identifiers.

## `nameOnly` (type: `boolean`):

Match the search only against legal and other names (more precise than the default full-text search).

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

20-character LEI codes to look up directly, one per line.

## `countries` (type: `array`):

2-letter ISO codes of the legal address country, e.g. FR, DE, US, GB.

## `registrationNumber` (type: `string`):

Number in the local company register (e.g. a French SIREN, a German HRB number, a UK company number).

## `status` (type: `string`):

Keep only active entities, only inactive ones, or both.

## `includeParents` (type: `boolean`):

Add the direct and ultimate parent companies declared to GLEIF (two extra requests per record, slower).

## `excludeSoleProprietors` (type: `boolean`):

Skip LEI records of individual entrepreneurs (category SOLE_PROPRIETOR), keeping only companies, funds and organisations.

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

Maximum number of LEI records to save.

## Actor input object example

```json
{
  "searchQuery": "Airbus",
  "nameOnly": false,
  "countries": [
    "FR"
  ],
  "status": "ACTIVE",
  "includeParents": true,
  "excludeSoleProprietors": true,
  "maxResults": 10
}
```

# Actor output Schema

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

All rows produced by the run.

# 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 = {
    "searchQuery": "Airbus",
    "countries": [
        "FR"
    ],
    "includeParents": true,
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("klyve1/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 = {
    "searchQuery": "Airbus",
    "countries": ["FR"],
    "includeParents": True,
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("klyve1/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 '{
  "searchQuery": "Airbus",
  "countries": [
    "FR"
  ],
  "includeParents": true,
  "maxResults": 10
}' |
apify call klyve1/gleif-lei-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,klyve1/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/KtaZqOgFcgURwEq9I/builds/iK4KanM2dIPWE6k9Q/openapi.json
