Validate IBAN
validate_ibanValidate a single IBAN against ISO 13616 standards, checking country-specific structure and MOD-97 checksum. Returns validity status, formatted IBAN, and bank details when available.
Instructions
Validate a single International Bank Account Number (IBAN) against the official ISO 13616 structure for its country.
What it checks: the country code, total length for that country, the national BBAN structure, and the MOD-97 check digits. When the bank/branch code maps to a known institution, the response also includes the bank name, BIC/SWIFT code, and country.
Returns JSON with fields such as valid (boolean), countryCode, checkDigitsValid, the formatted IBAN, and an optional bank object. On a malformed input the call still succeeds with valid: false and a reason (e.g. INVALID_FORMAT, INVALID_CHECKSUM); it does not throw for invalid IBANs.
Use this when you have one account number to verify. For many IBANs prefer validate_bulk_ibans; to pull IBANs out of prose use extract_ibans_from_text first. No account data is stored; validation runs in memory and is discarded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iban | Yes | A single IBAN to validate. Case-insensitive; spaces are tolerated and ignored (e.g. 'DE89 3704 0044 0532 0130 00' or 'GB29NWBK60161331926819'). |