# GLEIF LEI Lookup API: Legal Entity Identifier Search (`clearpathdata/gleif-lei-lookup`) Actor

Look up LEI codes or search companies by name in the official GLEIF global LEI index: legal name, addresses, status, renewal dates and parent companies. Bulk, no key. $2.70 per 1,000.

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

## Pricing

$2.70 / 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

## GLEIF LEI Lookup API: Legal Entity Identifier Search

Look up LEI codes or search companies by name in the official GLEIF global LEI index: legal name, addresses, status, renewal dates and parent companies. Bulk, no key. $2.70 per 1,000.

### What does it do?

**GLEIF LEI Lookup** finds Legal Entity Identifiers (LEIs) and company records in the official **GLEIF** global index: legal name, other names, legal and HQ address, legal form, status, registration and renewal dates, BIC, and optional direct/ultimate parent companies.

- ✅ Official public data source: no login, no cookies, no proxies
- ✅ Fast: plain API calls, typical runs finish in seconds
- ✅ Clean, flat JSON / CSV / Excel output, ready for Sheets, BI tools or AI agents
- ✅ Pay only for results: no monthly rental

### Use cases

- **KYC & onboarding:** verify counterparties.
- **Finance & regulatory reporting:** check LEI status and renewals.
- **Corporate research:** map parent companies.

### How to use it

1. Click **Try for free**. The input is prefilled with a working example.
2. Edit the input (see examples below) and click **Start**.
3. Download results as JSON, CSV, Excel or HTML, or pull them via API.

### Input examples

**LEI + name search**

```json
{
  "leis": [
    "HWUPKR0MPOU8FGXBT394"
  ],
  "names": [
    "Siemens"
  ],
  "maxResultsPerName": 5
}
```

### Output

Sample rows:

| input | lei | legalName | entityStatus | legalCountry | nextRenewalDate |
|---|---|---|---|---|---|
| HWUPKR0MPOU8FGXBT394 | HWUPKR0MPOU8FGXBT394 | Apple Inc. | ACTIVE | US | 2027-03-08T17:27:20Z |
| Siemens | 391200HRVVXK0TAQJU80 | Siemens Stiftung | ACTIVE | DE | 2027-09-05T09:30:11Z |

Sample JSON record (long fields shortened):

```json
{
  "input": "HWUPKR0MPOU8FGXBT394",
  "inputType": "lei",
  "found": true,
  "lei": "HWUPKR0MPOU8FGXBT394",
  "legalName": "Apple Inc.",
  "otherNames": [
    "Apple Computer, Inc."
  ],
  "entityStatus": "ACTIVE",
  "legalForm": "H1UM",
  "category": "GENERAL",
  "jurisdiction": "US-CA",
  "legalAddress": "C/O C T Corporation System, 330 N. Brand Blvd, Suite 700, Glendale, US-CA, 91203, US",
  "legalCountry": "US",
  "headquartersAddress": "One Apple Park Way, Cupertino, US-CA, 95014, US",
  "headquartersCountry": "US",
  "registeredAt": "RA000598",
  "registeredAs": "806592",
  "creationDate": "1977-01-03T00:00:00Z",
  "registrationStatus": "ISSUED",
  "initialRegistrationDate": "2012-06-06T15:53:00Z",
  "lastUpdateDate": "2026-03-03T16:34:33Z",
  "nextRenewalDate": "2027-03-08T17:27:20Z",
  "managingLou": "5493001KJTIIGC8Y1R12",
  "corroborationLevel": "FULLY_CORROBORATED",
  "bic": [
    "APLEUS66XXX"
  ],
  "gleifUrl": "https://search.gleif.org/#/record/HWUPKR0MPOU8FGXBT394",
  "source": "GLEIF API v1 (CC0)",
  "directParentLei": null,
  "directParentName": null,
  "ultimateParentLei": null,
  "ultimateParentName": null
}
```

### Pricing

Pay per event: **$0.0027 per LEI record** ($2.70 per 1,000). No start fee, no monthly rental. Rows for not-found inputs and errors are free.

| Results | Cost |
|---|---|
| 100 LEI records | $0.27 |
| 1,000 LEI records | $2.70 |
| 10,000 LEI records | $27.00 |

Apify's free plan includes monthly platform credit, so you can try it at no cost.

### Integrations

- **Google Sheets:** use Apify's Google Sheets integration, or import the dataset CSV link with `=IMPORTDATA()`.
- **Zapier & Make:** trigger runs and receive the dataset via the official Apify apps.
- **Webhooks & schedules:** run daily or hourly and post results anywhere.
- **AI agents (MCP):** available to Claude, ChatGPT and other agents through the Apify MCP server.
- **API & SDKs:** call from Python, JavaScript or any HTTP client:

```bash
curl -X POST 'https://api.apify.com/v2/acts/clearpathdata~gleif-lei-lookup/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"leis": ["HWUPKR0MPOU8FGXBT394"], "names": ["Siemens"], "maxResultsPerName": 5}'
```

### FAQ

**Search by name?**

Yes. Fuzzy name search with optional country and active-only filters.

**License?**

GLEIF data is CC0.

**Something not working?**

Open an issue on the Actor's Issues tab, and it will be fixed quickly.

### More details

Look up LEI codes or search companies by name in the official GLEIF global LEI index. Get legal name, addresses, status, renewal dates and parent companies.

Verify **Legal Entity Identifiers (LEI)** or find a company's LEI by name in the **official GLEIF Global LEI Index** (about 3 million entities worldwide). Optionally, attach each entity's **direct and ultimate parent** from GLEIF's Level 2 relationship data.

**Uses:** KYC/KYB and counterparty onboarding, MiFIR/EMIR/SFTR transaction-reporting checks, vendor master-data enrichment, ownership-structure research, monitoring LEI renewal lapses (schedule it monthly).

##### Output fields

lei, legalName, otherNames, entityStatus, legalForm, category, jurisdiction, legalAddress, legalCountry, headquartersAddress, headquartersCountry, registeredAt/registeredAs (business-register ID), creationDate, registrationStatus (ISSUED/LAPSED...), initialRegistrationDate, lastUpdateDate, nextRenewalDate, managingLou, corroborationLevel, BIC, gleifUrl, and, with parents on, directParentLei/Name and ultimateParentLei/Name.

##### Notes

LEIs or names that are not found are returned as `found: false` and are free. GLEIF data is published under CC0 via the public GLEIF API (api.gleif.org). Not affiliated with GLEIF.

##### Pricing

Pay per event: **lei-record** at $0.0027 ($2.7 per 1,000). Charged per LEI record returned. You pay only for results; not-found and error rows are free. Apify platform usage is included.

##### Example input

```json
{
  "leis": [
    "HWUPKR0MPOU8FGXBT394",
    "00000000000000000000"
  ],
  "names": [
    "Siemens"
  ],
  "countries": [
    "DE"
  ],
  "maxResultsPerName": 3,
  "includeParents": true
}
```

Built by clearpathdata, a maker of official open-data Actors. Questions and feature requests are welcome in the Issues tab.

# Actor input Schema

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

20-character Legal Entity Identifiers to verify/enrich (batched 200 per request).

## `names` (type: `array`):

Legal or trading names to search (full-text).

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

ISO 3166 alpha-2 codes for the legal address country, e.g. DE, US.

## `activeOnly` (type: `boolean`):

Only return entities with status ACTIVE (names search).

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

Cap on matches per name.

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

Adds the direct and ultimate accounting-consolidating parent LEI and name (2 extra API calls per record).

## Actor input object example

```json
{
  "leis": [
    "HWUPKR0MPOU8FGXBT394"
  ],
  "names": [
    "Siemens"
  ],
  "activeOnly": false,
  "maxResultsPerName": 5,
  "includeParents": false
}
```

# Actor output Schema

## `results` (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 = {
    "leis": [
        "HWUPKR0MPOU8FGXBT394"
    ],
    "names": [
        "Siemens"
    ],
    "maxResultsPerName": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("clearpathdata/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 = {
    "leis": ["HWUPKR0MPOU8FGXBT394"],
    "names": ["Siemens"],
    "maxResultsPerName": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("clearpathdata/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 '{
  "leis": [
    "HWUPKR0MPOU8FGXBT394"
  ],
  "names": [
    "Siemens"
  ],
  "maxResultsPerName": 5
}' |
apify call clearpathdata/gleif-lei-lookup --silent --output-dataset

```

## MCP server setup

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