Skip to content

HTG to AFN exchange rate API

Gourde to Afghani · quoted 2026-10-11

0.49154

▼ +3.84% over 2Y

1 HTG = 0.49154 AFN · 1 AFN = 2.0344 HTG · Get this rate via the API

1 HTG buys 0.49154 AFN as of 2026-10-11, so 1 AFN buys 2.0344 HTG. Over the last 2 years, HTG/AFN traded between 0.47241 and 0.58329, averaged 0.51424 and fell 3.84%. 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
2024-11-300.518686
2024-12-010.511281
2024-12-020.518167
2024-12-030.519173
2024-12-040.519107
2024-12-050.519293
2024-12-060.52581
2024-12-070.524678
2024-12-080.518248
2024-12-090.525026
2024-12-100.525993
2024-12-110.525533
2024-12-120.526979
2024-12-130.531513
2024-12-140.533641
2024-12-150.527392
2024-12-160.536008
2024-12-170.536062
2024-12-180.536777
2024-12-190.537066
2024-12-200.537079
2024-12-210.53689
2024-12-220.52886
2024-12-230.537203
2024-12-240.536971
2024-12-250.537367
2024-12-260.537322
2024-12-270.537403
2024-12-280.539245
2024-12-290.528858
2024-12-300.538668
2024-12-310.535374
2025-01-010.538581
2025-01-020.53875
2025-01-030.538955
2025-01-040.539037
2025-01-050.531719
2025-01-060.539589
2025-01-070.539985
2025-01-080.543511
2025-01-090.543427
2025-01-100.544389
2025-01-110.544003
2025-01-120.545235
2025-01-130.544717
2025-01-140.553179
2025-01-150.554135
2025-01-160.564213
2025-01-170.562258
2025-01-180.561383

High

0.58329

Low

0.47241

Average

0.51424

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.