In my past research, I found these questions which were not answered to my liking:
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?
GBkk bbbb ssss sscc cccc cc
create a matcher by counting the number of each groupGB
, 2xk
, 4xb
, 6xs
, 8xc
, and build a regexp out of that for each country code, and then loop over all those regexp to check if there is a match. Should be straightforward given those columns. – Strickman