# GLEIF LEI Records (Legal Entity Identifier search) (`darikami/gleif-lei-records`) Actor

Legal entity records from the GLEIF Global LEI Index: LEI, legal name, other names, legal and headquarters address, jurisdiction, register number, entity and registration status, renewal date. Search by name, country, category, status and registration date, or look up LEIs.

- **URL**: https://apify.com/darikami/gleif-lei-records.md
- **Developed by:** [DARIKAMI GmbH](https://apify.com/darikami) (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

$1.00 / 1,000 lei record delivereds

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

## GLEIF LEI Records (Legal Entity Identifier search)

**Legal entity records from the GLEIF Global LEI Index: the legal name, the LEI, the addresses, the jurisdiction, the register number, the statuses and the renewal date (about 3.5 million records on 2026-11-06).**
Search by name, country, category, status and registration date, or look up LEIs. The data comes from GLEIF's own API.
**USD 0.001 per record (USD 1 per 1,000).** You pay only for the records delivered.

| LEI | Legal name | City | First registered | LEI status |
|---|---|---|---|---|
| 506700VFWD5648952686 | philoro Invest AG | Vaduz | 2026-11-05 | ISSUED |
| 5299001OWKQ41H8S6F06 | Goodgold Stiftung | Vaduz | 2026-11-05 | ISSUED |
| 5299001QRFOJHKI7LG20 | Global Fin GmbH | Vaduz | 2026-11-05 | ISSUED |
| 5299003BFRM1RM196H29 | THE CALINO TRUST | Vaduz | 2026-11-03 | ISSUED |
| 5299005L3SDQW7VUFD49 | Ares Foundation | Schaan | 2026-11-06 | ISSUED |

The rows come from a real cloud run of 2026-11-06: general entities of Liechtenstein with a LEI first registered from 2026-11-01, at most 5. The full item is under Output.

### Who uses it

- **KYB, onboarding and compliance:** look up a counterparty's LEI and read its legal name, address, register number and status.
- **Sales and research lists:** the entities of a country by category, or the LEIs registered in the last days.
- **Data enrichment:** match your company list to LEIs by name or register number.

### What it does not do

- Level 1 data only: who the entity is. No parent and child relationships (Level 2), no financial data.
- Sole proprietors are not returned. They are natural persons' businesses (132,934 of the records on 2026-11-06).
- The legal form is the code of the ISO 20275 list (`legalFormCode`), not its text.
- A request returns up to 200 records and the actor sends about one request a second. A run of 100,000 records takes about 10 minutes.

### Input

```json
{
  "query": "bank",
  "countries": ["CH", "LI"],
  "categories": ["GENERAL"],
  "entityStatuses": ["ACTIVE"],
  "registeredFrom": "2026-10-01",
  "maxResults": 1000
}
```

All fields are optional. An empty input returns the first 1,000 records.

| Field | What it does |
|---|---|
| `query` | Text search over the legal name and the other names (GLEIF's fulltext filter). |
| `countries` | Two-letter country codes of the legal address. |
| `categories` | `GENERAL`, `FUND`, `BRANCH`, `INTERNATIONAL_ORGANIZATION`, `RESIDENT_GOVERNMENT_ENTITY`. |
| `entityStatuses` | `ACTIVE`, `INACTIVE`, `NULL`. |
| `registrationStatuses` | The status of the LEI: `ISSUED`, `LAPSED`, `MERGED`, `RETIRED`, `ANNULLED`, `CANCELLED`, `TRANSFERRED` and others. |
| `registeredFrom`, `registeredTo` | The date the LEI was first registered, both days included (YYYY-MM-DD). |
| `leis` | Look up these LEIs; the other filters are then not used. A LEI that is not found comes back as a free `not-found` item. Up to 5,000. |
| `maxResults` | The run stops after this number of records. Default 1,000. |

A record must pass every filter that you set.

### Output

One item per record:

```json
{
  "id": "LEI-506700VFWD5648952686",
  "lei": "506700VFWD5648952686",
  "legalName": "philoro Invest AG",
  "legalNameLanguage": "de-CH",
  "otherNames": [],
  "category": "GENERAL",
  "legalFormCode": "7RRP",
  "entityStatus": "ACTIVE",
  "jurisdiction": "LI",
  "registeredAtId": "RA000428",
  "registeredAs": "FL-0002.735.894-3",
  "legalAddress": { "lines": ["Heiligkreuz 6"], "city": "Vaduz", "region": "LI-11", "country": "LI", "postalCode": "9490" },
  "headquartersAddress": null,
  "entityCreationDate": "2025-01-16T00:00:00Z",
  "registrationStatus": "ISSUED",
  "initialRegistrationDate": "2026-11-05T00:00:00Z",
  "lastUpdateDate": "2026-11-05T08:50:01Z",
  "nextRenewalDate": "2027-11-05T00:00:00Z",
  "managingLou": "506700LOLO7M6V0E4247",
  "corroborationLevel": "FULLY_CORROBORATED",
  "personalDataRemoved": false,
  "gleifUrl": "https://search.gleif.org/#/record/506700VFWD5648952686",
  "goldenCopyDate": "2026-11-06"
}
```

- `headquartersAddress` is `null` when it equals the legal address.
- `registeredAtId` and `registeredAs`: the business register (a GLEIF registration authority code) and the number there.
- `successorLei`, `bic`, `spglobal` and `source` complete the item.
- `goldenCopyDate`: the date of GLEIF's last full publication that the API serves.

### Pricing (pay per event)

| Event | Price | When |
|---|---|---|
| `record` | **USD 0.001** | one LEI record that matched your filters or LEIs, pushed to the dataset |

Free: sole proprietors, error items, `not-found` items and the note "nothing matched".
1,000 records cost USD 1.
You pay no more than the maximum charge that you set for a run.

### Personal data

- Sole proprietors are not requested, and records with a sole proprietor's legal form are dropped. A lookup of such an LEI returns nothing for it. A sole trader filed under a general category and a catch-all legal form can remain.
- The mail routing line of an address, every address line that hands the address to a person ("c/o", "Attn" and similar) and every line with an e-mail address or a telephone number are removed. `personalDataRemoved` marks a record where this happened.
- On a sample of 3,000 records of Liechtenstein on 2026-11-06 the filter changed 1,907: many entities use the address of a fiduciary firm ("c/o ...").
- A company name can contain a person's name. The LEI register publishes it as the name of a legal entity.

### Data source and terms

- **Source:** the GLEIF API, `https://api.gleif.org/api/v1/lei-records` (documentation: `https://api.gleif.org/docs`). No key.
- **Licence:** GLEIF, "LEI data terms of use" (`https://www.gleif.org/en/meta/lei-data-terms-of-use`, read 2026-11-06): "The data available through the Access Service are provided under the CC0 licence."
- The actor sends at most one request a second. This actor is not endorsed by GLEIF. It is provided without warranty.

### Reliability

A run fails with exit code 1 and an `ERROR` line in the log in these cases:

- a page cannot be read after the retries, or the answer is not JSON;
- the API answers without a data list, or its next-page link points away from the API.

The records found until then stay in the dataset.
The run summary is in the default key-value store under `SUMMARY`, the counts under `STATS`.

**More official-data actors by darikami:** [European company registers](https://apify.com/darikami/european-company-registers) · [SEC company fundamentals](https://apify.com/darikami/sec-company-fundamentals) · [Swiss UID validator](https://apify.com/darikami/swiss-uid-validator) · [French company search](https://apify.com/darikami/french-company-search).
In an AI agent: ask the Apify MCP server (`mcp.apify.com`) for `darikami/gleif-lei-records`.

# Actor input Schema

## `query` (type: `string`):

Text search over the legal name and other names (the GLEIF fulltext filter). Empty: every name.

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

Two-letter country codes of the legal address, for example CH, DE, US. Empty: all countries.

## `categories` (type: `array`):

Empty: all categories. Sole proprietors are not offered: they are natural persons' businesses.

## `entityStatuses` (type: `array`):

Empty: any.

## `registrationStatuses` (type: `array`):

Empty: any.

## `registeredFrom` (type: `string`):

First initial registration date of the LEI (YYYY-MM-DD), included.

## `registeredTo` (type: `string`):

Last initial registration date of the LEI (YYYY-MM-DD), included.

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

Look up these LEIs (20 characters). Other filters are then not used. A LEI that is not found comes back as a free not-found item. Up to 5,000.

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

The run stops after this number of records. One page of 200 takes about a second.

## Actor input object example

```json
{
  "query": "bank",
  "maxResults": 1000
}
```

# Actor output Schema

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

One item per record: LEI, legal name, other names, category, jurisdiction, addresses, register number, statuses, dates.

## `summary` (type: `string`):

SUMMARY record: pushed, charged, attempts, errors, stoppedByBudget, ok, message.

## `stats` (type: `string`):

STATS record: requests, records read, sole proprietors withheld, emitted, charged, addresses changed by the privacy filter, LEIs not found, the golden copy date.

# 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 = {
    "query": "bank"
};

// Run the Actor and wait for it to finish
const run = await client.actor("darikami/gleif-lei-records").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 = { "query": "bank" }

# Run the Actor and wait for it to finish
run = client.actor("darikami/gleif-lei-records").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 '{
  "query": "bank"
}' |
apify call darikami/gleif-lei-records --silent --output-dataset

```

## MCP server setup

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

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/hbSSqKia9KhGjHNon/builds/bA28AkxQP9FwAI8yU/openapi.json
