Skip to content

HTG to AFN exchange rate API

Gourde to Afghani · quoted 2026-10-11

0.49154

▼ +1.66% over YTD

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 year to date, HTG/AFN traded between 0.47241 and 0.51224, averaged 0.49142 and fell 1.66%. 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-04-110.492121
2026-04-120.492683
2026-04-130.492659
2026-04-140.489198
2026-04-150.488292
2026-04-160.490353
2026-04-170.492772
2026-04-180.4926
2026-04-190.491746
2026-04-200.490949
2026-04-210.489254
2026-04-220.480484
2026-04-230.483435
2026-04-240.48086
2026-04-250.47435
2026-04-260.47435
2026-04-270.474348
2026-04-280.472408
2026-04-290.481028
2026-04-300.480863
2026-05-010.484631
2026-05-020.48846
2026-05-030.48846
2026-05-040.488458
2026-05-050.485088
2026-05-060.486187
2026-05-070.487311
2026-05-080.490871
2026-05-090.488851
2026-05-100.490141
2026-05-110.490138
2026-05-120.487044
2026-05-140.490064
2026-05-150.475069
2026-05-160.476739
2026-05-170.482773
2026-05-180.476449
2026-05-190.477575
2026-05-200.481311
2026-05-210.480051
2026-05-230.479403
2026-05-240.482903
2026-05-250.482735
2026-05-260.482191
2026-05-270.478811
2026-05-280.477477
2026-05-290.48205
2026-05-300.473731
2026-05-310.486343
2026-06-010.481153

High

0.51224

Low

0.47241

Average

0.49142

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