Skip to content

ALL to MAD exchange rate API

Lek to Moroccan Dirham · quoted 2026-10-04

0.12163

▲ +7.83% over 6M

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

1 ALL buys 0.12163 MAD as of 2026-10-04, so 1 MAD buys 8.2219 ALL. Over the last 6 months, ALL/MAD traded between 0.11174 and 0.12163, averaged 0.11487 and rose 7.83%. The API holds daily ALL/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.

ALL/MAD over 6M

ALL/MAD over 6M: show the values
PointALL/MAD
2026-04-070.11279
2026-04-140.11305
2026-04-210.11402
2026-04-280.11365
2026-05-050.11274
2026-05-120.11258
2026-05-200.11234
2026-05-280.11174
2026-06-040.11209
2026-06-130.11293
2026-06-200.11305
2026-06-270.11358
2026-07-040.11417
2026-07-110.11369
2026-07-180.11385
2026-07-250.11374
2026-08-010.11489
2026-08-080.11545
2026-08-150.11574
2026-08-230.11682
2026-08-300.11675
2026-09-060.11817
2026-09-130.11885
2026-09-200.11936
2026-09-270.11900

High

0.12163

Low

0.11174

Average

0.11487

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

ALL/MAD API questions

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

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

How far back does ALL/MAD historical data go?

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