# Fast GLEIF LEI Scraper — Global KYC & AML Hierarchy (`rbbscrap/fast-gleif-lei-scraper`) Actor

Ultra-fast GLEIF Legal Entity Identifier scraper. Extract official 20-character ISO 17442 LEI records, ultimate corporate parent hierarchy, KYC/AML validation status, registration authority, and legal addresses without browser bloat.

- **URL**: https://apify.com/rbbscrap/fast-gleif-lei-scraper.md
- **Developed by:** [Hector](https://apify.com/rbbscrap) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 gleif lei legal entity record extracteds

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

## 🏛️ Fast GLEIF LEI Scraper — Global Corporate Entity KYC & AML Hierarchy

> ### 🎁 Free Tier: Extract up to 1,000 items 100% FREE!
>
> **No credit card required • Powered by Apify Free Plan**
>
> Every Apify user receives **$5.00 in free starter credits every month**!
> You can test and extract up to **1,000 records 100% free** with this scraper before paying anything.
>
> [![Free Trial](https://img.shields.io/badge/🎁%20Free%20Tier-100%20to%201%2C000%20Items%20Free-brightgreen?style=for-the-badge\&logo=apify)](https://apify.com/rbbscrap/fast-gleif-lei-scraper/input)
> [![Monthly Free Credits](https://img.shields.io/badge/Apify%20Free%20Plan-%245%2FMonth%20Included-blue?style=for-the-badge\&logo=cashapp)](https://apify.com/rbbscrap/fast-gleif-lei-scraper/input)
> [![No Credit Card](https://img.shields.io/badge/No%20Credit%20Card-Zero%20Risk-purple?style=for-the-badge)](https://apify.com/rbbscrap/fast-gleif-lei-scraper/input)
>
> 👉 [**Click here to Launch a Free Test Run with 1 Click (Pre-filled)**](https://apify.com/rbbscrap/fast-gleif-lei-scraper/input)

Ultra-fast, enterprise-grade scraper for the **Global Legal Entity Identifier Foundation (GLEIF)** Golden Copy master database. Extract official **20-character ISO 17442 Legal Entity Identifiers (LEI)**, corporate ownership trees ("Who Owns Whom"), regulatory KYC/AML validation statuses, and official legal addresses without browser bloat.

***

### 💼 Why This High-Ticket Niche Matters

Under global regulatory mandates (**MIFID II, Dodd-Frank, EMIR, Basel III**), international investment banks (JPMorgan, BNP Paribas, Goldman Sachs), hedge funds, and insurance firms are legally prohibited from executing trades without verified LEI records. Enterprise compliance and risk solutions (Refinitiv, Moody's, Dun & Bradstreet) charge **$30,000 to $100,000+/year** for entity verification feeds.

***

### ⚡ Comparison vs Existing Competitors

| Feature | Competitor Scrapers (`corporate_data`, etc.) | **Fast GLEIF LEI Scraper (Ours)** |
|---|---|---|
| **RAM Footprint** | 1024 MB – 2048 MB | **256 MB (API-First Got-Scraping)** |
| **Execution Speed** | 30 – 60 seconds | **Sub-second (0.5 – 1.8s)** |
| **Cost Per 1,000 LEIs** | ~$2.00+ in compute | **~$0.10 (20x cheaper)** |
| **Level 2 Hierarchy** | Omitted (Level 1 name only) | **Full Direct & Ultimate Parent Resolution** |
| **Renewal Deadlines** | Missing | **Exact Next Renewal Date & Managing LOU** |
| **Foreign Entities** | Encodes incorrectly | **Full UTF-8 Transliteration & Multilingual Names** |
| **Resilience & Uptime** | Unstable on schema changes | **100% Guaranteed Non-Empty Output** |

***

### 🛠️ Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `query` | String | `"Apple Inc"` | Corporate legal name or 20-character LEI (e.g., `"HW68LV56UKFRANOAT742"`, `"BNP Paribas"`) |
| `jurisdiction` | String | `"all"` | Country code filter (e.g., `"US"`, `"FR"`, `"GB"`, `"DE"`, `"CH"`) |
| `status` | String (enum) | `"all"` | Registration status (`ISSUED`, `LAPSED`, `RETIRED`) |
| `includeHierarchy` | Boolean | `true` | Extract Level 2 Direct and Ultimate Parent ownership tree |
| `maxItems` | Integer | `30` | Maximum corporate records |

***

### 📦 Output Dataset Sample

```json
{
  "lei": "HW68LV56UKFRANOAT742",
  "legalName": "APPLE INC.",
  "otherNames": ["Apple Computer, Inc."],
  "legalAddress": {
    "addressLines": ["One Apple Park Way"],
    "city": "Cupertino",
    "region": "US-CA",
    "country": "US",
    "postalCode": "95014"
  },
  "jurisdictionCountry": "US",
  "entityCategory": "GENERAL",
  "entityStatus": "ACTIVE",
  "registrationStatus": "ISSUED",
  "initialRegistrationDate": "2012-06-06T15:53:00Z",
  "nextRenewalDate": "2025-06-06T15:53:00Z",
  "managingLou": "5493001KJTIIGC8Y1R12 (DTCC GMEI)",
  "validationAuthority": "RA000598 (California Secretary of State)",
  "directParentName": "Publicly Traded (Dispersed Ownership)",
  "ultimateParentName": "Publicly Traded (Dispersed Ownership)",
  "gleifRecordUrl": "https://search.gleif.org/#/record/HW68LV56UKFRANOAT742",
  "scrapedAt": "2026-10-26T22:00:00.000Z"
}
```

# Actor input Schema

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

Company name or official 20-char LEI (e.g. 'Apple Inc', 'BNP Paribas', 'Goldman Sachs', 'HW68LV56UKFRANOAT742', '5493006MHB84DD0ZWV18').

## `jurisdiction` (type: `string`):

Filter by 2-letter ISO jurisdiction (e.g., US, FR, GB, DE, CH, all).

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

Filter by regulatory validation status.

## `includeHierarchy` (type: `boolean`):

Extract Direct Accounting Parent and Ultimate Accounting Parent LEI and legal names.

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

Maximum number of corporate LEI records to extract.

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

Select Apify Proxy (Optional).

## Actor input object example

```json
{
  "query": "Apple Inc",
  "jurisdiction": "all",
  "status": "all",
  "includeHierarchy": true,
  "maxItems": 30
}
```

# 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 = {};

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

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

```

## MCP server setup

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

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/Urq1ftIcZg0cSaB9L/builds/h7yQhP3wIJ6TJeO9t/openapi.json
