Banco de Mexico


Banco de Mexico is Mexico’s equivalent to the U.S. Federal Reserve. Their website provides data on a wide range of topics related to the overall finances of Mexico, as well as an online tool called the Interactive Application for Financial Graphs (PIFF, the Spanish acronym). PIFF has the two main categories of Financial Markets and Debt Outstanding and allows an individual to create graphics and tables from the data available from Banco de Mexico.*

*This description is a paraphrased version of the description on the Banco de Mexico website.

Available data file formats

Excel (XLXS), HTML, CSV, IQY and SDMX.


This is an open data source that is for public use.

Banco de Mexico

How to retrieve data by example


Suppose you wish to obtain data on government spending in Mexico over time. Specifically, you would like to compare the revenues and expenditures of the Mexican federal government from 1998 to 2018. You would like the raw data in an Excel file.


Note: The website is written in Spanish. For those who cannot follow Spanish, you can translate to English by clicking on English in the top right corner of the page. The following instructions are written assuming the website has been translated to English.

  • Go to the Banco de Mexico website and click on the Statistics tab in the menu bar across the top of the page. Under Databases, click on Economic Information System (SIE).
  • A list of sectors is listed here. From this list, federal spending would fall under the sector of public finances. Click on Public finances.
  • Here there are a series of expandable topics. If not already expanded, click on Revenue and expenditure. Under this topic click on Revenues and Expenditures of the Federal Government.
  • To obtain the data from only 1998 to 2018, click on the down arrow on the tab Export series and select the corresponding years.
  • Choose the Information type (in this scenario we keep the default value at Levels) and click on Select to choose the file format of XLXS, which corresponds to Excel. After you choose the file format the data will download to your computer.

You should now have access to the raw data on revenues and expenditures of the Mexican federal government from 1998 to 2018.

Be sure to consult with the source website on how to properly cite your data. For this scenario, an example of a citation in APA format would be:

Banco de Mexico. (2019). Revenues and Expenditures of the Federal Government – (CG2), 1998-2018 [Time series]. Retrieved from: