# AgentShield LEI Checksum Validator

> AgentShield LEI Checksum Validator is a paid API for AI agents from agentshield.live, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Validates the checksum of a 20-character Legal Entity Identifier (LEI) code and reports whether it is known and valid.

## Facts

- Endpoint: GET https://agentshield.live/lei?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshield-lei-checksum-validator-78113abc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dx0EEyRJzRFlSIbEyp77b

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 agentshield-lei-checksum-validator-78113abc
```

Example prompt: Can you check whether the LEI code 5493001KJTIIGC8Y1R12 has a valid checksum?

## When to prefer this

Use this endpoint when you have a 20-character LEI code and need to verify its checksum integrity as part of a compliance, KYB, or data quality workflow. This endpoint is a lightweight, fast checksum computation only — it does not perform full legal entity registry lookups or confirm entity status. Prefer it over general-purpose validation libraries when operating in an agentic, pay-per-call context requiring minimal latency.

## Known failure modes

- Invalid or missing 'code' query parameter returns an error
- LEI shorter or longer than 20 characters will fail validation
- Network or upstream service errors may return non-200 responses
- LEI with correct length but invalid checksum returns valid: false

## How this service works

Call when an agent has an LEI and needs the checksum result. Does not confirm the legal entity.

## Output

Returns a JSON object with two boolean fields: 'known' (whether the LEI is recognized) and 'valid' (whether the LEI checksum is mathematically correct). Does not confirm the existence or status of the legal entity itself.

## 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": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "20-character LEI."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "known": true,
  "valid": true
 }
}
```

## More

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