Skip to content

ERN to AFN exchange rate API

Nakfa to Afghani · quoted 2026-10-07

4.2995

▼ +3.77% over 1Y

1 ERN = 4.2995 AFN · 1 AFN = 0.23259 ERN · Get this rate via the API

1 ERN buys 4.2995 AFN as of 2026-10-07, so 1 AFN buys 0.23259 ERN. Over the last year, ERN/AFN traded between 4.1669 and 4.4679, averaged 4.3275 and fell 3.77%. The API holds daily ERN/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.

ERN/AFN over 1Y

ERN/AFN over 1Y: show the values
PointERN/AFN
2025-10-074.4679
2025-10-144.3958
2025-10-214.4310
2025-10-284.4258
2025-11-044.4423
2025-11-114.4238
2025-11-184.4164
2025-11-254.3929
2025-12-024.4252
2025-12-094.4072
2025-12-174.4213
2025-12-244.3490
2025-12-314.3716
2026-01-074.4107
2026-01-144.4043
2026-01-214.3706
2026-01-284.3832
2026-02-044.3946
2026-02-114.3288
2026-02-184.1669
2026-02-254.2198
2026-03-044.1689
2026-03-114.2044
2026-03-184.2048
2026-03-254.1932
2026-04-014.2362
2026-04-084.3297
2026-04-154.2667
2026-04-224.2000
2026-04-294.2000
2026-05-064.2332
2026-05-144.2667
2026-05-214.1903
2026-05-294.1979
2026-06-054.2281
2026-06-144.2901
2026-06-214.3041
2026-06-284.3098
2026-07-054.3785
2026-07-124.3686
2026-07-194.3972
2026-07-264.4018
2026-08-024.3872
2026-08-094.3847
2026-08-164.3569
2026-08-244.3660
2026-08-314.3598
2026-09-074.3999
2026-09-144.2966
2026-09-214.3286
2026-09-284.2322

High

4.4679

Low

4.1669

Average

4.3275

For developers

Get this rate via the API

One GET request returns the ERN/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=ERN&currencies=AFN"
JavaScript
const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=ERN&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=ERN&currencies=AFN").json()

Replace YOUR_API_KEY with the key from your dashboard.

ERN/AFN API questions

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

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

How far back does ERN/AFN historical data go?

Daily ERN/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 ERN/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.