Skip to content

BAM to MAD exchange rate API

Convertible Mark to Moroccan Dirham · quoted 2026-09-25

5.6003

▲ +2.17% over YTD

1 BAM = 5.6003 MAD · 1 MAD = 0.17856 BAM · Get this rate via the API

1 BAM buys 5.6003 MAD as of 2026-09-25, so 1 MAD buys 0.17856 BAM. Over the year to date, BAM/MAD traded between 5.4502 and 5.6003, averaged 5.5184 and rose 2.17%. The API holds daily BAM/MAD rates from 2024-08-24 — 2 years of history — so any past day, or a whole series, is one request away.

BAM/MAD over YTD

BAM/MAD over YTD: show the values
PointBAM/MAD
2025-12-315.4812
2026-01-075.5102
2026-01-145.4897
2026-01-215.5098
2026-01-285.5513
2026-02-045.5448
2026-02-115.5577
2026-02-185.5406
2026-02-255.5320
2026-03-045.5134
2026-03-115.5595
2026-03-185.5313
2026-03-255.5355
2026-04-015.5204
2026-04-085.5580
2026-04-155.5724
2026-04-225.5584
2026-04-295.5367
2026-05-065.5157
2026-05-145.5020
2026-05-215.4885
2026-05-295.4646
2026-06-055.4790
2026-06-145.4855
2026-06-215.4666
2026-06-285.4680
2026-07-055.4797
2026-07-125.4540
2026-07-195.4611
2026-07-265.4502
2026-08-025.5038
2026-08-095.5072
2026-08-165.4923
2026-08-245.5253
2026-08-315.5109
2026-09-075.5735
2026-09-145.5909
2026-09-215.5956

High

5.6003

Low

5.4502

Average

5.5184

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

BAM/MAD API questions

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

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

How far back does BAM/MAD historical data go?

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