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
HTG/AFN over YTD: show the values
| Date | AFN |
|---|---|
| 2026-01-01 | 0.499818 |
| 2026-01-02 | 0.498807 |
| 2026-01-03 | 0.506469 |
| 2026-01-04 | 0.503499 |
| 2026-01-05 | 0.500689 |
| 2026-01-06 | 0.50445 |
| 2026-01-07 | 0.505143 |
| 2026-01-08 | 0.503575 |
| 2026-01-09 | 0.503284 |
| 2026-01-10 | 0.503881 |
| 2026-01-11 | 0.504045 |
| 2026-01-12 | 0.504021 |
| 2026-01-13 | 0.503582 |
| 2026-01-14 | 0.501966 |
| 2026-01-15 | 0.49869 |
| 2026-01-16 | 0.499596 |
| 2026-01-17 | 0.496148 |
| 2026-01-18 | 0.504172 |
| 2026-01-19 | 0.500241 |
| 2026-01-20 | 0.500658 |
| 2026-01-21 | 0.500512 |
| 2026-01-22 | 0.499769 |
| 2026-01-23 | 0.497206 |
| 2026-01-24 | 0.497147 |
| 2026-01-25 | 0.503271 |
| 2026-01-26 | 0.502984 |
| 2026-01-27 | 0.497702 |
| 2026-01-28 | 0.498877 |
| 2026-01-29 | 0.496273 |
| 2026-01-30 | 0.501242 |
| 2026-01-31 | 0.502003 |
| 2026-02-01 | 0.496718 |
| 2026-02-02 | 0.499272 |
| 2026-02-03 | 0.500291 |
| 2026-02-04 | 0.503525 |
| 2026-02-05 | 0.50248 |
| 2026-02-06 | 0.49818 |
| 2026-02-07 | 0.502189 |
| 2026-02-08 | 0.489052 |
| 2026-02-09 | 0.49645 |
| 2026-02-10 | 0.496503 |
| 2026-02-11 | 0.494599 |
| 2026-02-12 | 0.491062 |
| 2026-02-13 | 0.491032 |
| 2026-02-14 | 0.497633 |
| 2026-02-15 | 0.483758 |
| 2026-02-16 | 0.487887 |
| 2026-02-17 | 0.487809 |
| 2026-02-18 | 0.477221 |
| 2026-02-19 | 0.473685 |
High
0.51224
Low
0.47241
Average
0.49142
Statistics use all 276 daily observations in the selected period.
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 -X GET "https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=HTG¤cies=AFN"const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=HTG¤cies=AFN");
const data = await response.json();import requests
data = requests.get("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=HTG¤cies=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¤cies=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.