The IBAN API allows you to look up and validate any International Bank Account Number (IBAN).
https://api.api-ninjas.com/v1/iban
Returns detailed information on a given IBAN.
iban
requiredThe IBAN to look up.
X-Api-Key
requiredAPI Key associated with your account.
https://api.api-ninjas.com/v1/iban?iban=DE16200700000532013000
1
2
3
4
5
6
7
8
9
10
{
"iban": "DE16200700000532013000",
"bank_name": "Deutsche Bank",
"account_number": "0532013000",
"bank_code": "20070000",
"country": "DE",
"checksum": "16",
"valid": true,
"bban": "200700000532013000"
}
1
2
3
4
5
6
7
8
9
import requests
iban = 'DE16200700000532013000'
api_url = 'https://api.api-ninjas.com/v1/iban?iban={}'.format(iban)
response = requests.get(api_url, headers={'X-Api-Key': 'YOUR_API_KEY'})
if response.status_code == requests.codes.ok:
print(response.text)
else:
print("Error:", response.status_code, response.text)
If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.