Skip to content

PEN to MXN exchange rate API

Sol to Mexican Peso · quoted 2026-10-07

5.2721

▼ +1.93% over YTD

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

1 PEN buys 5.2721 MXN as of 2026-10-07, so 1 MXN buys 0.18968 PEN. Over the year to date, PEN/MXN traded between 4.9589 and 5.3786, averaged 5.1536 and fell 1.93%. The API holds daily PEN/MXN 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/MXN over YTD

PEN/MXN over YTD: show the values
PointPEN/MXN
2025-12-315.3758
2026-01-075.3786
2026-01-145.3323
2026-01-215.2396
2026-01-285.1649
2026-02-045.1602
2026-02-115.1484
2026-02-185.1380
2026-02-255.1384
2026-03-045.1715
2026-03-115.1680
2026-03-185.1924
2026-03-255.1572
2026-04-015.1886
2026-04-085.1702
2026-04-155.0622
2026-04-225.0574
2026-04-294.9589
2026-05-065.0096
2026-05-135.0659
2026-05-205.1198
2026-05-275.0948
2026-06-035.0869
2026-06-105.1526
2026-06-175.1206
2026-06-245.1790
2026-07-015.1608
2026-07-085.1773
2026-07-155.1788
2026-07-225.1523
2026-07-295.1601
2026-08-055.1065
2026-08-125.1048
2026-08-195.1030
2026-08-265.0916
2026-09-025.0919
2026-09-095.0629
2026-09-165.1181
2026-09-235.1759
2026-09-305.3106

High

5.3786

Low

4.9589

Average

5.1536

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

PEN/MXN API questions

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

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

How far back does PEN/MXN historical data go?

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