Skip to content

Banks

125 banks with their 3-digit bank code (sandi bank), BIC (SWIFT), office code and names. Bank Indonesia does not publish a machine-readable list, so the data comes from the bank code table published by PT Bank Central Asia Tbk (updated 1 November 2024).

Go TypeScript Returns
bank.List() bank.list() All banks, ordered by code
bank.ByCode(code) bank.byCode(code) Every entry with that code (a bank and its sharia unit share a code)
bank.ByBIC(bic) bank.byBic(bic) One bank
Field (JSON) Example
code 014
bic CENAIDJA
officeCode 0397
name PT. BANK CENTRAL ASIA Tbk.
shortName BCA
shariaUnit false

Account number lengths are not included: there is no official source for them.

length, charset, unknown.

package main
import (
"fmt"
"github.com/haikalmumtaz233/nusaindex/bank"
)
func main() {
fmt.Println(len(bank.List()) > 100)
banks, err := bank.ByCode("014")
if err == nil {
for _, b := range banks {
fmt.Println(b.Code, b.ShortName, b.BIC, b.ShariaUnit)
}
}
found, err := bank.ByBIC("BMRIIDJA")
if err == nil {
fmt.Println(found.Code, found.Name)
}
}
Output
true
014 BCA CENAIDJA false
008 PT. BANK MANDIRI (PERSERO) TBK