Skip to content

KES to AFN exchange rate API

Kenyan Shilling to Afghani · quoted 2026-09-30

0.48947

▼ +2.87% over 30D

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 30 days, KES/AFN traded between 0.48947 and 0.50993, averaged 0.50156 and fell 2.87%. 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 30D

KES/AFN over 30D: show the values
PointKES/AFN
2026-08-310.50392
2026-09-010.50955
2026-09-020.50891
2026-09-030.50826
2026-09-040.50904
2026-09-050.50792
2026-09-060.49852
2026-09-070.50993
2026-09-080.50569
2026-09-090.50356
2026-09-100.50733
2026-09-110.50520
2026-09-120.50834
2026-09-130.49732
2026-09-140.49789
2026-09-150.50129
2026-09-160.50099
2026-09-170.50059
2026-09-180.50112
2026-09-190.49161
2026-09-200.49980
2026-09-210.50146
2026-09-220.50036
2026-09-230.50183
2026-09-240.49406
2026-09-250.49412
2026-09-260.49843
2026-09-270.50079
2026-09-280.48947

High

0.50993

Low

0.48947

Average

0.50156

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.