lei_validate $0.001 per call
Offline validator for a Legal Entity Identifier (LEI) per ISO 17442: checks 20-character alphanumeric format and verifies the check digits using ISO 7064 MOD 97-10 (letters mapped A=10..Z=35).
For AI agents: call lei_validate
POST https://toll402.dev/v1/t/lei_validate
{
"lei": "529900T8BM49AURSDO55"
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"lei": {
"type": "string",
"description": "20-character LEI code"
}
},
"required": [
"lei"
],
"additionalProperties": false
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}