Gulf African Bank Exchange Rate API: KES Buy and Sell Rates as JSON
Gulf African Bank is a Kenyan Islamic bank. Its exchange-rates page lists buying and selling rates in Kenyan shillings for eight currencies. 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 Gulf African Bank board shows
- 8 currencies against the Kenyan shilling: AED, EUR, GBP, INR, JPY, SAR, USD and ZAR. Every value is KES per 1 unit of the foreign currency.
- The exchange rates (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: Gulf African Bank bought at 128 and sold at 133 KES, a spread of 3.83%. The Central Bank of Kenya official rate was 129.96, so the bank's mid sat +0.42% from it.
- No timestamp on the bank's page. Gulf African Bank 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 tightest spreads were USD (3.83%), GBP (6.38%), EUR (6.49%) and the widest ZAR (15.40%), INR (13.11%), AED (9.31%). 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 Gulf African Bank 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% |
Gulf African Bank had the 6th 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/gulfafrican" \
-H "Authorization: Bearer art_live_your_key" What comes back (the 15 November 2026 board, first three rows):
{
"bank": "gulfafrican",
"name": "Gulf African Bank",
"country": "ke",
"quote_ccy": "KES",
"bank_updated_at": null,
"basis": "Exchange rates (buy / sell)",
"captured_at": "2026-11-15T11:23:18.058Z",
"rates": [
{"ccy":"AED","buy":33.8681,"sell":37.1745,"mid":35.5213,"spread_pct":9.308,"official":35.38,"vs_official_pct":0.399},
{"ccy":"EUR","buy":139.4495,"sell":148.7995,"mid":144.1245,"spread_pct":6.487,"official":143.73,"vs_official_pct":0.274},
{"ccy":"GBP","buy":166.9125,"sell":177.9125,"mid":172.4125,"spread_pct":6.38,"official":171.91,"vs_official_pct":0.292},
… 5 more currencies
],
"disclaimer": "…",
"attribution": { … }
} One currency, with the row fields at the top level:
curl "https://allratestoday.com/api/v1/bank-rates/ke/gulfafrican?ccy=USD" \
-H "Authorization: Bearer art_live_your_key" {
"bank": "gulfafrican",
"name": "Gulf African Bank",
"country": "ke",
"quote_ccy": "KES",
"bank_updated_at": null,
"basis": "Exchange rates (buy / sell)",
"captured_at": "2026-11-15T11:23:18.058Z",
"ccy": "USD",
"buy": 128,
"sell": 133,
"mid": 130.5,
"spread_pct": 3.831,
"official": 129.96,
"vs_official_pct": 0.416,
"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 Gulf African Bank on its own website, collected by AllRatesToday",
"bank_url": "https://gulfafricanbank.com/exchange-rates/",
"url": "https://allratestoday.com/bank-exchange-rate-api/ke/gulfafrican/",
"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/gulfafrican?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/gulfafrican/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' });
// Gulf African Bank's USD row
const r = await client.bankRates('ke', { bank: 'gulfafrican', ccy: 'USD' });
console.log(`Gulf African Bank 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: 'gulfafrican', 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/gulfafrican",
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. Gulf African Bank'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 Gulf African Bank rates come from?
From the bank's own public rates page (https://gulfafricanbank.com/exchange-rates/), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price Gulf African Bank shows, with the mid, the spread and the Central Bank of Kenya rate added.
Are these the official KES exchange rates?
No. They are Gulf African Bank'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 Gulf African Bank 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 Gulf African Bank 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.
Gulf African Bank rates, as JSON
Free API key, hourly board captures, the official rate alongside.
Get your free API keyRelated
- Gulf African Bank 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
- Sidian Bank exchange rate API guide
- Bank of Africa Kenya 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