Skip to content

USD to MXN exchange rate API

US Dollar to Mexican Peso · quoted 2026-09-25

17.7599

▼ +1.18% over YTD

1 USD = 17.7599 MXN · 1 MXN = 0.05631 USD · Get this rate via the API

1 USD buys 17.7599 MXN as of 2026-09-25, so 1 MXN buys 0.05631 USD. Over the year to date, USD/MXN traded between 16.9025 and 17.9810, averaged 17.3937 and fell 1.18%. The API holds daily USD/MXN rates from 2024-08-24 — 2 years of history — so any past day, or a whole series, is one request away.

USD/MXN over YTD

USD/MXN over YTD: show the values
PointUSD/MXN
2025-12-3117.9728
2026-01-0717.9810
2026-01-1417.8112
2026-01-2117.4781
2026-01-2817.1549
2026-02-0417.2426
2026-02-1117.1794
2026-02-1817.1135
2026-02-2517.1486
2026-03-0417.5479
2026-03-1117.6499
2026-03-1817.7341
2026-03-2517.7654
2026-04-0117.8533
2026-04-0817.4010
2026-04-1517.3055
2026-04-2217.3193
2026-04-2917.3988
2026-05-0617.2604
2026-05-1317.2236
2026-05-2017.3683
2026-05-2717.3192
2026-06-0317.2910
2026-06-1017.4788
2026-06-1717.2105
2026-06-2417.6197
2026-07-0117.5341
2026-07-0817.5752
2026-07-1517.4303
2026-07-2217.4235
2026-07-2917.4755
2026-08-0517.2120
2026-08-1217.0614
2026-08-1917.0365
2026-08-2616.9309
2026-09-0217.0008
2026-09-0916.9025
2026-09-1617.1382
2026-09-2317.4392

High

17.9810

Low

16.9025

Average

17.3937

For developers

Get this rate via the API

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

Replace YOUR_API_KEY with the key from your dashboard.

USD/MXN API questions

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

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

How far back does USD/MXN historical data go?

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