Skip to content

HTG to AFN exchange rate API

Gourde to Afghani · quoted 2026-10-12

0.49617

▼ +7.39% over 5Y

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 5 years, HTG/AFN traded between 0.47241 and 0.58329, averaged 0.51468 and fell 7.39%. 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 5Y: show the values
Rates per 1 HTG. Missing rates are shown as a dash.
DateAFN
2025-12-050.499438
2025-12-060.50881
2025-12-070.501886
2025-12-080.500369
2025-12-090.5048
2025-12-110.506523
2025-12-120.504865
2025-12-130.504262
2025-12-140.502714
2025-12-150.504028
2025-12-160.50428
2025-12-170.506009
2025-12-180.505629
2025-12-190.505945
2025-12-200.50553
2025-12-210.502639
2025-12-220.505072
2025-12-230.505572
2025-12-240.49856
2025-12-250.499639
2025-12-260.500889
2025-12-270.506124
2025-12-280.501914
2025-12-290.500616
2025-12-300.500425
2025-12-310.499548
2026-01-010.499818
2026-01-020.498807
2026-01-030.506469
2026-01-040.503499
2026-01-050.500689
2026-01-060.50445
2026-01-070.505143
2026-01-080.503575
2026-01-090.503284
2026-01-100.503881
2026-01-110.504045
2026-01-120.504021
2026-01-130.503582
2026-01-140.501966
2026-01-150.49869
2026-01-160.499596
2026-01-170.496148
2026-01-180.504172
2026-01-190.500241
2026-01-200.500658
2026-01-210.500512
2026-01-220.499769
2026-01-230.497206
2026-01-240.497147

High

0.58329

Low

0.47241

Average

0.51468

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