# LEI Validator

> LEI Validator is a paid API for AI agents from id-validators.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Validates a 20-character Legal Entity Identifier (LEI) using ISO 7064 mod 97-10 checksum and splits it into its component parts.

## Facts

- Endpoint: GET https://id-validators.x402tookit.com/lei-check?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lei-validator-38bde6a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P3oS409nzlzwEQI_WOSDF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability lei-validator-38bde6a9
```

Example prompt: Can you validate this LEI for me — 2138005O9XJIJN4JPN90 — and tell me if the checksum passes and what its component parts are?

## When to prefer this

Use this endpoint when you need to programmatically validate LEIs against the ISO 7064 mod 97-10 algorithm and parse their structure — particularly for KYC/AML workflows, trade reporting, and regulatory compliance pipelines where you need both a pass/fail verdict and the decomposed parts of the identifier.

## Known failure modes

- Missing or empty 'id' query parameter returns an error
- LEI not exactly 20 characters causes validation failure
- Non-alphanumeric characters in LEI body cause rejection
- Invalid mod 97-10 checksum returns verdict 'invalid' with reasons
- Upstream LOU registry unavailable may set degraded flag and limit checks

## How this service works

Validate a 20-character Legal Entity Identifier with the ISO 7064 mod 97-10 check and split its parts.

## Output

Returns a verdict (valid/invalid), the normalised LEI string, the entity part, check digits, issuing LOU, an as-of timestamp, a human-readable summary, an array of failure reasons if invalid, a degraded-service flag, any unchecked fields, a source reference, and a disclaimer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "The LEI"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "lou": {
       "type": [
        "null",
        "string"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "entityPart": {
       "type": [
        "null",
        "string"
       ]
      },
      "normalised": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "checkDigits": {
       "type": [
        "null",
        "string"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lei-validator-38bde6a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from id-validators.x402tookit.com](https://www.zero.xyz/host/id-validators.x402tookit.com/llms.txt)
