Skip to content

HTG to AFN exchange rate API

Gourde to Afghani · quoted 2026-10-12

0.49154

▼ +4.15% 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-12, so 1 AFN buys 2.0344 HTG. Over the last 2 years, HTG/AFN traded between 0.47241 and 0.58329, averaged 0.51421 and fell 4.15%. 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-01-200.562197
2025-01-210.562087
2025-01-220.569899
2025-01-230.575579
2025-01-240.574983
2025-01-250.580048
2025-01-260.580574
2025-01-270.58082
2025-01-280.57984
2025-01-290.583129
2025-01-300.583289
2025-01-310.583093
2025-02-010.577234
2025-02-020.566466
2025-02-030.582235
2025-02-040.57538
2025-02-050.569902
2025-02-060.564948
2025-02-070.564071
2025-02-080.567992
2025-02-090.558355
2025-02-100.565353
2025-02-110.564157
2025-02-120.563502
2025-02-130.560391
2025-02-140.559553
2025-02-150.560943
2025-02-160.553665
2025-02-170.561354
2025-02-180.561169
2025-02-190.564081
2025-02-200.563349
2025-02-210.563064
2025-02-220.565117
2025-02-230.556146
2025-02-240.563333
2025-02-250.563159
2025-02-260.552414
2025-02-270.559261
2025-02-280.560234
2025-03-010.560601
2025-03-020.553628
2025-03-030.559485
2025-03-040.559513
2025-03-050.556681
2025-03-060.55564
2025-03-070.5521
2025-03-080.55269
2025-03-090.550438
2025-03-100.548787

High

0.58329

Low

0.47241

Average

0.51421

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.