Validation
LEI validate API
Validates an ISO 17442 Legal Entity Identifier via mod-97 checksum and parses the LOU prefix, entity ID, and check digits. Answers 'Is this LEI valid?', 'Which LOU issued this LEI?'.
Price$0.04per request
MethodPOST
Route/v1/validate/lei
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
leilegal-entityiso-17442mod-97validatekybchecksumcompliancegleif
API URL
Integration docshttps://x402.hexl.dev/v1/validate/leiExample request
{
"lei": "7LTWFZYICNSX8D621K86"
}Example response
{
"valid": true,
"reason": "Valid ISO 17442 LEI (mod-97 OK).",
"normalized": "7LTWFZYICNSX8D621K86",
"louPrefix": "7LTW",
"entityId": "FZYICNSX8D621K",
"checkDigits": "86",
"computedMod97": 1
}Input schema
{
"type": "object",
"required": [
"lei"
],
"properties": {
"lei": {
"type": "string",
"description": "20-character Legal Entity Identifier.",
"examples": [
"7LTWFZYICNSX8D621K86"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}