Skip to content

PEN to MAD exchange rate API

Sol to Moroccan Dirham · quoted 2026-11-21

2.9086

▲ +7.19% over YTD

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

1 PEN buys 2.9086 MAD as of 2026-11-21, so 1 MAD buys 0.34381 PEN. Over the year to date, PEN/MAD traded between 2.6325 and 2.9381, averaged 2.7654 and rose 7.19%. The API holds daily PEN/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.

PEN/MAD over YTD

Daily observations · gaps mean no published rate

Download CSV
PEN/MAD over YTD: show the values
Rates per 1 PEN. Missing rates are shown as a dash.
DateMAD
2026-01-012.713492
2026-01-022.734726
2026-01-032.718621
2026-01-042.731917
2026-01-052.741733
2026-01-062.744961
2026-01-072.755032
2026-01-082.759117
2026-01-092.766369
2026-01-102.749539
2026-01-112.763072
2026-01-122.760434
2026-01-132.761117
2026-01-142.761788
2026-01-152.762101
2026-01-162.764356
2026-01-172.739534
2026-01-182.759289
2026-01-192.759428
2026-01-202.75361
2026-01-212.754358
2026-01-222.754047
2026-01-232.749172
2026-01-242.718583
2026-01-252.734207
2026-01-262.730712
2026-01-272.727215
2026-01-282.725808
2026-01-292.726997
2026-01-302.720928
2026-01-312.714321
2026-02-012.71646
2026-02-022.730552
2026-02-032.741433
2026-02-042.74459
2026-02-052.742559
2026-02-062.750808
2026-02-072.724473
2026-02-082.740469
2026-02-092.737398
2026-02-102.731105
2026-02-112.735238
2026-02-122.742146
2026-02-132.744922
2026-02-142.726109
2026-02-152.734307
2026-02-162.74403
2026-02-172.747206
2026-02-182.746637
2026-02-192.740419
2026-02-202.745391
2026-02-212.727281
2026-02-222.737151
2026-02-232.749027
2026-02-242.750859
2026-02-252.750498
2026-02-262.748728
2026-02-272.748011
2026-02-282.728986
2026-03-012.737824
2026-03-022.751845
2026-03-032.733993
2026-03-042.739894
2026-03-052.720758
2026-03-062.690737
2026-03-072.67405
2026-03-082.681867
2026-03-092.69748
2026-03-102.738587
2026-03-112.739832
2026-03-122.7395
2026-03-132.743224
2026-03-142.728736
2026-03-152.738489
2026-03-162.76297
2026-03-172.765379
2026-03-182.745901
2026-03-192.731977
2026-03-202.705444
2026-03-212.689497
2026-03-222.69806
2026-03-232.717569
2026-03-242.712956
2026-03-252.707858
2026-03-262.705116
2026-03-272.69204
2026-03-282.70111
2026-03-292.68917
2026-03-302.704054
2026-03-312.699876
2026-04-012.712833
2026-04-022.718588
2026-04-032.736142
2026-04-042.722557
2026-04-052.734388
2026-04-062.756225
2026-04-072.750152
2026-04-082.767502
2026-04-092.764556
2026-04-102.760423
2026-04-112.739787
2026-04-122.754029
2026-04-132.77187
2026-04-142.745609
2026-04-152.703881
2026-04-162.702662
2026-04-172.699348
2026-04-182.684269
2026-04-192.692988
2026-04-202.696308
2026-04-212.703228
2026-04-222.702654
2026-04-232.688716
2026-04-242.678687
2026-04-252.65279
2026-04-262.670367
2026-04-272.650012
2026-04-282.648553
2026-04-292.638824
2026-04-302.642435
2026-05-012.632467
2026-05-022.637559
2026-05-032.642294
2026-05-042.643501
2026-05-052.66233
2026-05-062.672805
2026-05-072.669663
2026-05-082.673252
2026-05-092.655516
2026-05-102.658635
2026-05-112.669774
2026-05-122.674018
2026-05-132.694875
2026-05-142.702345
2026-05-152.703542
2026-05-162.689665
2026-05-172.698062
2026-05-182.701845
2026-05-192.702846
2026-05-202.723494
2026-05-212.72172
2026-05-222.715551
2026-05-232.694605
2026-05-242.706014
2026-05-252.714364
2026-05-262.704906
2026-05-272.702453
2026-05-282.707144
2026-05-292.705335
2026-05-302.699515
2026-05-312.704154
2026-06-012.707016
2026-06-022.713401
2026-06-032.71055
2026-06-042.713563
2026-06-052.686707
2026-06-062.664879
2026-06-072.683174
2026-06-082.668791
2026-06-092.760168
2026-06-102.731121
2026-06-112.752393
2026-06-122.752156
2026-06-132.72417
2026-06-142.73791
2026-06-152.752299
2026-06-162.754738
2026-06-172.751173
2026-06-182.761121
2026-06-192.771602
2026-06-202.751554
2026-06-212.76169
2026-06-222.773004
2026-06-232.766193
2026-06-242.764296
2026-06-252.774657
2026-06-262.771097
2026-06-272.742985
2026-06-282.756867
2026-06-292.766033
2026-06-302.770826
2026-07-012.768983
2026-07-022.774574
2026-07-032.773275
2026-07-042.753483
2026-07-052.761323
2026-07-062.767087
2026-07-072.765871
2026-07-082.760662
2026-07-092.767764
2026-07-102.771616
2026-07-112.751855
2026-07-122.759826
2026-07-132.757576
2026-07-142.769082
2026-07-152.774449
2026-07-162.762892
2026-07-172.756795
2026-07-182.752658
2026-07-192.75266
2026-07-202.764743
2026-07-212.776177
2026-07-222.776983
2026-07-232.774781
2026-07-242.766834
2026-07-252.751336
2026-07-262.762423
2026-07-272.771089
2026-07-282.767647
2026-07-292.7718
2026-07-302.781043
2026-07-312.769184
2026-08-012.751831
2026-08-022.75439
2026-08-032.764425
2026-08-042.767314
2026-08-052.764229
2026-08-062.769784
2026-08-072.773944
2026-08-082.761447
2026-08-092.763331
2026-08-102.774439
2026-08-112.78244
2026-08-122.785576
2026-08-132.783839
2026-08-142.780319
2026-08-152.754671
2026-08-162.762469
2026-08-172.780542
2026-08-182.783777
2026-08-192.781072
2026-08-202.774735
2026-08-212.777029
2026-08-222.757299
2026-08-232.771422
2026-08-242.780809
2026-08-252.786092
2026-08-262.783402
2026-08-272.776361
2026-08-282.778231
2026-08-292.770787
2026-08-302.777924
2026-08-312.778489
2026-09-012.788854
2026-09-022.799062
2026-09-032.79901
2026-09-042.79869
2026-09-052.794202
2026-09-062.798415
2026-09-072.807221
2026-09-082.816576
2026-09-092.807081
2026-09-102.798468
2026-09-112.80622
2026-09-122.803657
2026-09-132.810421
2026-09-142.812714
2026-09-152.825041
2026-09-162.829182
2026-09-172.841262
2026-09-182.850042
2026-09-192.81784
2026-09-202.83482
2026-09-212.858067
2026-09-222.862131
2026-09-232.848555
2026-09-242.839319
2026-09-252.826079
2026-09-262.834704
2026-09-272.830236
2026-09-282.821068
2026-09-292.822171
2026-09-302.841102
2026-10-012.842118
2026-10-022.890087
2026-10-032.893159
2026-10-042.910447
2026-10-052.920197
2026-10-062.921442
2026-10-072.909448
2026-10-082.902914
2026-10-092.871334
2026-10-102.842121
2026-10-112.846493
2026-10-122.844167
2026-10-132.852497
2026-10-142.881357
2026-10-152.880841
2026-10-162.851301
2026-10-172.833551
2026-10-182.845386
2026-10-192.858431
2026-10-202.872488
2026-10-212.869519
2026-10-222.861125
2026-10-232.865533
2026-10-242.853516
2026-10-252.859136
2026-10-262.873862
2026-10-272.873028
2026-10-282.868947
2026-10-292.860102
2026-10-302.853919
2026-10-312.8426
2026-11-012.848554
2026-11-022.850017
2026-11-032.854159
2026-11-042.85254
2026-11-052.846765
2026-11-062.864474
2026-11-072.834062
2026-11-082.852765
2026-11-092.879291
2026-11-102.876182
2026-11-112.891043
2026-11-122.911507
2026-11-132.930332
2026-11-142.923661
2026-11-152.934477
2026-11-162.935471
2026-11-172.938129
2026-11-182.919213
2026-11-192.913307
2026-11-202.905896
2026-11-212.908589

High

2.9381

Low

2.6325

Average

2.7654

Statistics use all 325 daily observations in the selected period.

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

PEN/MAD API questions

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

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

How far back does PEN/MAD historical data go?

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