Skip to content

PEN to MAD exchange rate API

Sol to Moroccan Dirham · quoted 2026-11-21

2.9086

▲ +7.16% over 6M

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 last 6 months, PEN/MAD traded between 2.6649 and 2.9381, averaged 2.8015 and rose 7.16%. 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.

Daily observations · gaps mean no published rate

Download CSV
PEN/MAD over 6M: show the values
Rates per 1 PEN. Missing rates are shown as a dash.
DateMAD
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.6649

Average

2.8015

Statistics use all 181 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.