LEI validation
ISO 17442 Legal Entity Identifier — checksum: ISO 17442 mod-97-10. Free in your browser, or over the JSON API.
What it is
ISO 17442 Legal Entity Identifier. CodeCheck verifies three things separately — format, length and check digit — and returns the expected and provided check digit, so a failed value tells you exactly what is wrong instead of just saying no.
Algorithm
ISO 17442 mod-97-10. The answer is derived from the value itself, with no database lookup and no third-party call, so it is deterministic, fast and privacy-safe.
Examples
| Value | Result | Expected | Provided |
|---|---|---|---|
| 529900IH9V4I3VHQVO92 | valid | 92 | 92 |
API
curl "https://<your-worker>.workers.dev/v1/validate/lei/529900IH9V4I3VHQVO92"
This type has a single trailing check digit, so CodeCheck can also compute it:
GET /v1/complete/lei/{body}
Try it in the browser demo — the demo runs the same code offline.