Skip to content

HTG to MAD exchange rate API

Gourde to Moroccan Dirham · quoted 2026-10-04

0.07588

▲ +3.95% over 5Y

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 last 5 years, HTG/MAD traded between 0.06733 and 0.07588, averaged 0.07145 and rose 3.95%. 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 5Y

HTG/MAD over 5Y: show the values
PointHTG/MAD
2024-08-240.07299
2024-10-070.07298
2024-11-060.07366
2024-12-060.07461
2025-01-050.07521
2025-02-040.07550
2025-03-060.07313
2025-04-060.07124
2025-05-060.06879
2025-06-070.06997
2025-07-070.06733
2025-08-060.06894
2025-09-050.06817
2025-10-060.06966
2025-11-050.07103
2025-12-050.07029
2026-01-050.06993
2026-02-040.07005
2026-03-060.07110
2026-04-050.07153
2026-05-050.07062
2026-06-060.07078
2026-07-080.07147
2026-08-070.07119
2026-09-070.07178

High

0.07588

Low

0.06733

Average

0.07145

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.