Skip to content

USD to MXN exchange rate API

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

17.7362

▼ +11.73% over 5Y

1 USD = 17.7362 MXN · 1 MXN = 0.05638 USD · Get this rate via the API

1 USD buys 17.7362 MXN as of 2026-09-25, so 1 MXN buys 0.05638 USD. Over the last 5 years, USD/MXN traded between 16.8571 and 20.8313, averaged 18.7165 and fell 11.73%. 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 5Y

USD/MXN over 5Y: show the values
PointUSD/MXN
2021-09-2720.0926
2021-11-0820.4028
2021-12-2020.7937
2022-01-3120.7831
2022-03-1420.8313
2022-04-2720.4346
2022-06-0819.5975
2022-07-2020.4890
2022-08-3120.2044
2022-10-1220.0414
2022-11-2319.3714
2023-01-0519.3767
2023-02-1618.5720
2023-03-3018.0822
2023-05-1617.4453
2023-06-2717.0844
2023-08-0817.1944
2023-09-1917.0830
2023-10-3118.0385
2023-12-1217.3472
2024-01-2617.1633
2024-03-0816.8571
2024-04-2317.1194
2024-06-0517.6526
2024-07-1717.7780
2024-08-2719.4292
2024-10-0119.6608
2024-10-3120.0411
2024-11-3020.3760
2024-12-3020.3798
2025-01-2920.4836
2025-02-2820.3814
2025-03-3020.3883
2025-04-2919.6033
2025-05-2919.4003
2025-06-2818.8200
2025-07-2818.6320
2025-08-2718.7292
2025-09-2618.4847
2025-10-2618.4302
2025-11-2518.4471
2025-12-2517.9268
2026-01-2417.3600
2026-02-2317.1970
2026-03-2517.7654
2026-04-2417.3878
2026-05-2417.3055
2026-06-2317.4860
2026-07-2317.4601
2026-08-2216.9209
2026-09-2117.1917

High

20.8313

Low

16.8571

Average

18.7165

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.