{"uid":"cap_NDBjb7IXV2Bg8aFenUuoJ","slug":"code402-lei-check-7f29c66f","name":"code402 LEI Check","description":"Offline deterministic checks (no ML, no scraping) for business identifiers and rental due-diligence, paid per call via x402 (gasless EIP-3009 USDC on Base). Checksum-verifiable (IBAN, LEI, VAT, ABA, ISBN, SEDOL…) vs format-only (EIN, IFSC, SWIFT/BIC…) — every response returns a scope field. Non-custodial, signed receipts. First 3 calls/day free.","url":"https://hcrb.in/v1/tools/lei-check/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["lei"],"properties":{"lei":{"type":"string","description":"20-character Legal Entity Identifier."}}}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["valid","reason"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"country":{"type":"string"},"normalized":{"type":"string"}}},"example":{"valid":true,"reason":"checksum valid"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Vbf95Wfv8O9GvzVIh904j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Legal Entity Identifier (LEI) code using offline deterministic checksum verification, returning validity, reason, normalized form, and country.","exampleAgentPrompt":"Check whether the LEI code 5493001KJTIIGC8Y1R12 is valid — tell me if the checksum passes and what country it belongs to.","exampleUseCases":[{"title":"Counterparty onboarding validation","prompt":"Before we onboard this new supplier, validate their LEI 2138008BF65R8GR4J077 — I need to know if the checksum is legitimate and which country it's registered in."},{"title":"Bulk trade reporting compliance","prompt":"We're submitting a MiFID II trade report and need to verify that the LEI for the counterparty, 549300MLUDYVRQOOXS22, is valid before we file — can you run a checksum check on it?"},{"title":"Investment due diligence check","prompt":"I'm doing due diligence on a potential investment target and their listed LEI is 9695005MSX1OYEMGDF46 — can you confirm it's a properly formatted and checksum-valid LEI?"}],"resultDescription":"Returns a JSON object with: `valid` (boolean indicating if the LEI passed checksum/format validation), `reason` (human-readable explanation such as 'checksum valid' or specific failure reason), `normalized` (canonically formatted LEI string), `country` (jurisdiction derived from the LEI), `scope` (indicating whether checksum-verifiable or format-only), and `tool` (identifier for this check type).","failureModes":["Invalid or malformed input string returns valid=false with a descriptive reason","Network or payment failure (HTTP 402 if free quota exhausted and no payment provided)","LEI that passes format but fails checksum returns valid=false with checksum failure reason","Empty or missing input field returns an error response"],"whenToPreferThis":"Choose this endpoint when you need fast, deterministic, offline LEI validation without relying on the GLEIF database lookup or any external registry call. It is ideal for format and checksum verification in high-throughput compliance pipelines, pre-submission validation for trade reporting (MiFID II, EMIR), or any scenario where you need a cheap ($0.005/call), trustless, receipt-backed validation with no ML or scraping. Use it when you don't need live registry data (entity name, status) but just need to confirm the identifier is structurally and mathematically valid.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:43:27.636Z","isFirstParty":false,"canonicalSlug":"code402-lei-check-7f29c66f"}