Skip to content

ERN to MAD exchange rate API

Nakfa to Moroccan Dirham · quoted 2026-10-04

0.66235

▲ +5.91% over 6M

1 ERN = 0.66235 MAD · 1 MAD = 1.5098 ERN · Get this rate via the API

1 ERN buys 0.66235 MAD as of 2026-10-04, so 1 MAD buys 1.5098 ERN. Over the last 6 months, ERN/MAD traded between 0.60851 and 0.66235, averaged 0.62261 and rose 5.91%. The API holds daily ERN/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.

ERN/MAD over 6M

ERN/MAD over 6M: show the values
PointERN/MAD
2026-04-070.62540
2026-04-140.61686
2026-04-210.61610
2026-04-280.61751
2026-05-050.61626
2026-05-120.60851
2026-05-200.61594
2026-05-280.61256
2026-06-040.61415
2026-06-130.61763
2026-06-200.62054
2026-06-270.62562
2026-07-040.62442
2026-07-110.62236
2026-07-180.62220
2026-07-250.62409
2026-08-010.62183
2026-08-080.62080
2026-08-150.61900
2026-08-230.61704
2026-08-300.61942
2026-09-060.62484
2026-09-130.62755
2026-09-200.63447
2026-09-270.64043

High

0.66235

Low

0.60851

Average

0.62261

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

ERN/MAD API questions

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

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

How far back does ERN/MAD historical data go?

Daily ERN/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 ERN/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.