# LEI Company Lookup (GLEIF Legal Entity Data) (`oddsdesk/gleif-lei-company-lookup`) Actor

Look up any legal entity worldwide in the official GLEIF LEI database: legal name, LEI, registration number, jurisdiction, legal form, legal and HQ address, status, renewal date and optional direct and ultimate parent companies. Search by name, LEI or country.

- **URL**: https://apify.com/oddsdesk/gleif-lei-company-lookup.md
- **Developed by:** [Jakob](https://apify.com/oddsdesk) (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.00 / 1,000 result rows

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 Company Lookup

**LEI Company Lookup** searches the official **GLEIF** database of Legal Entity Identifiers, the global register used by banks, regulators and KYC teams. Look up companies by name, by 20-character LEI or by country, and get the exact legal name, LEI, local registration number and authority, jurisdiction, legal form, legal and headquarters address, entity and registration status, renewal date and, optionally, the direct and ultimate parent company.

### What you can do with it

- **KYC, onboarding and compliance:** verify a counterparty's legal name, address and LEI status.
- **Data enrichment:** add LEIs, registration numbers and parent companies to a CRM or supplier list.
- **Corporate structure research:** find who owns whom.
- **New-company lists:** every entity that registered an LEI in a country recently.

### How to use it

1. Add **Company names**, **LEI codes** or **Countries**.
2. Optional: status filter, matches per name, include parent companies.
3. Click **Start**.

**Example input**

```json
{
  "companyNames": [
    "Siemens Healthineers"
  ],
  "maxPerName": 3,
  "includeParents": true
}
```

### What you get

| Field | Meaning |
|---|---|
| `lei` | Legal Entity Identifier |
| `legalName` | Legal company name |
| `otherNames` | Other and previous names |
| `status` | Status |
| `registrationStatus` | LEI status (ISSUED, LAPSED...) |
| `jurisdiction` | Jurisdiction |
| `legalFormId` | ISO 20275 legal form code |
| `category` | goods, services or works |
| `registeredAs` | Local registration number |
| `registrationAuthorityId` | Business register ID (GLEIF RA list) |
| `legalAddress` | Registered address |
| `legalCountry` | Registered country |
| `legalCity` | Registered city |
| `hqAddress` | Headquarters address |
| `hqCountry` | HQ country |
| `hqCity` | HQ city |
| `createdOn` | Entity creation date |
| `initialRegistration` | First LEI registration |
| `lastUpdate` | Last LEI update |
| `nextRenewal` | Next renewal due |
| `managingLou` | LEI issuer |
| `bic` | SWIFT/BIC codes |
| `directParentLei` | Direct parent LEI |
| `directParentName` | Direct parent name |
| `ultimateParentLei` | Ultimate parent LEI |
| `ultimateParentName` | Ultimate parent name |
| `query` | The search term that found it |
| `url` | Link to the record on the official site |
| `fetchedAt` | When this Actor fetched the row |

**Example row (real output)**

```json
{
  "lei": "529900QBVWXMWANH7H45",
  "legalName": "Siemens Healthineers AG",
  "otherNames": null,
  "status": "ACTIVE",
  "registrationStatus": "ISSUED",
  "jurisdiction": "DE",
  "legalFormId": "6QQB",
  "category": "GENERAL",
  "registeredAs": "HRB 237558",
  "registrationAuthorityId": "RA000304",
  "legalAddress": "n.a, München, DE-BY, 80331, DE",
  "legalCountry": "DE",
  "legalCity": "München",
  "hqAddress": "Siemensstr. 3, Forchheim, DE-BY, 91301, DE",
  "hqCountry": "DE",
  "hqCity": "Forchheim",
  "createdOn": "2017-12-11T23:00:00Z",
  "initialRegistration": "2018-02-13T15:53:47Z",
  "lastUpdate": "2026-01-16T11:22:50Z",
  "nextRenewal": "2027-03-05T11:01:05Z",
  "managingLou": "5299000J2N45DDNE4Y28",
  "bic": [
    "SIHCDE8EXXX"
  ],
  "url": "https://search.gleif.org/#/record/529900QBVWXMWANH7H45",
  "fetchedAt": "2026-11-10T08:15:50Z",
  "query": "Siemens Healthineers",
  "directParentLei": "W38RGI023J3WT1HWRP32",
  "directParentName": "Siemens Aktiengesellschaft",
  "ultimateParentLei": "W38RGI023J3WT1HWRP32",
  "ultimateParentName": "Siemens Aktiengesellschaft"
}
```

### Pricing

You pay per result: **$1.00 per 1,000 rows** ($0.001 per row), plus a small Apify start fee per run. Set **Max results** to cap the cost of any run. There's no monthly rental.

### Run it on a schedule

Most people use this Actor as a feed. In Apify Console, open **Schedules**, pick this Actor and a time (daily is typical), and connect an integration to send new rows to **Google Sheets, Slack, email, Zapier, Make, n8n or a webhook**. You can also call it from your own code with the [Apify API](https://docs.apify.com/api/v2) or the Apify Python and JavaScript clients, or let an AI agent call it through the Apify MCP server.

### Is this allowed?

This Actor only reads **open LEI data published by GLEIF under a CC0 licence**. It does not log in anywhere or bypass any access control, and it is built to return business data, not personal data about individuals. You are responsible for using the data in line with the source's terms and the laws that apply to you (for example GDPR and anti-spam rules if you use company contact data for outreach).

*Not affiliated with or endorsed by GLEIF. Data is provided as-is from the official source.*

### Questions, bugs, ideas

Open an issue on the **Issues** tab and I'll look into it. If a source changes and something breaks, I fix it; Apify also tests this Actor automatically every day. Feature requests (a new field, a new filter, another source) are welcome.

More data tools from the same developer: [apify.com/oddsdesk](https://apify.com/oddsdesk).

# Actor input Schema

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

Legal names to search, e.g. Siemens AG, Apple Inc.

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

20-character LEIs to look up exactly.

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

2-letter ISO countries of the legal address. With no names or LEIs, returns entities registered there.

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

Filter on entity status.

## `maxPerName` (type: `integer`):

How many matches to keep per company name.

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

Add direct and ultimate parent LEI and name (2 extra requests per entity).

## `maxItems` (type: `integer`):

Maximum number of rows to return. You pay per row, so this also caps your cost.

## Actor input object example

```json
{
  "companyNames": [
    "Siemens AG",
    "Apple Inc"
  ],
  "status": "ACTIVE",
  "maxPerName": 5,
  "includeParents": false,
  "maxItems": 200
}
```

# Actor output Schema

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

One row per result, as described in the README.

# 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": [
        "Siemens AG",
        "Apple Inc"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("oddsdesk/gleif-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": [
        "Siemens AG",
        "Apple Inc",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("oddsdesk/gleif-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": [
    "Siemens AG",
    "Apple Inc"
  ]
}' |
apify call oddsdesk/gleif-lei-company-lookup --silent --output-dataset

```

## MCP server setup

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