Skip to content

KES to AFN exchange rate API

Kenyan Shilling to Afghani · quoted 2026-09-30

0.48947

▼ +0.05% over 6M

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 last 6 months, KES/AFN traded between 0.48276 and 0.51680, averaged 0.49830 and fell 0.05%. 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 6M

KES/AFN over 6M: show the values
PointKES/AFN
2026-04-030.48970
2026-04-100.49517
2026-04-170.49909
2026-04-240.48722
2026-05-010.49155
2026-05-080.49799
2026-05-160.48276
2026-05-240.49093
2026-05-310.49356
2026-06-090.48480
2026-06-160.48741
2026-06-230.49145
2026-06-300.49387
2026-07-070.49200
2026-07-140.51193
2026-07-210.51680
2026-07-280.51316
2026-08-040.50675
2026-08-110.50622
2026-08-180.50921
2026-08-260.50954
2026-09-020.50891
2026-09-090.50356
2026-09-160.50099
2026-09-230.50183

High

0.51680

Low

0.48276

Average

0.49830

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.