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.
⚡ 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$.
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.
ISO 17442 Legal Entity Identifier (LEI) 20-Character MOD 97-10 Spec
Verify 20-character ISO 17442 LEI check digits, LOU prefix allocations, and entity identifiers.
View Specification →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 →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 →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 →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.
{
"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:
curl --request POST \
--url "https://global-lei-corporate-tax-id-validator-api.stanzaapi.com/api/v1/lei/validate" \
--header "Content-Type: application/json" \
--header "x-api-key: YOUR_API_KEY" \
--data '{
"lei": "5493006MHB84DD0ZWV18"
}'
const response = await fetch("https://global-lei-corporate-tax-id-validator-api.stanzaapi.com/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);
import requests
import json
url = "https://global-lei-corporate-tax-id-validator-api.stanzaapi.com/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())
package main
import (
"bytes"
"fmt"
"io"
"net/http"
"os"
)
func main() {
url := "https://global-lei-corporate-tax-id-validator-api.stanzaapi.com/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
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.
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).