ISIN, CUSIP, SEDOL and FIGI check-digit validation
id_securityValidate the check digit of a financial security identifier: ISIN (ISO 6166), CUSIP, SEDOL and FIGI. Returns the verdict, the computed correct check character, and for an ISIN the issuing country prefix and the embedded NSIN. Also builds an ISIN from a country code plus a 9-character NSIN. Format and checksum only, no security master lookup. Price: $0.05 per successful call, paid over x402 (USDC on Base).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | validate (default) or build-isin. Accepted: validate, build-isin. | |
| nsin | No | Exactly 9 alphanumeric characters. Required when op=build-isin. Accepted: exactly 9 alphanumeric characters. | |
| value | No | ISIN, CUSIP, SEDOL or FIGI to validate. Required when op=validate. Accepted: an alphanumeric security identifier of at most 24 characters. | |
| country | No | ISO 3166-1 alpha-2 code or XS. Required when op=build-isin. Accepted: at most 16 characters. |