---
title: Global LEI & Corporate Tax ID Validator API | ISO 17442 Checksum Engine
description: Validate 20-character ISO 17442 Legal Entity Identifiers (LEI) with Modulo 97-10 checksums, US EIN tax IDs, Australian ABN (MOD-89), and UK Companies House CRNs.
canonical: https://stanzaapi.com/tools/lei-validator/
---

[Home](/)/[API Directory](/tools/)/Global LEI & Corporate Tax ID Validator API

 <5ms Edge Latency99.9% SLA AvailableVerified: Sep 2026V8 Pure ComputeEntity Identification & Compliance

# Global LEI & Corporate Tax ID Validator API

Verify corporate Legal Entity Identifiers (LEI), US Employer Identification Numbers (EIN), and corporate registration codes in sub-1ms pure compute.

[Subscribe & Get API Key →](/tools/pricing)[⚡ Live Playground](#live-playground)[Specs (4)](#specifications)

 Interactive Edge Workbench

## ⚡ Live Pure-Compute Playground

 Test deterministic edge parsing with sub-2ms execution across 330+ Cloudflare V8 edge locations. Zero persistent storage, zero cold-starts, pure function $f(x)=y$.

32KB Demo Cap60 req/min Burst<2ms V8 ComputeZero Data Retention

input.txt0 B

 Reset

1

5493006MHB84DD0ZWV18

 RUN VALIDATION (<5ms) [ CHECKSUM: AWAITING RUN ]

output.jsondemo-ready

Status: Ready Copy

```
{
  "status": "Click RUN VALIDATION to execute on the Cloudflare edge..."
}
```

Sandbox Quota: Free Tier (50 reqs/mo) • Production keys from $29/mo[Get Free Sandbox Key →](/login?email=)

Need 512KB+ Payloads, High-Throughput & 99.9% Production SLA?

Direct API keys include pooled monthly quotas, zero cold-starts, and HIPAA BAA eligibility on the Mega tier.

[Get Production API Key →](/pricing)

## Key Capabilities & Performance Architecture

- ✓ISO 17442 20-character LEI Modulo 97-10 check digit verification
- ✓Extraction of 4-character Local Operating Unit (LOU) prefix and 14-character entity code
- ✓US IRS Employer Identification Number (EIN) 2-digit campus prefix validation
- ✓Australian Business Number (ABN) weighted MOD-89 checksum verification
- ✓Zero subrequests, sub-1ms edge latency on Cloudflare Workers

## GLEIF & Entity ID Standards (4 Specifications)

Explore full structural breakdowns, checksum logic, and field schemas for every supported format.

[LEI Number Format Rules & ISO 17442 Check Digit Validator — Verify 20-character ISO 17442 LEI check digits, LOU prefix allocations, and entity identifiers in sub-1ms pure edge compute. — View Specification →](/tools/lei-validator/gleif/iso-17442-format-rules)[SWIFT BIC to GLEIF LEI Mapping Standard & Cross-Referencing — Cross-reference financial institution SWIFT BIC codes with GLEIF Legal Entity Identifiers for regulatory transaction reporting. — View Specification →](/tools/lei-validator/gleif/bic-to-lei-mapping)[ISO 20275 Entity Legal Form (ELF) Code Directory & Resolver — Resolve 4-character ISO 20275 ELF codes into standardized corporate entity types across 160+ jurisdictions. — View Specification →](/tools/lei-validator/gleif/elf-entity-legal-form-codes)[GLEIF Level 2 Relationship Data (Who Owns Whom) Model — Model corporate family trees, ultimate beneficial owners, and direct/ultimate accounting consolidation parents using GLEIF Level 2 data. — View Specification →](/tools/lei-validator/gleif/gleif-level-2-relationship-data)

## API Endpoints & Request Signatures

| Method | Path | Description |
| --- | --- | --- |
| `POST` | `/api/v1/lei/validate` | Validate 20-character ISO 17442 LEI checksum |
| `POST` | `/api/v1/ein/validate` | Validate US 9-digit Employer Identification Number (EIN) |

## Sample Response JSON Payload

All endpoints deliver strongly-typed envelopes with deterministic parsing and performance metrics.

HTTP 200 Response PayloadCopy

```
{
  "success": true,
  "data": {
    "valid": true,
    "lei": "5493006MHB84DD0ZWV18",
    "louPrefix": "5493",
    "louName": "Bloomberg Finance L.P.",
    "entityIdentifier": "006MHB84DD0ZWV",
    "checkDigits": "18",
    "checksumValid": true
  },
  "meta": {
    "latency_ms": 0.69,
    "version": "1.0.0"
  }
}
```

## Multi-Language Integration Code

Copy and paste ready-to-run snippets with your direct API credentials:

cURLCopy

```
curl --request POST \
  --url "https://api.stanzaapi.com/lei-validator/api/v1/lei/validate" \
  --header "Content-Type: application/json" \
  --header "x-api-key: YOUR_API_KEY" \
  --data '{
  "lei": "5493006MHB84DD0ZWV18"
}'
```

Node.js (Fetch)Copy

```
const response = await fetch("https://api.stanzaapi.com/lei-validator/api/v1/lei/validate", {
  method: "POST",
  headers: {
    "Content-Type": "application/json",
    "x-api-key": process.env.API_KEY || "YOUR_API_KEY"
  },
  body: JSON.stringify({
  "lei": "5493006MHB84DD0ZWV18"
})
});

const data = await response.json();
console.log(data);
```

Python (Requests)Copy

```
import requests
import json

url = "https://api.stanzaapi.com/lei-validator/api/v1/lei/validate"
headers = {
    "Content-Type": "application/json",
    "x-api-key": "YOUR_API_KEY"
}
payload = {
    "lei": "5493006MHB84DD0ZWV18"
}

response = requests.post(url, json=payload, headers=headers)
print(response.json())
```

GoCopy

```
package main

import (
	"bytes"
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	url := "https://api.stanzaapi.com/lei-validator/api/v1/lei/validate"
	payload := []byte(`{"lei":"5493006MHB84DD0ZWV18"}`)

	req, _ := http.NewRequest("POST", url, bytes.NewBuffer(payload))
	req.Header.Add("Content-Type", "application/json")
	req.Header.Add("x-api-key", os.Getenv("API_KEY"))

	res, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)
	fmt.Println(string(body))
}
```

## Frequently Asked Questions

How is the ISO 17442 LEI check digit calculated?

The 20-character LEI replaces letters with numeric digits (A=10 to Z=35). Applying the ISO 7064 Modulo 97-10 formula across the numeric string must result in a remainder of exactly 1.

What is the role of the 4-digit LOU prefix?

The first 4 characters identify the Local Operating Unit (LOU) accredited by GLEIF that issued and manages the LEI record (e.g. 5493 = Bloomberg, 5299 = Bundesanzeiger Verlag, 2138 = London Stock Exchange).

## Complementary Enterprise APIs

Seamlessly orchestrate data pipelines across adjacent financial, regulatory, and supply-chain protocols:

[SWIFT & ISO 13616 IBAN Validator → — Verify international bank accounts and counterparty integrity in global payments.](/tools/iban-validator/)[European VIES VAT Validator → — Validate corporate VAT registration across EU member states and the UK.](/tools/vat-validator/)[ISO 20022 Financial Messaging → — Enrich pacs.008 payment instructions with authenticated LEI counterparty verification.](/tools/iso20022-parser/)
