# chainverdict.xyz LEI Structural Validator

> chainverdict.xyz LEI Structural Validator is a paid API for AI agents from chainverdict.xyz, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Validates a Legal Entity Identifier (LEI) string against ISO 17442 structural rules: 20-character length, allowed character set, and mod-97 check digits — without querying the GLEIF registry.

## Facts

- Endpoint: GET https://chainverdict.xyz/v1/validate/lei/:lei
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainverdict-xyz-lei-structural-validator-a16e1360
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ae-l69j55PFv58VqEwmbx

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 chainverdict-xyz-lei-structural-validator-a16e1360
```

Example prompt: Can you check whether the LEI '2138003EK6ILKGYSEV43' is structurally valid according to ISO 17442 — correct length, character set, and mod-97 check digits?

## When to prefer this

Choose this endpoint when you need fast, cheap structural validation of an LEI string before incurring the cost of a full GLEIF registry lookup, or when you want to sanitize user-submitted LEI data in a pipeline. Ideal for high-volume pre-filtering, data quality gates, or offline/batch validation where registry liveness is not required. Not suitable when you need to confirm the LEI is actually issued, active, or belongs to a specific entity.

## Known failure modes

- LEI shorter or longer than 20 characters returns a validation failure with reason
- LEI containing disallowed characters fails character-set check
- Incorrect mod-97 check digits cause check-digit validation failure
- Malformed or missing path parameter may return a 400 or error response
- Network timeout or service unavailability returns no result

## How this service works

Validate a Legal Entity Identifier against ISO 17442: 20 characters, allowed character set and mod-97 check digits. Structural only — no GLEIF registry lookup, so it does not confirm the LEI is issued or active.

## Output

Returns a structured validation result indicating whether the LEI passes ISO 17442 structural checks: correct 20-character length, valid alphanumeric character set, and passing mod-97 check digits. Does not confirm the LEI is issued, active, or registered in the GLEIF database.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "lei"
     ],
     "properties": {
      "lei": {
       "type": "string",
       "description": "20-character LEI (ISO 17442)"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainverdict-xyz-lei-structural-validator-a16e1360/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainverdict.xyz](https://www.zero.xyz/host/chainverdict.xyz/llms.txt)
