This is API to get Indonesian Rupiah Exchange Rates directly from BCA. The data was scraped directly from BCA Kurs Page.
The API only consist of GET
method that will return a respond of the following:
- Last Update Time
- Currency
- e-Rate (Buy & Sell)
- TT Counter (Buy & Sell)
- Bank Notes (Buy & Sell)
# Clone this repository
$ git clone https://github.com/amirhsn/bca-exchange-rates.git
In some very rare cases, 500
or 504
error status will raised, just refresh the URL, it is a problem that arises from Lambda running on Vercel, so the best practice is to wrap the GET method with exception handler.