Skip to content

MAD to PEN exchange rate API

Moroccan Dirham to Sol · quoted 2026-11-21

0.34381

▼ +6.68% over 6M

1 MAD = 0.34381 PEN · 1 PEN = 2.9086 MAD · Get this rate via the API

1 MAD buys 0.34381 PEN as of 2026-11-21, so 1 PEN buys 2.9086 MAD. Over the last 6 months, MAD/PEN traded between 0.34035 and 0.37525, averaged 0.35712 and fell 6.68%. The API holds daily MAD/PEN 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/PEN over 6M: show the values
Rates per 1 MAD. Missing rates are shown as a dash.
DatePEN
2026-05-250.36841
2026-05-260.369698
2026-05-270.370034
2026-05-280.369392
2026-05-290.369639
2026-05-300.370436
2026-05-310.369801
2026-06-010.36941
2026-06-020.368541
2026-06-030.368928
2026-06-040.368519
2026-06-050.372202
2026-06-060.375251
2026-06-070.372692
2026-06-080.374701
2026-06-090.362296
2026-06-100.366149
2026-06-110.36332
2026-06-120.363351
2026-06-130.367084
2026-06-140.365242
2026-06-150.363332
2026-06-160.36301
2026-06-170.363481
2026-06-180.362171
2026-06-190.360802
2026-06-200.36343
2026-06-210.362097
2026-06-220.360619
2026-06-230.361507
2026-06-240.361755
2026-06-250.360404
2026-06-260.360867
2026-06-270.364566
2026-06-280.36273
2026-06-290.361528
2026-06-300.360903
2026-07-010.361143
2026-07-020.360415
2026-07-030.360584
2026-07-040.363176
2026-07-050.362145
2026-07-060.36139
2026-07-070.361549
2026-07-080.362231
2026-07-090.361302
2026-07-100.3608
2026-07-110.363391
2026-07-120.362341
2026-07-130.362637
2026-07-140.36113
2026-07-150.360431
2026-07-160.361939
2026-07-170.36274
2026-07-180.363285
2026-07-190.363284
2026-07-200.361697
2026-07-210.360207
2026-07-220.360102
2026-07-230.360388
2026-07-240.361423
2026-07-250.363459
2026-07-260.362
2026-07-270.360868
2026-07-280.361317
2026-07-290.360776
2026-07-300.359577
2026-07-310.361117
2026-08-010.363394
2026-08-020.363056
2026-08-030.361738
2026-08-040.361361
2026-08-050.361764
2026-08-060.361038
2026-08-070.360497
2026-08-080.362128
2026-08-090.361882
2026-08-100.360433
2026-08-110.359396
2026-08-120.358992
2026-08-130.359216
2026-08-140.35967
2026-08-150.363019
2026-08-160.361994
2026-08-170.359641
2026-08-180.359224
2026-08-190.359573
2026-08-200.360394
2026-08-210.360096
2026-08-220.362673
2026-08-230.360825
2026-08-240.359607
2026-08-250.358925
2026-08-260.359272
2026-08-270.360183
2026-08-280.359941
2026-08-290.360908
2026-08-300.359981
2026-08-310.359907
2026-09-010.35857
2026-09-020.357262
2026-09-030.357269
2026-09-040.357309
2026-09-050.357883
2026-09-060.357345
2026-09-070.356224
2026-09-080.35504
2026-09-090.356241
2026-09-100.357338
2026-09-110.356351
2026-09-120.356677
2026-09-130.355818
2026-09-140.355528
2026-09-150.353977
2026-09-160.353459
2026-09-170.351956
2026-09-180.350871
2026-09-190.354881
2026-09-200.352756
2026-09-210.349886
2026-09-220.349389
2026-09-230.351055
2026-09-240.352197
2026-09-250.353847
2026-09-260.35277
2026-09-270.353327
2026-09-280.354475
2026-09-290.354337
2026-09-300.351976
2026-10-010.35185
2026-10-020.34601
2026-10-030.345642
2026-10-040.343589
2026-10-050.342442
2026-10-060.342296
2026-10-070.343707
2026-10-080.344481
2026-10-090.34827
2026-10-100.351849
2026-10-110.351309
2026-10-120.351596
2026-10-130.35057
2026-10-140.347058
2026-10-150.34712
2026-10-160.350716
2026-10-170.352913
2026-10-180.351446
2026-10-190.349842
2026-10-200.34813
2026-10-210.34849
2026-10-220.349512
2026-10-230.348975
2026-10-240.350444
2026-10-250.349755
2026-10-260.347963
2026-10-270.348064
2026-10-280.348559
2026-10-290.349637
2026-10-300.350395
2026-10-310.35179
2026-11-010.351055
2026-11-020.350875
2026-11-030.350365
2026-11-040.350564
2026-11-050.351275
2026-11-060.349104
2026-11-070.35285
2026-11-080.350537
2026-11-090.347307
2026-11-100.347683
2026-11-110.345895
2026-11-120.343464
2026-11-130.341258
2026-11-140.342036
2026-11-150.340776
2026-11-160.34066
2026-11-170.340352
2026-11-180.342558
2026-11-190.343252
2026-11-200.344127
2026-11-210.343809

High

0.37525

Low

0.34035

Average

0.35712

Statistics use all 181 daily observations in the selected period.

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

MAD/PEN API questions

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

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

How far back does MAD/PEN historical data go?

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