Validate an IBAN and return bank details when available.
GET/validate/{iban}
- Passive: the target is not contacted
- Cost: 1 basic credit, plus 1 bank lookup credit when bank details are resolved
Runs the length, checksum, structure and national account checksum checks and returns country data and, when resolved, the bank. Also accepts POST.
Path parameters
ibanThe IBAN to check
Query parameters
account_checksumThe national account checksum check is on by default; pass No to turn it off
Response fields · 16ShowHide
result
200 on success
message
Human-readable result
validations[]
One entry per check that ran (length, checksum, structure, account number checksum)
result
Result code of the check
message
Result of the check
expremental
0 or 1, depending on the country's IBAN status (spelled this way in the docs)
country_code
Country code
iso_alpha3
ISO alpha-3 country code
country_name
Country name
currency_code
Currency code
sepa_member
Whether the country is a SEPA member
bban
Basic bank account number part
bank_account
Bank account number
bank_name
Bank name, when resolved
bic
BIC, when resolved
city
City, when resolved
curl 'https://api.ibanapi.com/v1/validate/EE471000001020145685?api_key=YOUR_API_KEY'{
"result": 200,
"message": "Valid IBAN Number",
"validations": [
{
"result": 200,
"message": "Valid IBAN length"
},
{
"result": 200,
"message": "Valid IBAN Checksum"
}
],
"expremental": 0,
"data": {
"country_code": "EE",
"iso_alpha3": "EST",
"country_name": "Estonia",
"currency_code": "EUR",
"sepa_member": "Yes",
"bban": "1000000000000000",
"bank_account": "00000000000",
"bank": {
"bank_name": "Example Bank",
"bic": "EXMPEE2X",
"city": "Tallinn"
}
}
}