Skip to content

HTG to AFN exchange rate API

Gourde to Afghani · quoted 2026-10-12

0.49617

▼ +3.25% over 2Y

1 HTG = 0.49617 AFN · 1 AFN = 2.0154 HTG · Get this rate via the API

1 HTG buys 0.49617 AFN as of 2026-10-12, so 1 AFN buys 2.0154 HTG. Over the last 2 years, HTG/AFN traded between 0.47241 and 0.58329, averaged 0.51422 and fell 3.25%. The API holds daily HTG/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.

Chart sampled every 7 observations · table and exports keep every daily rate

Download CSV
HTG/AFN over 2Y: show the values
Rates per 1 HTG. Missing rates are shown as a dash.
DateAFN
2025-05-010.542035
2025-05-020.540801
2025-05-030.546689
2025-05-040.533184
2025-05-050.541492
2025-05-060.538988
2025-05-080.541784
2025-05-090.541724
2025-05-100.543021
2025-05-110.527873
2025-05-120.537366
2025-05-130.536841
2025-05-140.535272
2025-05-150.538653
2025-05-170.539392
2025-05-180.527688
2025-05-190.534811
2025-05-200.534707
2025-05-210.535266
2025-05-220.533791
2025-05-230.533958
2025-05-240.534366
2025-05-250.526725
2025-05-260.536076
2025-05-270.535492
2025-05-280.531402
2025-05-290.527535
2025-05-300.532583
2025-05-310.533595
2025-06-010.522253
2025-06-020.533846
2025-06-030.531165
2025-06-040.531496
2025-06-050.5317
2025-06-060.530309
2025-06-070.531865
2025-06-080.524216
2025-06-090.529778
2025-06-100.532288
2025-06-110.532258
2025-06-120.531946
2025-06-130.530559
2025-06-140.533094
2025-06-150.526511
2025-06-160.53278
2025-06-170.533872
2025-06-180.533073
2025-06-190.538119
2025-06-200.539723
2025-06-210.540328

High

0.58329

Low

0.47241

Average

0.51422

Statistics use all 718 daily observations in the selected period.

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

HTG/AFN API questions

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

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

How far back does HTG/AFN historical data go?

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