Bank of Africa Kenya Exchange Rate API: KES Buy and Sell Rates as JSON
Bank of Africa Kenya is the Kenyan arm of the BMCE-owned Bank of Africa group. Its home page shows buying and selling rates in Kenyan shillings for the US dollar, pound and euro. This guide shows how to read that board as JSON: what the rates mean, how they compare with the Central Bank of Kenya official rate and with other banks in Kenya, and the calls that return them.
What the BOA Kenya board shows
- 3 currencies against the Kenyan shilling: EUR, GBP and USD. Every value is KES per 1 unit of the foreign currency.
- The home-page FX ticker (buy / sell) pair. The Kenyan shilling floats and each bank sets its own buying and selling rates from the interbank market, so spreads differ between banks and currencies. Regional currencies such as the Ugandan and Tanzanian shilling are often quoted per 1 KES; they are converted here to KES per 1 unit. The Central Bank of Kenya sets a daily official mean rate, which banks are not bound to use.
- USD on 15 November 2026: BOA Kenya bought at 126.5 and sold at 131.5 KES, a spread of 3.88%. The Central Bank of Kenya official rate was 129.96, so the bank's mid sat -0.74% from it.
- No timestamp on the bank's page. BOA Kenya does not print a last-updated time, so
bank_updated_atisnullandcaptured_at(when AllRatesToday read the page) is the only time available. - Every day's board is kept permanently, from 15 November 2026, the day collection started. Read one past day with
?date=, or a range for one currency with the/historyendpoint (paid plans).
Spreads across the board
On the 15 November 2026 board the spreads were USD 3.88%, EUR 8.25%, GBP 8.26%. Spread is (sell − buy) ÷ mid: what a round trip through the bank costs, before any fees. The API returns it on every row as spread_pct, so you can rank currencies or alert when a bank widens its board.
USD at BOA Kenya and other banks in Kenya
USD on the 11 boards AllRatesToday reads in Kenya, all captured on 15 November 2026 (the Central Bank of Kenya official rate was 129.96):
| Bank | Buy | Sell | Spread | Mid vs official |
|---|---|---|---|---|
| KCB Bank Kenya | 125.15 | 134.95 | 7.54% | +0.07% |
| NCBA Bank Kenya | 125 | 133.5 | 6.58% | -0.55% |
| Stanbic Bank Kenya | 126.45 | 133.45 | 5.39% | -0.01% |
| Family Bank | 127.5 | 131 | 2.71% | -0.55% |
| Diamond Trust Bank Kenya | 128 | 132 | 3.08% | +0.03% |
| Prime Bank Kenya | 128 | 132 | 3.08% | +0.03% |
| Gulf African Bank | 128 | 133 | 3.83% | +0.42% |
| Sidian Bank | 126.98 | 132.98 | 4.62% | +0.01% |
| Bank of Africa Kenya | 126.5 | 131.5 | 3.88% | -0.74% |
| Victoria Commercial Bank | 128 | 132 | 3.08% | +0.03% |
| SBM Bank Kenya | 127.5 | 131.7 | 3.24% | -0.28% |
BOA Kenya had the 7th narrowest USD spread of the 11. One call to /api/v1/bank-rates/ke returns every board in the table at once.
Get the board (REST)
You need an API key; the free key works. The full board:
curl "https://allratestoday.com/api/v1/bank-rates/ke/boakenya" \
-H "Authorization: Bearer art_live_your_key" What comes back (the 15 November 2026 board, first three rows):
{
"bank": "boakenya",
"name": "Bank of Africa Kenya",
"country": "ke",
"quote_ccy": "KES",
"bank_updated_at": null,
"basis": "Home-page FX ticker (buy / sell)",
"captured_at": "2026-11-15T11:37:54.570Z",
"rates": [
{"ccy":"EUR","buy":138.01,"sell":149.88,"mid":143.945,"spread_pct":8.246,"official":143.73,"vs_official_pct":0.15},
{"ccy":"GBP","buy":165.17,"sell":179.4,"mid":172.285,"spread_pct":8.26,"official":171.91,"vs_official_pct":0.218},
{"ccy":"USD","buy":126.5,"sell":131.5,"mid":129,"spread_pct":3.876,"official":129.96,"vs_official_pct":-0.739}
],
"disclaimer": "…",
"attribution": { … }
} One currency, with the row fields at the top level:
curl "https://allratestoday.com/api/v1/bank-rates/ke/boakenya?ccy=USD" \
-H "Authorization: Bearer art_live_your_key" {
"bank": "boakenya",
"name": "Bank of Africa Kenya",
"country": "ke",
"quote_ccy": "KES",
"bank_updated_at": null,
"basis": "Home-page FX ticker (buy / sell)",
"captured_at": "2026-11-15T11:37:54.570Z",
"ccy": "USD",
"buy": 126.5,
"sell": 131.5,
"mid": 129,
"spread_pct": 3.876,
"official": 129.96,
"vs_official_pct": -0.739,
"disclaimer": "Retail buy/sell rates as displayed on each bank’s own website at capture time, quoted as home currency per 1 unit of foreign currency. Indicative only: banks change these through the day, apply them at the counter or in-app, and they are not official or reference rates. For the rate a regulation names, use the central-bank endpoints.",
"attribution": {
"source": "Board rates published by Bank of Africa Kenya on its own website, collected by AllRatesToday",
"bank_url": "https://boakenya.com/",
"url": "https://allratestoday.com/bank-exchange-rate-api/ke/boakenya/",
"terms": "Public pages that show the rates need a visible link to allratestoday.com"
}
} The board as it stood on a past day:
curl "https://allratestoday.com/api/v1/bank-rates/ke/boakenya?date=2026-11-15" \
-H "Authorization: Bearer art_live_your_key" One currency over a date range, one row per day (paid plans; add &format=csv, xml or xlsx for a file):
curl "https://allratestoday.com/api/v1/bank-rates/ke/boakenya/history?ccy=USD&from=2026-11-15&to=2026-11-15" \
-H "Authorization: Bearer art_live_your_key" JavaScript
npm install @allratestoday/sdk import { AllRatesToday } from '@allratestoday/sdk';
const client = new AllRatesToday({ apiKey: 'art_live_your_key' });
// Bank of Africa Kenya's USD row
const r = await client.bankRates('ke', { bank: 'boakenya', ccy: 'USD' });
console.log(`BOA Kenya buys USD at ${r.buy}, sells at ${r.sell} KES`);
// The board as it stood on a past day
const past = await client.bankRates('ke', { bank: 'boakenya', date: '2026-11-15' });
console.log(past.snapshot_date, past.rates.length); Python
import requests
r = requests.get(
"https://allratestoday.com/api/v1/bank-rates/ke/boakenya",
headers={"Authorization": "Bearer art_live_your_key"},
timeout=10,
)
r.raise_for_status()
for row in r.json()["rates"]:
print(row["ccy"], row["buy"], row["sell"], row["spread_pct"]) Board rate or official rate?
The Central Bank of Kenya rate is the one tax, accounting and customs rules in Kenya name; nobody transacts at it. BOA Kenya's board is the price a customer actually gets. The API puts both on every row: official is the central bank's rate for the same currency and vs_official_pct is how far the bank's mid sits from it. Use the board to show customers a real price, compare banks for a remittance, or keep a dated record of what the bank quoted; use the Central Bank of Kenya endpoint when a rule asks for the official rate.
FAQ
Where do the Bank of Africa Kenya rates come from?
From the bank's own public rates page (https://boakenya.com/), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price BOA Kenya shows, with the mid, the spread and the Central Bank of Kenya rate added.
Are these the official KES exchange rates?
No. They are BOA Kenya's retail prices for customers. The official rate in Kenya is the Central Bank of Kenya rate, which the API returns as official on each row where the central bank has one, and in full from the central-bank endpoint.
How often is the BOA Kenya board updated?
AllRatesToday reads the page every hour. The bank prints no timestamp, so captured_at tells you when the rates were read.
Can I get BOA Kenya rates for a past date?
Yes, from 15 November 2026 onward; every day's board is kept permanently. Add ?date=YYYY-MM-DD for one day: the response is the board captured that day, or the nearest earlier day within five days, with date_requested and snapshot_date added. For a range, /history?ccy=USD&from=…&to=… returns one row per day as JSON, CSV, XML or XLSX on paid plans.
Do I need an API key?
Yes. Commercial bank boards need an API key; any plan works, the free key included, and each call counts against the plan. Public pages or widgets that show the rates need a visible link to allratestoday.com.
Bank of Africa Kenya rates, as JSON
Free API key, hourly board captures, the official rate alongside.
Get your free API keyRelated
- Bank of Africa Kenya live board rates
- All banks in Kenya side by side
- Central Bank of Kenya official rates API
- KCB Bank Kenya exchange rate API guide
- NCBA Bank Kenya exchange rate API guide
- Stanbic Bank Kenya exchange rate API guide
- Family Bank exchange rate API guide
- Diamond Trust Bank Kenya exchange rate API guide
- Prime Bank Kenya exchange rate API guide
- Gulf African Bank exchange rate API guide
- Sidian Bank exchange rate API guide
- Victoria Commercial Bank exchange rate API guide
- SBM Bank Kenya exchange rate API guide
- Every bank exchange rate API guide, by country
- Commercial bank rates API: every bank and country