Skip to content

ALL to MAD exchange rate API

Lek to Moroccan Dirham · quoted 2026-10-04

0.12163

▲ +9.66% over YTD

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 year to date, ALL/MAD traded between 0.11092 and 0.12163, averaged 0.11402 and rose 9.66%. 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 YTD

ALL/MAD over YTD: show the values
PointALL/MAD
2025-12-310.11092
2026-01-070.11151
2026-01-140.11127
2026-01-210.11170
2026-01-280.11222
2026-02-040.11221
2026-02-110.11279
2026-02-180.11259
2026-02-250.11244
2026-03-040.11201
2026-03-110.11317
2026-03-180.11265
2026-03-250.11287
2026-04-010.11251
2026-04-080.11268
2026-04-150.11394
2026-04-220.11378
2026-04-290.11353
2026-05-060.11284
2026-05-140.11265
2026-05-210.11252
2026-05-290.11202
2026-06-050.11251
2026-06-140.11300
2026-06-210.11314
2026-06-280.11374
2026-07-050.11418
2026-07-120.11377
2026-07-190.11391
2026-07-260.11382
2026-08-020.11496
2026-08-090.11554
2026-08-160.11574
2026-08-240.11676
2026-08-310.11692
2026-09-070.11837
2026-09-140.11935
2026-09-210.11953
2026-09-280.11932

High

0.12163

Low

0.11092

Average

0.11402

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.