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-06-220.531878
2025-06-230.540083
2025-06-240.538388
2025-06-250.541172
2025-06-260.538383
2025-06-270.534966
2025-06-280.537575
2025-06-290.526309
2025-06-300.535849
2025-07-010.533246
2025-07-020.535146
2025-07-030.534266
2025-07-040.530612
2025-07-050.532325
2025-07-060.526912
2025-07-070.531994
2025-07-080.530352
2025-07-090.530981
2025-07-100.53323
2025-07-110.532787
2025-07-120.526448
2025-07-130.518425
2025-07-140.532532
2025-07-150.530799
2025-07-160.532977
2025-07-170.523429
2025-07-180.527138
2025-07-190.525588
2025-07-200.517904
2025-07-210.524154
2025-07-220.525695
2025-07-230.527391
2025-07-240.526024
2025-07-250.523691
2025-07-260.527462
2025-07-270.51738
2025-07-280.523522
2025-07-290.523312
2025-07-300.524146
2025-07-310.523776
2025-08-010.523732
2025-08-020.52463
2025-08-030.520213
2025-08-040.524511
2025-08-050.527231
2025-08-060.530251
2025-08-070.536573
2025-08-080.527626
2025-08-090.529134
2025-08-100.521806

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.