Skip to content

MAD to ALL exchange rate API

Moroccan Dirham to Lek · quoted 2026-10-04

8.2218

▼ +9.18% over 1Y

1 MAD = 8.2218 ALL · 1 ALL = 0.12163 MAD · Get this rate via the API

1 MAD buys 8.2218 ALL as of 2026-10-04, so 1 ALL buys 0.12163 MAD. Over the last year, MAD/ALL traded between 8.2218 and 9.1044, averaged 8.8371 and fell 9.18%. The API holds daily MAD/ALL 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.

MAD/ALL over 1Y

MAD/ALL over 1Y: show the values
PointMAD/ALL
2025-10-049.0531
2025-10-119.1044
2025-10-189.0443
2025-10-259.0018
2025-11-019.0155
2025-11-089.0195
2025-11-159.0041
2025-11-229.0353
2025-11-298.9912
2025-12-068.9850
2025-12-148.9485
2025-12-218.9895
2025-12-288.9654
2026-01-049.0143
2026-01-118.9640
2026-01-189.0057
2026-01-258.9485
2026-02-018.9293
2026-02-088.8900
2026-02-158.8908
2026-02-228.9112
2026-03-018.8985
2026-03-088.8799
2026-03-158.8991
2026-03-228.8795
2026-03-298.9213
2026-04-058.8407
2026-04-128.7937
2026-04-198.7963
2026-04-268.8001
2026-05-038.8124
2026-05-108.8640
2026-05-188.9177
2026-05-268.9155
2026-06-028.9169
2026-06-118.8718
2026-06-188.8153
2026-06-258.8213
2026-07-028.7979
2026-07-098.7796
2026-07-168.7623
2026-07-238.7487
2026-07-308.7566
2026-08-068.6495
2026-08-138.6515
2026-08-218.5757
2026-08-288.5540
2026-09-048.4626
2026-09-118.4398
2026-09-188.4011
2026-09-258.3707

High

9.1044

Low

8.2218

Average

8.8371

For developers

Get this rate via the API

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

data = requests.get("https://api.fxfeed.io/v2/latest?api_key=YOUR_API_KEY&base=MAD&currencies=ALL").json()

Replace YOUR_API_KEY with the key from your dashboard.

MAD/ALL API questions

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

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

How far back does MAD/ALL historical data go?

Daily MAD/ALL 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 MAD/ALL 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.