Skip to content

IMF API: Get economic forecast

Gets World Economic Outlook figures for a country or region by year, labelled as actual or forecast. Measures the IMF does not publish for a year are null.

imf.org (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by IMF.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Country, requiredcountry

Country or region name, such as Germany, World, or Euro area.

World

End Year optionalend_year

Last year to show, for example 2028. Defaults to two years after the current year.

2027

Whole number.

Start Year optionalstart_year

First year to show, for example 2024. Defaults to the current year.

2025

Whole number.

Output

From a run on Oct 23, 2026.
{  "years": [    {      "year": 2025,      "status": "actual",      "page_url": "https://www.imf.org/external/datamapper/NGDP_RPCH@WEO/WEOWORLD",      "gdp_billions_usd": 118485.328,      "inflation_percent": 4.1,      "gdp_per_person_usd": 14749.376,      "unemployment_percent": null,      "real_gdp_growth_percent": 3.5,      "government_debt_percent_of_gdp": 94,      "current_account_balance_percent_of_gdp": 0.5    },    {      "year": 2026,      "status": "forecast",      "page_url": "https://www.imf.org/external/datamapper/NGDP_RPCH@WEO/WEOWORLD",      "gdp_billions_usd": 128003.776,      "inflation_percent": 4.7,      "gdp_per_person_usd": 15889.337,      "unemployment_percent": null,      "real_gdp_growth_percent": 3.1,      "government_debt_percent_of_gdp": 94.6,      "current_account_balance_percent_of_gdp": 0.7    },    {      "year": 2027,      "status": "forecast",      "page_url": "https://www.imf.org/external/datamapper/NGDP_RPCH@WEO/WEOWORLD",      "gdp_billions_usd": 135093.196,      "inflation_percent": 4.1,      "gdp_per_person_usd": 16626.826,      "unemployment_percent": null,      "real_gdp_growth_percent": 3.4,      "government_debt_percent_of_gdp": 95.8,      "current_account_balance_percent_of_gdp": 0.7    }  ],  "country": "World",  "weo_edition": "October 2026",  "imf_country_code": "WEOWORLD"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
imf.org/get_economic_forecast
Returns
country code, WEO edition, and per-year GDP, growth, inflation, unemployment, debt and current account

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method imf.org/get_economic_forecast with the inputs above.

Ask your agent

  • What is the projected GDP growth and inflation for Germany from 2024 to 2028?
  • Show me IMF forecast figures for the Euro area for 2025 through 2027, marking which years are estimates.
  • I need World Economic Outlook unemployment and government debt numbers for Japan between 2024 and 2026.
  • Can you pull the current account balance and GDP for Brazil for the years 2025 to 2029 from the IMF?
  • Give me the economic outlook for the World for 2024 to 2027, including inflation and debt, with actual versus forecast labels.
  • Ranks countries by a World Economic Outlook indicator for a chosen year, excluding regional and group totals and countries without a value.

    imf.org/list_country_rankings
  • Looks up a World Bank statistic for a country and returns its annual values and latest value for the selected years.

    data.worldbank.org/get_country_statistic
  • Returns seven key economic indicators for a country from its public Trading Economics overview: GDP growth rate, inflation rate, interest rate, unemployment rate, government debt to GDP, currency and stock market. Indicators absent from the overview are null; the US dollar index is not reported as a USD exchange rate.

    tradingeconomics.com/get_country_overview
  • Gets a public FRED economic series by plain name or series ID, with its observations, latest value and source details.

    fred.stlouisfed.org/get_economic_indicator
  • Gets the latest WHO value of a health statistic for a country, with sex-specific values, the regional value for the same year, and up to 10 years of history.

    who.int/get_country_health_statistics
  • Ranks countries by a World Development Indicators statistic for a given year, or for the latest year with broad country coverage. Regional aggregates and countries without data for that year are left out.

    worldbank.org/compare_countries
  • Compares the latest reported value of an economic indicator across countries in a region, highest first. World includes all listed countries; Australia uses the Oceania region.

    tradingeconomics.com/list_countries_by_indicator
  • Finds the Our World in Data chart that best matches a statistic and returns its country-by-year numeric values, definition and source.

    ourworldindata.org/get_statistic