ISIN Validation
isin_validateValidates an ISIN (ISO 6166): country code, national identifier and the letter-aware check digit.
Portfolio imports and corporate-action files fail on a single mistyped ISIN. The check digit is a Luhn variant that first expands letters to two digits (A=10…Z=35), so a swapped letter is caught, not just a swapped digit. XS (international), EU and other reserved prefixes are accepted as country codes even though they are not ISO 3166 territories. A valid ISIN is self-consistent. It is not proof the security exists, is listed, or is the one you meant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isin | Yes | ISIN, 12 characters, e.g. US0378331005. |