USD to MXN exchange rate
Convert USD to MXN
How do I query USD/MXN?
One authenticated GET returns the latest value with its timestamp and source. Swap the language tab for your stack.
$ curl https://api.exchangerate.dev/v1/rate/usd-mxn \
-H "Authorization: Bearer $API_KEY"
# → rate, timestamp, source, derivedconst r = await fetch("https://api.exchangerate.dev/v1/rate/usd-mxn", {
headers: { Authorization: `Bearer ${API_KEY}` }
}).then(res => res.json())
console.log(r.rate, r.timestamp, r.source)r = requests.get(
"https://api.exchangerate.dev/v1/rate/usd-mxn",
headers={"Authorization": f"Bearer {API_KEY}"},
).json()
print(r["rate"], r["timestamp"], r["source"])Related reading
USD/MXN — US Dollar to Mexican Peso
USD/MXN is the reference rate for the US–Mexico remittance corridor, one of the largest in the world — the rate millions of Mexican families watch to know what a dollar sent home is worth in pesos.
USD/MXN measures how many Mexican pesos one US dollar buys. It is one of the most actively traded emerging-market currency pairs in the world and the single most important exchange rate for Mexico, given the depth of US–Mexico trade and the scale of dollar remittances the Mexican diaspora sends home.
The peso floats freely under Banco de México (Banxico), which targets inflation rather than a fixed rate. Because the United States is Mexico's largest trading partner, USD/MXN is highly sensitive to US economic conditions, USMCA trade relations, and manufacturing "nearshoring", as well as to the interest-rate gap between Banxico and the US Federal Reserve — Banxico has historically held rates well above the Fed to support the currency.
The peso is also a high-liquidity proxy for global risk appetite: it tends to strengthen in risk-on periods (the so-called "super peso") and sell off quickly when sentiment turns. For the millions of Mexicans working in the US, USD/MXN is the rate that determines what a remittance is worth back home.
This page shows an indicative mid-market USD/MXN rate that can update intraday through the trading week. Every API response carries a source and market_session field, so you can tell whether a given quote was live or a daily fix. Rates are indicative only, not for settlement or regulated trading.