First, you should navigate to the database that contains the data you are interested in. A complete list of the databases available can be found here: https://data.imf.org/?sk=388dfa60-1d26-4ade-b505-a05a558d9a42&sId=1479329132316
From there, please click on either the Data Tables tab or the Query tab to retrieve complete historical data. In the Query tab, you will see options to select the time period and frequency, indicators, and countries that you would like to retrieve data for. Instructions on how to set up a data query are linked on the webpage and can also be found here: https://datahelp.imf.org/knowledgebase/articles/492693-query-how-to-use-it
We hope you find this information useful.
Data Dissemination and Client Services Team
Data Operations Division
International Monetary Fund