Skip to content

HTG to AFN exchange rate API

Gourde to Afghani · quoted 2026-10-12

0.49617

▼ +0.73% over YTD

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 year to date, HTG/AFN traded between 0.47241 and 0.51224, averaged 0.49144 and fell 0.73%. 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.

HTG/AFN over YTD

Daily observations · gaps mean no published rate

Download CSV
HTG/AFN over YTD: show the values
Rates per 1 HTG. Missing rates are shown as a dash.
DateAFN
2026-07-240.495547
2026-07-250.495724
2026-07-260.501216
2026-07-270.509349
2026-07-280.507616
2026-07-290.501525
2026-07-300.501711
2026-07-310.501949
2026-08-010.505678
2026-08-020.49919
2026-08-030.499372
2026-08-040.499606
2026-08-050.501042
2026-08-060.502136
2026-08-070.500058
2026-08-080.503451
2026-08-090.501095
2026-08-100.502136
2026-08-110.50043
2026-08-120.499363
2026-08-130.499596
2026-08-140.497444
2026-08-150.500923
2026-08-160.496127
2026-08-170.501548
2026-08-180.502789
2026-08-200.503226
2026-08-210.503835
2026-08-220.500463
2026-08-230.495201
2026-08-240.499877
2026-08-250.499958
2026-08-260.504415
2026-08-270.497998
2026-08-280.50475
2026-08-290.501003
2026-08-300.497031
2026-08-310.497242
2026-09-010.505115
2026-09-020.502996
2026-09-030.502944
2026-09-040.504697
2026-09-050.502668
2026-09-060.4916
2026-09-070.504555
2026-09-080.500589
2026-09-090.498718
2026-09-100.502135
2026-09-110.499733
2026-09-120.503653

High

0.51224

Low

0.47241

Average

0.49144

Statistics use all 277 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.