Central Bank of Kenya Exchange Rate API

Official Central Bank of Kenya (Kenya) daily exchange rates as JSON: 21 currencies, history back to 2024. The published KES rates required for tax, audits, and compliant invoicing.

Kenya flagCentral Bank of Kenya official daily exchange rates as JSON: 21 currencies against the KES, history back to 2024. Latest table on every plan. Get your API key.

About Central Bank of Kenya

The Central Bank of Kenya publishes daily indicative shilling exchange rates each business morning — the mean, buying and selling rates Kenyan banks, businesses and the tax authority reference, covering about 20 currencies including the East African Community pairs. The shilling is a managed float and Nairobi is East Africa's financial hub, making the CBK rate the region's benchmark.

Quick start

One request for the pair you need — USD to KES at the official Central Bank of Kenya rate:

curl "https://allratestoday.com/api/v1/central-bank/cbke/latest?source=USD&target=KES" \
  -H "Authorization: Bearer art_live_your_key"

Or the bank's full published table:

curl "https://allratestoday.com/api/v1/central-bank/cbke/latest" \
  -H "Authorization: Bearer art_live_your_key"

On paid plans, any historical date or a time series:

curl "https://allratestoday.com/api/v1/central-bank/cbke/history?source=USD&target=KES&from=2025-01-01" \
  -H "Authorization: Bearer art_live_your_key"

Latest published rates (2024-01-04)

The most recent table as published by Central Bank of Kenya — exactly what the /latest endpoint returns right now. Values are KES per 1 unit of each currency:

Download this table: Excel (.xlsx) CSV

Download history:
Choose currencies: USD
Excel (.xlsx) CSV

One row per currency per publication date. Up to one year per download. Billed as one API call per currency per month of data.

BaseQuoteTypeRate
AED KES buy 42.7409
AED KES reference 42.8538
AED KES sell 42.9667
AUD KES buy 105.5511
AUD KES reference 105.8299
AUD KES sell 106.1086
BIF KES buy 0.055700686789468115
BIF KES reference 0.055243124993094604
BIF KES sell 0.054793319598474555
CAD KES buy 117.5238
CAD KES reference 117.8343
CAD KES sell 118.1448
CHF KES buy 183.9269
CHF KES reference 184.4285
CHF KES sell 184.9301
CNY KES buy 21.9605
CNY KES reference 22.0166
CNY KES sell 22.0727
DKK KES buy 22.9882
DKK KES reference 23.0471
DKK KES sell 23.1061
EUR KES buy 171.7535
EUR KES reference 172.2168
EUR KES sell 172.68
GBP KES buy 198.4182
GBP KES reference 198.9459
GBP KES sell 199.4735
HKD KES buy 20.1073
HKD KES reference 20.1574
HKD KES sell 20.2075
INR KES buy 1.8844
INR KES reference 1.8893
INR KES sell 1.8942
JPY KES buy 1.098363
JPY KES reference 1.101215
JPY KES sell 1.104068
NOK KES buy 15.1387
NOK KES reference 15.1787
NOK KES sell 15.2186
RWF KES buy 0.12620366747857692
RWF KES reference 0.12495938819883538
RWF KES sell 0.12374093597643972
SAR KES buy 41.8622
SAR KES reference 41.9676
SAR KES sell 42.0731
SEK KES buy 15.3263
SEK KES reference 15.3662
SEK KES sell 15.406
SGD KES buy 118.1606
SGD KES reference 118.4774
SGD KES sell 118.7941
TZS KES buy 0.06281130854799098
TZS KES reference 0.06253048361076025
TZS KES sell 0.06225215859359923
UGX KES buy 0.04146710621799258
UGX KES reference 0.041282396360543934
UGX KES sell 0.04109949365423818
USD KES buy 157
USD KES reference 157.3912
USD KES sell 157.7824
ZAR KES buy 8.3591
ZAR KES reference 8.3812
ZAR KES sell 8.4033

Node.js / TypeScript client

A dedicated zero-dependency npm package wraps these endpoints — central-bank-of-kenya-exchange-rate:

npm install central-bank-of-kenya-exchange-rate
import { getRate } from 'central-bank-of-kenya-exchange-rate';

const pair = await getRate('USD', 'KES', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date);

Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.

Why use the official Central Bank of Kenya rate?

Live market rates move continuously, but tax filings, customs declarations, audits, and statutory accounting in Kenya and beyond typically require the official rate published by Central Bank of Kenya for a given date — a fixed, citable number that never changes after publication. This API serves those published tables with the bank's own rate_date on every response; weekends and holidays return the most recent published date, which is the rate compliance rules require you to apply.

Pairs the bank doesn't print directly are resolved from its table (inverse or cross via KES) and explicitly flagged "derived": true — so what the bank printed and what was computed are never confused.

Endpoints

Full parameter reference in the API documentation. Every request counts toward your plan's monthly quota — rates change once per business day, so caching a published table locally makes a small quota go far.

Frequently asked questions

Is there an API for Central Bank of Kenya exchange rates?

Yes — this one. Official daily KES rates as clean JSON, latest table on every plan including free.

How often are the rates updated?

Central Bank of Kenya publishes once per business day; the API ingests each new table shortly after publication (latest: 2024-01-04).

Are these the official rates?

Yes — ingested from Central Bank of Kenya's own published data, served unmodified with the bank's publication date. Anything computed rather than published is flagged derived.

Central Bank of Kenya rates, one API key

Latest table on every plan. History back to 2024 on paid plans. No credit card to start.

Get Free API Key Read the Docs