Skip to content

ERN to MAD exchange rate API

Nakfa to Moroccan Dirham · quoted 2026-10-04

0.66235

▲ +8.81% over YTD

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 year to date, ERN/MAD traded between 0.60357 and 0.66235, averaged 0.62013 and rose 8.81%. 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 YTD

ERN/MAD over YTD: show the values
PointERN/MAD
2025-12-310.60870
2026-01-070.61402
2026-01-140.61501
2026-01-210.61253
2026-01-280.60357
2026-02-040.61140
2026-02-110.60847
2026-02-180.60989
2026-02-250.61195
2026-03-040.61979
2026-03-110.62381
2026-03-180.62522
2026-03-250.62186
2026-04-010.62230
2026-04-080.62095
2026-04-150.61622
2026-04-220.61702
2026-04-290.61724
2026-05-060.61394
2026-05-140.61241
2026-05-210.61583
2026-05-290.61218
2026-06-050.61507
2026-06-140.61795
2026-06-210.62108
2026-06-280.62601
2026-07-050.62447
2026-07-120.62289
2026-07-190.62254
2026-07-260.62485
2026-08-020.62222
2026-08-090.62115
2026-08-160.61902
2026-08-240.61692
2026-08-310.61992
2026-09-070.62593
2026-09-140.63019
2026-09-210.63568
2026-09-280.64253

High

0.66235

Low

0.60357

Average

0.62013

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.