Validate an IBAN and BIC
validate_ibanValidates an IBAN offline against the SWIFT IBAN Registry (Release 103, Sep 2026, all 89 countries): registered country, length, the national account format (BBAN), check digits 02-98 and the ISO 7064 mod-97 checksum. Returns valid, and when invalid a stable reason_code (malformed, unknown_country, wrong_length, bad_bban_format, bad_check_digits, checksum_failed) with a human reason; on a valid IBAN, the bank_code and branch_code the registry defines for that country. Optional bic: checks the ISO 9362 format and its country code, returned as bic.valid; a BIC country that differs from the IBAN country is a warnings entry, not an invalid result. 'valid' is about the IBAN only. This checks structure, not that the account or BIC exists. Light read: costs 0.2 credit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"iban": "<iban>"
},
"name": "validate_iban"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bic | No | Optional BIC (SWIFT code) of the bank holding the account, 8 or 11 characters, e.g. 'COBADEFFXXX'. Checked for format and compared with the IBAN country. | |
| iban | Yes | IBAN to validate, spaces allowed, e.g. 'DE89 3704 0044 0532 0130 00'. Not a VAT number. |