# GLEIF LEI Company Checker & Legal Entity Identifier Lookup (`risimwell/gleif-lei-company-checker`) Actor

Verify global entity ownership, LEI codes, and registration status against the official GLEIF golden source database for KYC, AML, and EMIR compliance.

- **URL**: https://apify.com/risimwell/gleif-lei-company-checker.md
- **Developed by:** [Ricardo Enriquez](https://apify.com/risimwell) (community)
- **Categories:** Lead generation, Business, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 items extracted

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/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 Checker & Legal Entity Identifier Lookup

Verify global entity ownership, LEI codes, and registration status against the golden source database for KYC, AML, and EMIR compliance. The **GLEIF LEI Company Checker** actor allows automated systems, risk analysts, compliance officers, and AI agents to seamlessly query legal entity data across international jurisdictions.

### Why use this Actor?

Automating Legal Entity Identifier (LEI) lookups eliminates manual verification friction, prevents compliance bottlenecks, and ensures your onboarding pipelines are backed by golden-source data. Whether you are running a Know Your Customer (KYC) workflow, evaluating Anti-Money Laundering (AML) risks, or reporting under EMIR guidelines, this tool saves countless hours of manual registry navigation.

#### Dataset Overview

| Field Name | Data Type | Description |
| :--- | :--- | :--- |
| `lei` | String (20 chars) | Unique 20-character Legal Entity Identifier code. |
| `legalName` | String | Official registered legal name of the entity. |
| `entityStatus` | String | Operational status (e.g., ACTIVE, INACTIVE). |
| `initialRegistrationDate` | ISO Datetime | Date when the LEI record was first issued. |
| `nextRenewalDate` | ISO Datetime | Expiration and mandatory renewal tracking date. |
| `legalAddress_country` | String (ISO) | Country code of the registered legal seat. |
| `hqAddress_city` | String | City where headquarters are physically located. |
| `jurisdiction` | String | Legal formation jurisdiction (e.g., US-CA, GB). |
| `source` | String | Origin database reference (GLEIF Golden Copy). |

### Use Cases

- **Automated KYC & Onboarding**: Instantly validate corporate structures inside Make, n8n, or Zapier before approving business accounts.
- **Risk & Compliance Auditing**: Check renewal dates and active entity statuses to maintain rigorous AML compliance frameworks.
- **AI Agents & MCP**: Provide Large Language Models with structured tools via the Model Context Protocol (MCP) to lookup global entities dynamically.
- **B2B Data Enrichment**: Enrich corporate databases with precise legal addresses, headquarters, and registration metadata.

### Input JSON Example

```json
{
  "queries": [
    "529900860J8S9X98C019",
    "Apple Inc."
  ],
  "maxItems": 5,
  "includeOwnership": true
}
```

### Output JSON Example

```json
[
  {
    "lei": "HWUPKR0MPOU8FGXBT394",
    "legalName": "Apple Inc.",
    "entityStatus": "ACTIVE",
    "entityCategory": null,
    "legalForm": null,
    "registrationStatus": null,
    "initialRegistrationDate": "2012-06-06T15:53:00Z",
    "lastUpdateDate": "2026-03-03T16:34:33Z",
    "nextRenewalDate": "2027-03-08T17:27:20Z",
    "managingLou": "5493001KJTIIGC8Y1R12",
    "legalAddress_city": "Glendale",
    "legalAddress_country": "US",
    "legalAddress_postalCode": "91203",
    "legalAddress_lines": "C/O C T Corporation System, 330 N. Brand Blvd, Suite 700",
    "hqAddress_city": "Cupertino",
    "hqAddress_country": "US",
    "jurisdiction": "US-CA",
    "gleif_id": "HWUPKR0MPOU8FGXBT394",
    "source": "GLEIF Golden Copy"
  }
]
```

### Quick Automation (n8n, Make, cURL & MCP Server)

Integrate this actor effortlessly into your low-code workflows or connect it directly to AI assistants.

#### Sync API Call via cURL

```bash
curl -X POST https://api.apify.com/v2/acts/gleif-lei-company-checker/run-sync-get-dataset-items?token=YOUR_API_TOKEN \
  -H "Content-Type: application/json" \
  -d '{
    "queries": ["Apple Inc."],
    "maxItems": 5,
    "includeOwnership": true
  }'
```

#### AI Agents via MCP

Connect your LLM agent instantly using the Apify Model Context Protocol server endpoint at `https://mcp.apify.com`. Provide the actor identifier `gleif-lei-company-checker` inside your agent configuration to enable real-time corporate verification capabilities.

### Pay-Per-Event Pricing

This Actor operates on a transparent Pay-Per-Event (PPE) model:

- **ACTOR_START**: $0.001 per initial lookup session execution.
- **ITEM_EXTRACTED**: $0.0025 per verified LEI record or company match found.

*Estimated cost for 1,000 verified company lookups is approximately $2.60 total (plus baseline start fees), making enterprise-grade compliance checks extremely cost-effective.*

# Actor input Schema

## `queries` (type: `array`):

List of LEI codes (20 characters) or legal entity names to search.

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

Maximum number of records to return per query.

## `includeOwnership` (type: `boolean`):

Whether to fetch parent and child relationship data.

## Actor input object example

```json
{
  "queries": [
    "529900860J8S9X98C019",
    "Apple Inc."
  ],
  "maxItems": 5,
  "includeOwnership": true
}
```

# Actor output Schema

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

Structured records extracted by this Actor.

# 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 = {
    "queries": [
        "529900860J8S9X98C019",
        "Apple Inc."
    ],
    "maxItems": 5,
    "includeOwnership": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("risimwell/gleif-lei-company-checker").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 = {
    "queries": [
        "529900860J8S9X98C019",
        "Apple Inc.",
    ],
    "maxItems": 5,
    "includeOwnership": True,
}

# Run the Actor and wait for it to finish
run = client.actor("risimwell/gleif-lei-company-checker").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 '{
  "queries": [
    "529900860J8S9X98C019",
    "Apple Inc."
  ],
  "maxItems": 5,
  "includeOwnership": true
}' |
apify call risimwell/gleif-lei-company-checker --silent --output-dataset

```

## MCP server setup

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

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/WwemKv7n7ARpOt54L/builds/EwmbXrxAMddjZPBgf/openapi.json
