Skip to content

PEN to MXN exchange rate API

Sol to Mexican Peso · quoted 2026-10-07

5.2796

▲ +3.45% over 5Y

1 PEN = 5.2796 MXN · 1 MXN = 0.18941 PEN · Get this rate via the API

1 PEN buys 5.2796 MXN as of 2026-10-07, so 1 MXN buys 0.18941 PEN. Over the last 5 years, PEN/MXN traded between 5.0215 and 5.5947, averaged 5.2978 and rose 3.45%. 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 5Y

PEN/MXN over 5Y: show the values
PointPEN/MXN
2024-08-245.1037
2024-10-035.2432
2024-11-025.3746
2024-12-025.4772
2025-01-015.5392
2025-01-315.5573
2025-03-025.5149
2025-04-015.5947
2025-05-015.3606
2025-05-315.3333
2025-06-305.3163
2025-07-305.2836
2025-08-295.2772
2025-09-285.2549
2025-10-285.4642
2025-11-275.4819
2025-12-275.3219
2026-01-265.2204
2026-02-255.1384
2026-03-275.2006
2026-04-265.0215
2026-05-265.0809
2026-06-255.2004
2026-07-255.1376
2026-08-245.0870
2026-09-235.1759

High

5.5947

Low

5.0215

Average

5.2978

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.