Kenyan Shilling (KES)
The Kenyan Shilling is the official currency of Kenya.
Currency Details
| Currency Code | KES |
| Symbol | KSh |
| Minor Unit | Cent (1/100) |
| Country | Kenya |
| Central Bank | Central Bank of Kenya |
Official KES Central Bank Rates
Live rates on this page are mid-market rates. For tax filings, customs valuations, audits, and compliant invoicing you often need the official reference rate published by Central Bank of Kenya instead. AllRatesToday serves Central Bank of Kenya published rates as JSON, with history and a free latest-rates tier.
Popular KES Conversions
Live KES Exchange Rates
Coins & Banknotes
🪙 Coins
💵 Banknotes
Frequently Asked Questions
KES Exchange Rate API
Get live Kenyan Shilling (KES) exchange rates in your app, spreadsheet or backend with one HTTPS request. The AllRatesToday API returns KES mid-market rates against 160+ currencies as JSON, converts amounts, serves past dates and date ranges, and also returns the official rate published by Central Bank of Kenya.
Endpoints for KES
| What you need | Request |
|---|---|
| Latest KES/USD rate | GET /api/v1/rates?source=KES&target=USD |
| KES against several currencies | GET /api/v1/rates?source=KES&target=USD,EUR,GBP |
| Convert an amount from KES | GET /api/v1/rates?source=KES&target=USD&amount=1000 |
| KES rate on a past date | GET /api/v1/rates?source=KES&target=USD&time=2026-06-30 |
| KES rate history for a date range | GET /api/v1/rates?source=KES&target=USD&from=2026-01-01&to=2026-06-30 |
| KES rates as CSV, XML or Excel | GET /api/v1/rates?source=KES&target=USD,EUR,GBP&format=csv |
| Official Central Bank of Kenya rate | GET /api/v1/central-bank/cbke/latest |
Send your key as Authorization: Bearer YOUR_API_KEY.
Example request
cURL
curl "https://allratestoday.com/api/v1/rates?source=KES&target=USD" \
-H "Authorization: Bearer YOUR_API_KEY"JavaScript (npm install @allratestoday/sdk)
import AllRatesToday from '@allratestoday/sdk';
const client = new AllRatesToday('YOUR_API_KEY');
const rate = await client.getRate('KES', 'USD');
console.log(rate);Python (pip install allratestoday)
from allratestoday import AllRatesToday
client = AllRatesToday(api_key="YOUR_API_KEY")
rate = client.get_rate("KES", "USD")
print(rate)Example response
[
{
"rate": 0.0000,
"source": "KES",
"target": "USD",
"time": "2026-11-01T12:00:00Z"
}
]The rate value above is filled in from the live KES/USD rate when the page loads.
What developers build with KES rates
- Prices in KES: show product prices, subscriptions or quotes in Kenyan Shilling for visitors in Kenya.
- Checkout and invoicing: convert order totals to or from KES at the current rate and store the rate used.
- Accounting and reporting: pull daily KES rates for month-end revaluation, using the official Central Bank of Kenya rate where the rules require it.
- Dashboards and spreadsheets: download KES history as CSV or Excel, or sync rates into an ERP with the accounting integrations.
- AI agents: give an assistant live KES rates through the hosted MCP server.
Browse Other Currencies
Packages and open data
- JavaScript: @allratestoday/sdk on npm — live KES rates, conversion and official central-bank tables.
- Python: allratestoday on PyPI · PHP: allratestoday/sdk on Packagist · Go: allratestoday-go · Rust: allratestoday on crates.io.
- Central Bank of Kenya rates for KES: central-bank-of-kenya-exchange-rate on npm · source on GitHub · docs.
- Open dataset of official central-bank rates, refreshed daily: Hugging Face · Kaggle · GitHub (JSON and CSV).
- AI agents: hosted MCP server, @allratestoday/mcp-server on npm and the OpenClaw skill.
- All code: AllRates-Today on GitHub · SDK docs.