Skip to content

KES to AFN exchange rate API

Kenyan Shilling to Afghani · quoted 2026-09-30

0.48947

▼ +3.52% over YTD

1 KES = 0.48947 AFN · 1 AFN = 2.0430 KES · Get this rate via the API

1 KES buys 0.48947 AFN as of 2026-09-30, so 1 AFN buys 2.0430 KES. Over the year to date, KES/AFN traded between 0.48407 and 0.51243, averaged 0.49865 and fell 3.52%. The API holds daily KES/AFN rates from 2024-08-24 — 2 years of history — so any past day, or a whole series, is one request away.

Converting an invoice? Convert an amount on a specific date.

KES/AFN over YTD

KES/AFN over YTD: show the values
PointKES/AFN
2025-12-310.50735
2026-01-070.51243
2026-01-140.51175
2026-01-210.50801
2026-01-280.50938
2026-02-040.51235
2026-02-110.50350
2026-02-180.48491
2026-02-250.49064
2026-03-040.48407
2026-03-110.48782
2026-03-180.48744
2026-03-250.48594
2026-04-010.48885
2026-04-080.49933
2026-04-150.49451
2026-04-220.48739
2026-04-290.48801
2026-05-060.49269
2026-05-140.49543
2026-05-210.48559
2026-05-290.48764
2026-06-050.49013
2026-06-140.49697
2026-06-210.49874
2026-06-280.49922
2026-07-050.50797
2026-07-120.50719
2026-07-190.51030
2026-07-260.50987
2026-08-020.50875
2026-08-090.50843
2026-08-160.50553
2026-08-240.50592
2026-08-310.50392
2026-09-070.50993
2026-09-140.49789
2026-09-210.50146
2026-09-280.48947

High

0.51243

Low

0.48407

Average

0.49865

For developers

Get this rate via the API

One GET request returns the KES/AFN rate as JSON. The free plan includes 1,000 requests a month, with no credit card required.

cURL
curl -X GET "https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=KES&currencies=AFN"
JavaScript
const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=KES&currencies=AFN");
const data = await response.json();
Python
import requests

data = requests.get("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=KES&currencies=AFN").json()

Replace YOUR_API_KEY with the key from your dashboard.

KES/AFN API questions

How do I get the KES/AFN exchange rate from an API?

Send one GET request to https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=KES&currencies=AFN, replacing YOUR_API_KEY with your own key. The JSON response carries the date and the latest KES/AFN rate in rates.AFN.

How far back does KES/AFN historical data go?

Daily KES/AFN rates are available from 2024-08-24. Request one day with the /historical endpoint and a date, or a range of days with /timeseries.

Is there a free KES/AFN exchange rate API?

Yes. The free plan includes 1,000 requests a month, with no credit card required; paid plans raise the limit.

Put these rates in your application

One endpoint, JSON responses, 160+ currencies and history back to 1999. Start on the free plan.