Skip to content

MXN to PEN exchange rate API

Mexican Peso to Sol · quoted 2026-10-07

0.18968

▲ +1.52% over 1Y

1 MXN = 0.18968 PEN · 1 PEN = 5.2721 MXN · Get this rate via the API

1 MXN buys 0.18968 PEN as of 2026-10-07, so 1 PEN buys 5.2721 MXN. Over the last year, MXN/PEN traded between 0.18087 and 0.20034, averaged 0.19153 and rose 1.52%. The API holds daily MXN/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.

MXN/PEN over 1Y

MXN/PEN over 1Y: show the values
PointMXN/PEN
2025-10-070.18684
2025-10-140.18319
2025-10-210.18283
2025-10-280.18301
2025-11-040.18087
2025-11-110.18173
2025-11-180.18168
2025-11-250.18207
2025-12-020.18293
2025-12-090.18291
2025-12-160.18657
2025-12-230.18655
2025-12-300.18620
2026-01-060.18629
2026-01-130.18659
2026-01-200.18944
2026-01-270.19243
2026-02-030.19312
2026-02-100.19389
2026-02-170.19325
2026-02-240.19321
2026-03-030.19368
2026-03-100.19447
2026-03-170.19222
2026-03-240.19296
2026-03-310.19276
2026-04-070.19215
2026-04-140.19561
2026-04-210.19752
2026-04-280.20034
2026-05-050.19908
2026-05-120.19791
2026-05-190.19684
2026-05-260.19682
2026-06-020.19616
2026-06-090.19295
2026-06-160.19535
2026-06-230.19369
2026-06-300.19413
2026-07-070.19437
2026-07-140.19272
2026-07-210.19433
2026-07-280.19406
2026-08-040.19502
2026-08-110.19542
2026-08-180.19596
2026-08-250.19613
2026-09-010.19668
2026-09-080.19679
2026-09-150.19568
2026-09-220.19375
2026-09-290.19151
2026-10-060.19035

High

0.20034

Low

0.18087

Average

0.19153

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

MXN/PEN API questions

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

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

How far back does MXN/PEN historical data go?

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