Indonesian Bank Provider API
According to OJK. Indonesia has 4 type of bank. There is BANK UMUM PERSERO, BANK UMUM SWASTA NASIONAL, BANK PEMBANGUNAN DAERAH, and KANTOR CABANG BANK YANG BERKEDUDUKAN DI LUAR NEGERI.
Key Features
This API must be able to display list of bank names.
License
This API and Seme Framework are licensed under MIT.
Question and Answer
Feel free to ask me on my instagram, facebook, or open an issue on github.
Resources
This API and pages source codes are available on github.com/drosanda/bank-id-api.
Getting Started
This API is can be used for free but with no warranty. First thing first the base url of API is https://alamat.thecloudalert.com/api/
.
The API endpoint should follow the base url before consumed.
Select2 format
API endpoint for generating the list of bank in Indonesia.
https://bank.thecloudalert.com/api/select2/
And the example result is
{ "status": 200, "message": "Berhasil", "result": [ { "id": "1", "text": "PT BANK RAKYAT INDONESIA (PERSERO) Tbk" }, { "id": "2", "text": "PT BANK MANDIRI (PERSERO) Tbk" } ] }
Filtering the result
By adding GET parameter with keyword name, the api result can be filtered.
https://bank.thecloudalert.com/api/select2/?keyword=bri
And the example result is
{ "status": 200, "message": "Berhasil", "result": [ { "id": "1", "text": "PT BANK RAKYAT INDONESIA (PERSERO) Tbk" } ] }
DataTable format
API endpoint for generating the list of bank in Indonesia.
https://bank.thecloudalert.com/api/get/?keyword=vict
And the example result is
{ "data": [ [ "71", "BANK UMUM SWASTA NASIONAL", "566", "PT BANK VICTORIA INTERNATIONAL Tbk", "Gedung Graha BIP Lt.10 Jl. Gatot Subroto Kav. 23 Karet Semanggi, Setiabudi Jakarta Selatan 12930", "(021) 5228888", "Fax : (021) 5228777", "www.victoriabank.co.id" ], [ "50", "BANK UMUM SWASTA NASIONAL", "405", "PT BANK VICTORIA SYARIAH", "Gd Graha BIP lantai 5 Jl.Gatot Subroto Kav.23 Karet Semanggi Setiabudi Jakarta Selatan", "(021) 5600467", "Fax : (021) 57940941", "www.bankvictoriasyariah.co.id" ] ], "recordsFiltered": "2", "recordsTotal": "2", "status": 200, "message": "Berhasil" }