Skip to content

PEN to MXN exchange rate API

Sol to Mexican Peso · quoted 2026-10-07

5.2660

▼ +0.84% over 7D

1 PEN = 5.2660 MXN · 1 MXN = 0.18990 PEN · Get this rate via the API

1 PEN buys 5.2660 MXN as of 2026-10-07, so 1 MXN buys 0.18990 PEN. Over the last 7 days, PEN/MXN traded between 5.2533 and 5.3657, averaged 5.3011 and fell 0.84%. 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 7D

PEN/MXN over 7D: show the values
PointPEN/MXN
2026-09-305.3106
2026-10-015.2871
2026-10-025.3657
2026-10-035.2896
2026-10-045.3219
2026-10-055.3145
2026-10-065.2533

High

5.3657

Low

5.2533

Average

5.3011

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.