# GLEIF LEI Records Scraper (`neuton/gleif-lei-records-scraper`) Actor

Search official GLEIF Legal Entity Identifier records by legal name, LEI, country, registration status, or entity status. Export KYB-ready legal names, LEIs, addresses, jurisdictions, and status fields.

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

## Pricing

$3.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## GLEIF LEI Records Scraper

Search the official GLEIF Legal Entity Identifier API for KYB, entity resolution, vendor onboarding, financial compliance, sanctions-adjacent enrichment, and counterparty data workflows.

### Why this actor

LEI data has strong buyer intent because finance, procurement, insurance, enterprise sales, and compliance teams use Legal Entity Identifiers to resolve company identity, validate counterparties, normalize vendor records, and connect internal lists to public entity metadata. This actor turns GLEIF's public API into repeatable dataset rows for enrichment and monitoring.

SEO keywords covered by this Store page include GLEIF LEI scraper, Legal Entity Identifier API, LEI lookup scraper, KYB entity data, company identity verification, counterparty enrichment, vendor onboarding dataset, and financial compliance data.

### Output

- LEI and legal entity name
- Entity status and registration status
- Jurisdiction and legal address fields
- Managing LOU, last update date, GLEIF URL, and raw official record

### Use cases

- Enrich company, vendor, investor, or counterparty lists with LEI records.
- Validate legal names, jurisdictions, addresses, and registration status.
- Build KYB, onboarding, procurement, and financial-compliance workflows.
- Feed AI agents with official entity identity records and source URLs.
- Join LEI records with sanctions, SEC, Companies House, VIES, or CRM data.

### Example input

```json
{
  "legalNames": [
    "Apple"
  ],
  "countryCodes": [
    "US"
  ],
  "maxResultsPerSearch": 5
}
```

### Agent and automation workflows

Use this actor after lead scraping, vendor intake, procurement onboarding, or counterparty screening. Push rows into Clay, Airtable, a CRM, a warehouse, or n8n, and let an agent match legal entities, flag inactive registrations, or prepare KYB review notes.

### Responsible use

This actor uses official public GLEIF data. Use it for identity resolution, research, enrichment, and compliance support. Do not treat matches as final legal determinations without reviewing the source record and your internal compliance process.

### Pricing

Launch around $3 per 1,000 LEI records, with room to raise pricing once recurring KYB or enrichment usage appears.

# Actor input Schema

## `legalNames` (type: `array`):

Legal entity names or partial names to search.

## `leiCodes` (type: `array`):

Exact LEI identifiers.

## `countryCodes` (type: `array`):

ISO country filters such as US, GB, IN.

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

Optional LEI registration status such as ISSUED, LAPSED, PENDING\_TRANSFER.

## `maxResultsPerSearch` (type: `integer`):

Maximum LEI rows per query.

## Actor input object example

```json
{
  "maxResultsPerSearch": 50
}
```

# 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("neuton/gleif-lei-records-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("neuton/gleif-lei-records-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 neuton/gleif-lei-records-scraper --silent --output-dataset

```

## MCP server setup

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