Skip to content

HNL to AFN exchange rate API

Lempira to Afghani · quoted 2026-10-01

2.3939

▼ +3.60% over YTD

1 HNL = 2.3939 AFN · 1 AFN = 0.41772 HNL · Get this rate via the API

1 HNL buys 2.3939 AFN as of 2026-10-01, so 1 AFN buys 0.41772 HNL. Over the year to date, HNL/AFN traded between 2.3626 and 2.5062, averaged 2.4219 and fell 3.60%. The API holds daily HNL/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.

HNL/AFN over YTD

HNL/AFN over YTD: show the values
PointHNL/AFN
2025-12-312.4835
2026-01-072.5062
2026-01-142.5011
2026-01-212.4861
2026-01-282.4899
2026-02-042.4986
2026-02-112.4501
2026-02-182.3638
2026-02-252.3915
2026-03-042.3626
2026-03-112.3812
2026-03-182.3816
2026-03-252.3726
2026-04-012.3905
2026-04-082.4453
2026-04-152.4083
2026-04-222.3680
2026-04-292.3667
2026-05-062.3938
2026-05-142.4060
2026-05-212.3629
2026-05-292.3709
2026-06-052.3810
2026-06-142.4095
2026-06-212.4156
2026-06-282.4162
2026-07-052.4539
2026-07-122.4468
2026-07-192.4621
2026-07-262.4628
2026-08-022.4533
2026-08-092.4489
2026-08-162.4341
2026-08-242.4373
2026-08-312.4355
2026-09-072.4592
2026-09-142.4027
2026-09-212.4171
2026-09-282.3651

High

2.5062

Low

2.3626

Average

2.4219

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

HNL/AFN API questions

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

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

How far back does HNL/AFN historical data go?

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