# GLEIF LEI Lookup & New LEI Feed with Parent Hierarchy (`datacrate/gleif-lei-registry-feed`) Actor

Search the GLEIF Global LEI Index or get newly issued and changed LEIs by country, category and status. Parent and subsidiary hierarchy, legal form, registry ids and delta mode for daily alerts. Official free API.

- **URL**: https://apify.com/datacrate/gleif-lei-registry-feed.md
- **Developed by:** [Data Crate](https://apify.com/datacrate) (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 $0.96 / 1,000 lei record returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 & New LEI Feed with Parent Hierarchy

**Search the official GLEIF Global LEI Index, or get a daily feed of newly issued and recently changed Legal Entity Identifiers (LEIs).** Filter by country, entity category, status and registration window, look up specific LEI codes, and walk a corporate group from a parent LEI down to its direct or ultimate subsidiaries. Delta mode returns only records you have not seen yet.

**First run cost:** the default run returns the 25 newest LEIs registered in the last 7 days for about **$0.03** at **$0.0012 per result** (the first 5 seconds of compute are covered by Apify). 1,000 results cost about **$1.20**, less on higher Apify plans.

### Who it is for

- **Sales and lead-gen teams** who want newly registered companies, funds and financial entities (new LEI = a regulated or financing-active company) with country, legal form and registry id.
- **Compliance, KYC and onboarding teams** who need to resolve a name or LEI code to the legal entity, its status (`ACTIVE`, `LAPSED`) and its reported parents.
- **Fintech, risk and data teams** who need a clean, schedulable feed of the LEI universe, including **lapsed** registrations (renewal overdue).
- **Analysts and agents** mapping corporate groups: list all subsidiaries of a parent LEI.

### What you get per record

`lei`, `legalName`, `otherNames`, `category` (GENERAL, FUND, BRANCH, INTERNATIONAL_ORGANIZATION), `entityStatus`, `legalFormId`, `jurisdiction`, `registeredAt` and `registrationNumber` (business registry id), `country`, `region`, `city`, `postalCode`, `addressLines`, `headquartersCountry`, `headquartersCity`, `entityCreationDate`, `registrationStatus`, `initialRegistrationDate`, `lastUpdateDate`, `nextRenewalDate`, `managingLou`, `corroborationLevel`, `bic`, `successorLei`, `hasDirectParent`, `hasUltimateParent`, parent exception flags, optional `directParentLei/Name` and `ultimateParentLei/Name`, `ageDays`, `isNew`, `url`, `attribution`, `checkedAt`.

### Input

| Field | Meaning |
|---|---|
| `search` | legal name contains (for example `Deutsche Bank`) |
| `leis` | list of exact 20-character LEI codes to fetch |
| `childrenOfLei`, `hierarchy` | list the direct or all ultimate subsidiaries of a parent LEI |
| `country`, `category`, `entityStatus`, `registrationStatus` | filters (`registrationStatus: LAPSED` finds overdue renewals) |
| `registeredWithinDays` | newly issued LEIs in the last N days (default 7 when no other filter is set) |
| `updatedWithinDays` | records changed in the last N days |
| `includeParents` | add direct and ultimate parent LEI and name (slower, GLEIF allows 60 requests per minute) |
| `onlyWithParent` | keep only entities that report a parent |
| `includeSoleProprietors` | off by default (sole proprietor LEIs can carry a person's name) |
| `maxItems` | cap on rows and cost (default 25) |
| `onlyNewSinceLastRun`, `stateKey` | delta mode, one watchlist per state name |

Default input:

```json
{ "registeredWithinDays": 7, "maxItems": 25 }
```

All German funds changed in the last 2 days:

```json
{ "country": "DE", "category": "FUND", "updatedWithinDays": 2, "maxItems": 200 }
```

Every subsidiary of a parent group, with parent names:

```json
{ "childrenOfLei": "8I5DZWZKVSZI1NUHU748", "hierarchy": "ultimate", "includeParents": true, "maxItems": 100 }
```

### Sample output (trimmed)

```json
{
  "lei": "969500WVQ16LAMI5J506",
  "legalName": "APPLE TREE",
  "category": "GENERAL",
  "entityStatus": "ACTIVE",
  "country": "FR",
  "city": "SAINT-LEGER-EN-YVELINES",
  "registrationStatus": "ISSUED",
  "initialRegistrationDate": "2026-11-13T21:01:16Z",
  "nextRenewalDate": "2027-11-13T10:28:31Z",
  "hasDirectParent": false,
  "ageDays": 7,
  "url": "https://search.gleif.org/#/record/969500WVQ16LAMI5J506"
}
```

### FAQ

**What is an LEI?** A 20-character code (ISO 17442) that identifies a legal entity in financial transactions and regulatory reporting. GLEIF publishes the whole index as open data.

**Why do I see fewer rows than I asked for?** Sole proprietor LEIs are skipped by default, because they can identify a natural person. Turn on `includeSoleProprietors` only if you have a lawful basis.

**How fresh is the data?** The API serves the latest published GLEIF golden copy, which is refreshed several times per day.

**How do parents work?** `hasDirectParent` and `hasUltimateParent` come straight from the record. With `includeParents` the actor makes one extra request per parent to add its LEI and name. Many entities report an exception instead of a parent (`directParentException`).

**Delta mode?** With `onlyNewSinceLastRun` an LEI is returned again only if its `lastUpdateDate` changed. Combine with `updatedWithinDays: 2` on a daily schedule for a change feed.

**Does it need an API key?** No. It uses the free public GLEIF API and paces itself under the documented rate limit.

**Personal data?** Records describe legal entities. The actor does not return contact emails or phone numbers, and skips sole proprietors by default.

### Terms and robots evidence (checked 2026-11-21)

- Data comes from the public GLEIF API `https://api.gleif.org/api/v1`, no login or key.
- `api.gleif.org/robots.txt`: `User-agent: *  Disallow:` (nothing disallowed).
- GLEIF open data page (https://www.gleif.org/en/about/open-data): "The data on GLEIF's website is provided under a Creative Commons (CC0) license", so reuse and redistribution are allowed. Each row carries an `attribution` field.

### Integrations

Schedule daily, push new LEIs to Slack, email, a CRM or a Notion table through a webhook, or call it from an AI agent through the Apify MCP server. Export JSON, CSV or Excel.

### Pricing

Pay per result: **$0.0012 per LEI record** (volume tiers on higher Apify plans), plus Apify's usual start event. Only rows returned are billed; `maxItems` caps the bill.

### Related actors

- International Company Registry for company registry lookups.
- SEC Form D Funding Feed for newly raised private funding.
- US New Business Filings for state-level new company registrations.

### Changelog

- 1.0: first release (search, newly registered and changed LEIs, parent flags and names, hierarchy listing, delta mode).

# Actor input Schema

## `search` (type: `string`):

Optional. Matches the legal name, e.g. Tesla, Deutsche Bank. Leave empty to use the filters below.

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

Optional list of 20-character LEI codes to fetch directly, e.g. HWUPKR0MPOU8FGXBT394.

## `childrenOfLei` (type: `string`):

Optional. A parent company's LEI. Returns its direct subsidiaries (or all ultimate subsidiaries, see below).

## `hierarchy` (type: `string`):

Used with 'List subsidiaries of this LEI'.

## `country` (type: `string`):

Optional two-letter ISO country code, e.g. US, GB, DE, IN.

## `category` (type: `string`):

Optional. Funds and branches are separate categories from ordinary companies. Sole proprietors are always skipped unless you turn them on below.

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

Optional.

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

ISSUED = in good standing, LAPSED = renewal overdue (useful lead and risk signal).

## `registeredWithinDays` (type: `integer`):

Returns LEIs first issued within this window, newest first. Leave empty: defaults to 7 days when no other filter is set, otherwise off. 0 = off.

## `updatedWithinDays` (type: `integer`):

Returns LEI records changed (renewals, address, name or status changes) within this window. 0 = off.

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

Looks up direct and ultimate parent LEI and name. Slower (about one extra request per parent, the API allows 60 per minute).

## `onlyWithParent` (type: `boolean`):

Skip entities that report no direct or ultimate parent.

## `includeSoleProprietors` (type: `boolean`):

Sole proprietor LEIs can carry a person's name, so they are skipped by default.

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

Upper bound on rows (and on cost).

## `onlyNewSinceLastRun` (type: `boolean`):

Skip LEIs already returned by an earlier run with the same state name and unchanged since. The first run returns everything and sets the baseline.

## `stateKey` (type: `string`):

Use different names to keep separate watchlists.

## Actor input object example

```json
{
  "leis": [],
  "hierarchy": "direct",
  "category": "",
  "entityStatus": "",
  "registrationStatus": "",
  "registeredWithinDays": 7,
  "updatedWithinDays": 0,
  "includeParents": false,
  "onlyWithParent": false,
  "includeSoleProprietors": false,
  "maxItems": 25,
  "onlyNewSinceLastRun": false,
  "stateKey": "default"
}
```

# Actor output Schema

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

One row per legal entity with LEI, name, country, category, status, registration dates and parent flags.

# 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 = {
    "registeredWithinDays": 7,
    "maxItems": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("datacrate/gleif-lei-registry-feed").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 = {
    "registeredWithinDays": 7,
    "maxItems": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("datacrate/gleif-lei-registry-feed").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 '{
  "registeredWithinDays": 7,
  "maxItems": 25
}' |
apify call datacrate/gleif-lei-registry-feed --silent --output-dataset

```

## MCP server setup

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

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/seduXpyh9zF3oyDdd/builds/Sd4flZ9zFinc6lCYY/openapi.json
