Skip to content

ERN to MAD exchange rate API

Nakfa to Moroccan Dirham · quoted 2026-10-04

0.66235

▲ +9.10% over 1Y

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 year, ERN/MAD traded between 0.60708 and 0.66235, averaged 0.61881 and rose 9.10%. 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 1Y

ERN/MAD over 1Y: show the values
PointERN/MAD
2025-10-040.60708
2025-10-110.60962
2025-10-180.61091
2025-10-250.61572
2025-11-010.61996
2025-11-080.61725
2025-11-150.61573
2025-11-220.61907
2025-11-290.61767
2025-12-060.61520
2025-12-140.61301
2025-12-210.61128
2025-12-280.60777
2026-01-040.60949
2026-01-110.61652
2026-01-180.61571
2026-01-250.60905
2026-02-010.60825
2026-02-080.61199
2026-02-150.60938
2026-02-220.61159
2026-03-010.61055
2026-03-080.62071
2026-03-150.62891
2026-03-220.62394
2026-03-290.62286
2026-04-050.62709
2026-04-120.61882
2026-04-190.61600
2026-04-260.61665
2026-05-030.61618
2026-05-100.60829
2026-05-180.61438
2026-05-260.61359
2026-06-020.61330
2026-06-110.61829
2026-06-180.61982
2026-06-250.62741
2026-07-020.62628
2026-07-090.62405
2026-07-160.62228
2026-07-230.62552
2026-07-300.62559
2026-08-060.62152
2026-08-130.62085
2026-08-210.61612
2026-08-280.61780
2026-09-040.62432
2026-09-110.62654
2026-09-180.63448
2026-09-250.64117

High

0.66235

Low

0.60708

Average

0.61881

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.