# LEI Lookup & Company Search (bulk, renewal dates, parents) (`brimming_placket/lei-lookup`) Actor

Look up LEI codes in bulk or search the Global LEI Index by name, country, status or renewal date. Addresses, renewal dates, BICs, optional parents. $2 per 1,000 records.

- **URL**: https://apify.com/brimming_placket/lei-lookup.md
- **Developed by:** [Keaton Anderson](https://apify.com/brimming_placket) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 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 & Company Search (bulk, renewal dates, parents)

Look up Legal Entity Identifiers (LEIs) in bulk, or search the Global LEI Index by company name, country, status or renewal date. Get clean JSON, CSV or Excel: legal name, legal and headquarters address, company number and registry, legal form, LEI status, next renewal date, BIC codes, and (optionally) the direct and ultimate parent company.

**Data source:** GLEIF's free public API, published under the CC0 licence. No login, no API key, no proxy needed. Records are as current as GLEIF's daily golden copy.

### What you can use it for

- **KYC and onboarding:** check a list of counterparties' LEIs, statuses and registered addresses in one run
- **LEI renewal leads:** find LEIs that lapsed, or fall due for renewal in a date window, by country
- **Corporate structure:** add each entity's direct and ultimate parent
- **Data cleaning:** map BIC codes, legal forms and company numbers onto your own entity list

### Pricing

**$2.00 per 1,000 records** (pay per result). You pay only for records returned. A record found by two of your searches is charged once. Parent lookups are included at no extra charge. Set **Max results** to cap the cost of any run.

### Input

| Field | What it does |
|---|---|
| LEI codes | Codes to look up, one per line. 200 codes per request, so a list of thousands is quick. |
| Search terms | Company names or words, one per line (full-text search). |
| Countries | Two-letter codes for the legal address country, e.g. `DE`, `LU`. |
| LEI registration status | `ISSUED`, `LAPSED`, `RETIRED` and the rest. |
| Entity status | `ACTIVE` or `INACTIVE`. |
| Renewal due from / to | Only LEIs whose next renewal falls in this window. |
| Include parent companies | Adds direct and ultimate parent LEI and name where GLEIF has them. About 2 seconds extra per record. |
| Max results | Stop after this many records. |
| Max pages per search | 200 records a page. |

Filters narrow every search. With no codes and no search terms, the filters alone pick the records.

Example: every Luxembourg LEI due for renewal in November 2026.

```json
{
  "countries": ["LU"],
  "registrationStatus": "ISSUED",
  "renewalDueFrom": "2026-11-01",
  "renewalDueTo": "2026-11-30",
  "maxItems": 1000
}
```

Example: bulk check with parents.

```json
{
  "leis": ["529900W18LQJJN6SJ336"],
  "includeParents": true
}
```

### Output

One row per legal entity:

```json
{
  "lei": "529900W18LQJJN6SJ336",
  "legalName": "Société Générale Effekten GmbH",
  "otherNames": [],
  "entityStatus": "ACTIVE",
  "category": "GENERAL",
  "legalFormCode": "2HBR",
  "jurisdiction": "DE",
  "registeredAt": "RA000242",
  "registeredAs": "HRB 32283",
  "creationDate": "1977-03-02",
  "legalAddressLines": ["Neue Mainzer Straße 46-50"],
  "legalAddressCity": "Frankfurt am Main",
  "legalAddressRegion": "DE-HE",
  "legalAddressCountry": "DE",
  "legalAddressPostalCode": "60311",
  "registrationStatus": "ISSUED",
  "initialRegistrationDate": "2014-01-27",
  "nextRenewalDate": "2027-10-17",
  "daysUntilRenewal": 352,
  "managingLou": "5299000J2N45DDNE4Y28",
  "corroborationLevel": "FULLY_CORROBORATED",
  "bic": ["SGEFDEFFXXX"],
  "directParentLei": "O2RNE8IBXP4R0TD8PU41",
  "directParentName": "SOCIETE GENERALE",
  "recordUrl": "https://search.gleif.org/#/record/529900W18LQJJN6SJ336",
  "query": "lei lookup",
  "scrapedAt": "2026-10-30T19:10:00+00:00"
}
```

(Shortened; headquarters address, expiry and successor fields are in every row too. Dates are UTC dates.)

### Personal data

LEIs identify legal entities, but a few are issued to sole proprietors, who are people. **Sole-proprietor records are left out and never charged**; the run summary says how many were skipped.

### Reliability

- A run that finds nothing **fails** with a clear message instead of "succeeding" empty.
- Stays under GLEIF's rate limit, and waits as told when the API asks it to slow down.
- Tested daily against a live lookup.
- Issues are answered within 14 days.

### Notes

- Very large pulls (hundreds of thousands of records) are better served by GLEIF's free full-file download.
- Not affiliated with or endorsed by GLEIF.

# Actor input Schema

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

20-character LEI codes to look up, one per line. Looked up 200 at a time, so thousands are quick.

## `searchTerms` (type: `array`):

Company names or words to search for (full-text over names and other fields). One per line. The filters below narrow each search.

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

Two-letter country codes, e.g. DE, FR, US. Leave empty for all countries. Without LEI codes or search terms, the filters alone pick the records.

## `registrationStatus` (type: `string`):

ISSUED is current. LAPSED means the yearly renewal was missed.

## `entityStatus` (type: `string`):

Whether the company itself is still active.

## `renewalDueFrom` (type: `string`):

Only LEIs whose next renewal date is on or after this day (YYYY-MM-DD).

## `renewalDueTo` (type: `string`):

Only LEIs whose next renewal date is on or before this day (YYYY-MM-DD).

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

Adds the direct and ultimate parent (LEI and name) where GLEIF has them. Same price, but about 2 extra seconds per record.

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

Stop after this many records across all queries. You are charged per record, so this caps the cost of a run.

## `maxPagesPerQuery` (type: `integer`):

200 records per page. For very large pulls, split by country or use GLEIF's free full-file download.

## `requestDelaySecs` (type: `number`):

GLEIF allows 60 requests a minute; the default stays just under it.

## `failOnZeroItems` (type: `boolean`):

On by default, so a changed API or a typo shows up as a failed run instead of a silent empty one.

## `proxyConfiguration` (type: `object`):

Not needed: GLEIF's API is open. Leave off.

## Actor input object example

```json
{
  "leis": [
    "529900W18LQJJN6SJ336"
  ],
  "registrationStatus": "ANY",
  "entityStatus": "ANY",
  "includeParents": false,
  "maxItems": 100,
  "maxPagesPerQuery": 10,
  "requestDelaySecs": 1.1,
  "failOnZeroItems": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all LEI records

# 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": [
        "529900W18LQJJN6SJ336"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("brimming_placket/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": ["529900W18LQJJN6SJ336"] }

# Run the Actor and wait for it to finish
run = client.actor("brimming_placket/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": [
    "529900W18LQJJN6SJ336"
  ]
}' |
apify call brimming_placket/lei-lookup --silent --output-dataset

```

## MCP server setup

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