In my past research, I found these questions which were not answered to my liking:
Generate BIC from IBAN bank account number
How to convert BIC & IBAN to account and sortcode
The 1st answer, gave an API which used to provide BIC from IBAN number. But it has been offline for several months (Update 2019/07/25 : Openiban is back online).
The 2nd answer explains how IBAN and BIC are made.
But it seems impossible to get the entire BIC number from the IBAN.
Below I have listed some IBAN numbers and BIC numbers.
**IBAN NUMBERS** **BIC**
NL 89 NGB 00071128791 INGBNL2A
NL 80 SNSB 0853811245 SNSBNL2A
NL 91 RABO 0143406515 RABONL2U
As it suggests, you can get BANK CODE and COUNTRY CODE from the IBAN number. But it is not indicated how one can extract the Bank Identifier
Is it possible to extract Bank Identifier from IBAN number? Is there any working API which I can get this BIC number from IBAN number that I can use in javascript?
I don't think this info (BIC/SWIFT code) is always present in an IBAN number. Looking at the IBAN wiki article every country has its own standard, so only the country prefix and checksum are standardized. The trailing and the longest part is always some sort of bank routing/code concatenated with account number. But the problem is that the bank routing/code is for the majority of countries not the SWIFT code, i.e. not what you're looking for. For example, in Germany they use BLZ which is always digit (I think 8 digits) and 640 901 00 maps to VBRTDE6RXXX BIC code, which won't be present in the IBAN.
What you can do is:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With