Mexico Banxico Exchange Rate API
## The only exchange rate API built for CFDI compliance Getting the right exchange rate for a Mexican invoice isn't as simple as calling a currency API. SAT requires the **DOF (Diario Oficial de la Federación)** rate — not the FIX, not a market rate, not yesterday's close. Use the wrong rate and the CFDI fails validation at the PAC. This API wraps the official **Banco de México SIE** (Sistema de…
Mexico Banxico Exchange Rate API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
List Currencies /currencies |
Returns the complete catalog of currencies supported by this API, including their Banxico SIE series IDs, DOF availability, and a CFDI usage note for each. No parameters… |
| GET |
Get Current Indicators /indicators/current |
Returns the three most relevant Banxico economic indicators for Mexico: - **TIIE 28 días** (SF60632) — Tasa de Interés Interbancaria de Equilibrio a 28 días. The benchmark… |
| GET |
Get Rate for Date /exchange-rate/{date_str} |
Returns the FIX or DOF rate for a specific date and currency. If the requested date is a weekend or Mexican banking holiday (when Banxico does not publish), the response returns… |
| GET |
Get Rate Range /exchange-rate/range |
Returns daily FIX or DOF rates for the specified currency over a date range. Maximum range: 365 days. Weekends and Mexican banking holidays will appear as unavailable in the data… |
| POST |
Get CFDI Rate (POST) /exchange-rate/cfdi |
Identical logic to GET /exchange-rate/cfdi — same response, same rules — but accepts a JSON body instead of query parameters. Useful when calling from systems that prefer POST… |
| GET |
Get CFDI Rate /exchange-rate/cfdi |
The most important endpoint in this API. Returns the exact value to use in the `TipoCambio` attribute of a CFDI 4.0 invoice. SAT's rule, verbatim: > "El tipo de cambio que se… |
| GET |
Get Currency Rate /exchange-rate/currencies/{currency} |
Returns the current FIX rate and, for USD, the DOF rate for a single currency. **Supported values for `currency`:** USD, EUR, GBP, CAD, JPY For USD, both rates are returned: -… |
| GET |
Get Current Rates /exchange-rate/current |
Returns the latest Banxico FIX rates for all supported currencies: USD, EUR, GBP, CAD, and JPY. The response includes a `fix_published_today` flag — Banxico publishes the FIX… |
Mexico Banxico Exchange Rate API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $19 / month | — |
|
| ULTRA | $49 / month | — |
|
| MEGA | $99 / month | — |
|