Skip to content

HTG to MAD exchange rate API

Gourde to Moroccan Dirham · quoted 2026-10-04

0.07588

▲ +9.09% over YTD

1 HTG = 0.07588 MAD · 1 MAD = 13.1794 HTG · Get this rate via the API

1 HTG buys 0.07588 MAD as of 2026-10-04, so 1 MAD buys 13.1794 HTG. Over the year to date, HTG/MAD traded between 0.06870 and 0.07588, averaged 0.07092 and rose 9.09%. The API holds daily HTG/MAD 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/MAD over YTD

HTG/MAD over YTD: show the values
PointHTG/MAD
2025-12-310.06956
2026-01-070.07032
2026-01-140.07009
2026-01-210.07014
2026-01-280.06870
2026-02-040.07005
2026-02-110.06952
2026-02-180.06985
2026-02-250.06967
2026-03-040.07083
2026-03-110.07114
2026-03-180.07159
2026-03-250.07109
2026-04-010.07111
2026-04-080.07121
2026-04-150.07052
2026-04-220.07059
2026-04-290.07069
2026-05-060.07051
2026-05-140.07034
2026-05-210.07055
2026-05-290.07030
2026-06-050.07048
2026-06-140.07072
2026-06-210.07094
2026-06-280.07168
2026-07-050.07128
2026-07-120.07099
2026-07-190.07112
2026-07-260.07115
2026-08-020.07080
2026-08-090.07099
2026-08-160.07049
2026-08-240.07063
2026-08-310.07070
2026-09-070.07178
2026-09-140.07226
2026-09-210.07302
2026-09-280.07361

High

0.07588

Low

0.06870

Average

0.07092

For developers

Get this rate via the API

One GET request returns the HTG/MAD 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=MAD"
JavaScript
const response = await fetch("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=HTG&currencies=MAD");
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=MAD").json()

Replace YOUR_API_KEY with the key from your dashboard.

HTG/MAD API questions

How do I get the HTG/MAD exchange rate from an API?

Send one GET request to https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=HTG&currencies=MAD, replacing YOUR_API_KEY with your own key. The JSON response carries the date and the latest HTG/MAD rate in rates.MAD.

How far back does HTG/MAD historical data go?

Daily HTG/MAD 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/MAD 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.