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-03-110.549117
2025-03-120.543528
2025-03-130.539573
2025-03-140.540644
2025-03-150.537346
2025-03-160.537554
2025-03-170.538697
2025-03-180.537942
2025-03-190.537076
2025-03-200.540568
2025-03-210.541056
2025-03-220.539227
2025-03-230.538921
2025-03-250.539042
2025-03-260.538327
2025-03-270.538223
2025-03-280.540183
2025-03-290.540846
2025-03-300.53612
2025-03-310.529803
2025-04-010.543914
2025-04-020.552182
2025-04-030.550314
2025-04-040.546687
2025-04-050.545836
2025-04-060.538843
2025-04-070.545556
2025-04-080.546298
2025-04-090.545648
2025-04-100.55047
2025-04-110.551488
2025-04-120.54545
2025-04-130.547577
2025-04-140.555144
2025-04-150.55443
2025-04-160.555034
2025-04-170.553656
2025-04-180.552261
2025-04-190.551927
2025-04-200.540169
2025-04-210.549548
2025-04-220.551896
2025-04-230.54995
2025-04-240.547633
2025-04-250.541919
2025-04-260.547447
2025-04-270.534811
2025-04-280.54546
2025-04-290.54403
2025-04-300.542762

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.