Commercial bank buy and sell rates by API

Central bank rates are reference rates. What a customer actually gets at the counter or on a transfer is the commercial bank's own board: a buying rate and a selling rate, often separate for cash and telegraphic transfer (TT), updated several times a day.

Who needs bank boards

Fetching one bank's board

Banks are grouped by two-letter country code. For example, a bank in Sri Lanka:

curl -H "Authorization: Bearer $ALLRATES_KEY"   https://allratestoday.com/api/v1/bank-rates/lk/{bank}

Add ccy=USD for one currency, or date=2026-11-28 for a past board.

Reading a board correctly

The list of covered banks by country, with their codes: bank exchange rate API.