Skip to content

MAD to BAM exchange rate API

Moroccan Dirham to Convertible Mark · quoted 2026-11-23

0.17698

▼ +3.24% over 6M

1 MAD = 0.17698 BAM · 1 BAM = 5.6502 MAD · Get this rate via the API

1 MAD buys 0.17698 BAM as of 2026-11-23, so 1 BAM buys 5.6502 MAD. Over the last 6 months, MAD/BAM traded between 0.17449 and 0.18384, averaged 0.18053 and fell 3.24%. The API holds daily MAD/BAM 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.

Daily observations · gaps mean no published rate

Download CSV
MAD/BAM over 6M: show the values
Rates per 1 MAD. Missing rates are shown as a dash.
DateBAM
2026-05-270.182901
2026-05-280.183668
2026-05-290.182995
2026-05-300.182792
2026-05-310.182611
2026-06-010.18262
2026-06-020.182693
2026-06-030.182594
2026-06-040.182855
2026-06-050.182514
2026-06-060.183512
2026-06-090.183122
2026-06-100.182801
2026-06-110.182624
2026-06-120.182268
2026-06-130.182514
2026-06-140.182299
2026-06-150.181795
2026-06-160.182435
2026-06-170.182152
2026-06-180.182543
2026-06-190.183619
2026-06-200.18312
2026-06-210.182928
2026-06-220.182858
2026-06-230.182651
2026-06-240.182998
2026-06-250.18278
2026-06-260.182987
2026-06-270.18304
2026-06-280.182881
2026-06-290.18306
2026-06-300.182603
2026-07-010.182295
2026-07-020.182713
2026-07-030.182391
2026-07-040.182581
2026-07-050.182492
2026-07-060.182511
2026-07-070.182561
2026-07-080.182806
2026-07-090.182848
2026-07-100.182695
2026-07-110.183624
2026-07-120.183351
2026-07-130.183836
2026-07-140.183835
2026-07-150.183067
2026-07-160.182743
2026-07-170.183108
2026-07-180.18322
2026-07-190.183113
2026-07-200.182674
2026-07-210.182654
2026-07-220.182583
2026-07-230.182403
2026-07-240.183313
2026-07-250.183679
2026-07-260.183478
2026-07-270.182975
2026-07-280.183149
2026-07-290.182821
2026-07-300.181953
2026-07-310.181585
2026-08-010.181874
2026-08-020.181692
2026-08-030.181743
2026-08-040.18212
2026-08-050.181947
2026-08-060.181591
2026-08-070.182003
2026-08-080.181712
2026-08-090.181581
2026-08-100.181735
2026-08-110.181948
2026-08-120.1821
2026-08-130.182252
2026-08-140.182252
2026-08-150.182053
2026-08-160.182072
2026-08-170.181714
2026-08-180.181591
2026-08-200.180893
2026-08-210.181023
2026-08-220.181134
2026-08-230.180838
2026-08-240.180986
2026-08-250.181057
2026-08-260.181078
2026-08-270.181341
2026-08-280.181222
2026-08-290.181825
2026-08-300.181698
2026-08-310.181459
2026-09-010.180754
2026-09-020.180741
2026-09-030.18032
2026-09-040.179678
2026-09-050.179761
2026-09-060.179631
2026-09-070.179419
2026-09-080.179073
2026-09-090.179431
2026-09-100.179217
2026-09-110.179382
2026-09-120.179284
2026-09-130.179136
2026-09-140.178863
2026-09-150.178761
2026-09-160.17886
2026-09-170.179597
2026-09-180.179009
2026-09-190.179077
2026-09-200.178916
2026-09-210.178711
2026-09-220.178195
2026-09-230.178343
2026-09-240.178714
2026-09-250.178862
2026-09-260.178737
2026-09-270.178718
2026-09-280.178179
2026-09-300.177984
2026-10-020.175992
2026-10-030.174932
2026-10-050.175362
2026-10-060.17474
2026-10-070.17449
2026-10-080.175355
2026-10-090.176599
2026-10-100.17899
2026-10-110.178845
2026-10-120.179456
2026-10-130.179236
2026-10-140.177138
2026-10-150.177522
2026-10-160.178559
2026-10-170.178647
2026-10-180.17845
2026-10-190.178041
2026-10-200.177631
2026-10-210.177774
2026-10-220.177367
2026-10-230.177465
2026-10-240.177756
2026-10-250.177751
2026-10-260.177124
2026-10-270.177592
2026-10-280.17836
2026-10-290.178322
2026-10-300.17785
2026-10-310.178077
2026-11-010.177249
2026-11-020.177904
2026-11-030.177789
2026-11-040.177889
2026-11-050.177875
2026-11-060.178956
2026-11-070.179933
2026-11-080.179588
2026-11-090.179369
2026-11-100.178237
2026-11-110.178724
2026-11-120.179205
2026-11-130.178383
2026-11-140.178331
2026-11-150.178183
2026-11-160.177949
2026-11-170.177983
2026-11-180.178649
2026-11-190.178848
2026-11-200.178271
2026-11-210.178561
2026-11-220.17843
2026-11-230.176984

High

0.18384

Low

0.17449

Average

0.18053

Statistics use all 175 daily observations in the selected period.

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

MAD/BAM API questions

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

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

How far back does MAD/BAM historical data go?

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