AfricaMAD — ISO 4217

Moroccan Dirham (MAD) Exchange Rate API

Get live Moroccan Dirham (MAD) to USD exchange rates via REST API. Rates updated every 4 hours from dual sources. Used by Morocco, Western Sahara.

Fetch MAD rates in seconds

One endpoint, one header. No OAuth, no webhooks required.

JavaScript / TypeScriptGET /v1/exchange-rates/MAD
// Fetch MAD exchange rate
const response = await fetch(
  'https://api.apogeoapi.com/v1/exchange-rates/MAD',
  { headers: { 'X-API-Key': 'your_api_key' } }
);

const data = await response.json();
// {
//   "currency": "MAD",
//   "usdRate": 1.08,        // 1 MAD = X USD
//   "lastUpdated": "2026-04-05T10:00:00Z",
//   "stale": false
// }
Bundled with country dataGET /v1/countries/{ISO2}
// Countries using MAD also include currencyRate in their response:
GET /v1/countries/{ISO2}
// { ..., "currencyRate": { "usdRate": 1.08, "currency": "MAD" } }

Why use ApogeoAPI for MAD rates?

Live rates

MAD to USD rates updated every 4 hours from ExchangeRate-API with Frankfurter as automatic fallback. Stale flag included if refresh fails.

161 currencies

USD, EUR, GBP, ARS, BRL and 156 more — all available under the same subscription. No per-currency pricing.

Bundled with geo data

Countries that use MAD return currencyRate inline — no extra API call needed. Cities, states, IP geo all in one response.

Countries using MAD

All of these countries return MAD exchange rate data in their API responses.

MoroccoWestern Sahara

Start fetching MAD rates today

14-day free trial. No credit card required. 161 currencies included.