# Trading Economics API: List countries by indicator

> 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.

Unofficial. Not affiliated with or endorsed by Trading Economics.

- Page: https://fous.com/methods/tradingeconomics.com/list-countries-by-indicator
- Method: `tradingeconomics.com/list_countries_by_indicator`, version 1
- Website: tradingeconomics.com
- Returns: indicator name; per country: latest and previous value, reference period, unit, page link
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `region` | string | no | `"world"` | Region to compare, for example europe. Default: world. One of "world", "europe", "asia", "america", "africa", "australia", "g20". Default "world". |
| `indicator` | string | yes | `"inflation rate"` | Economic indicator in words, for example inflation rate or GDP growth rate. |
| `max_results` | integer | no | `50` | Maximum number of countries to return, for example 50. Default 50. |

## Output

From a run on Oct 31, 2026, shortened. Its input:

```json
{
  "region": "world",
  "indicator": "inflation rate",
  "max_results": 50
}
```

Its output:

```json
{
  "countries": [
    {
      "unit": "%",
      "country": "Venezuela",
      "page_link": "https://tradingeconomics.com/venezuela/inflation-cpi",
      "latest_value": 534,
      "previous_value": 576,
      "reference_period": "Aug 2026"
    },
    {
      "unit": "%",
      "country": "Iran",
      "page_link": "https://tradingeconomics.com/iran/inflation-cpi",
      "latest_value": 87.9,
      "previous_value": 88.6,
      "reference_period": "Jul 2026"
    },
    {
      "unit": "%",
      "country": "South Sudan",
      "page_link": "https://tradingeconomics.com/south-sudan/inflation-cpi",
      "latest_value": 41.6,
      "previous_value": 51.3,
      "reference_period": "Jul 2026"
    }
  ],
  "indicator_name": "Inflation Rate"
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"tradingeconomics.com/list_countries_by_indicator","input":{"region":"world","indicator":"inflation rate","max_results":50}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- Which European countries have the highest unemployment rate right now? Give me the top 15 with the previous reading too.
- Rank G20 economies by their latest GDP growth rate, highest first.
- On tradingeconomics.com, compare the current inflation rate across all African countries and show the reference period for each.
- I need a list of the 10 Asian countries with the highest interest rates at the moment, including units and links to each country page.
- Pull the latest government debt to GDP figures for Oceania countries from Trading Economics, sorted from highest to lowest.

## Input schema

```json
{
  "type": "object",
  "required": [
    "indicator"
  ],
  "properties": {
    "region": {
      "enum": [
        "world",
        "europe",
        "asia",
        "america",
        "africa",
        "australia",
        "g20"
      ],
      "type": "string",
      "default": "world",
      "description": "Region to compare, for example europe. Default: world."
    },
    "indicator": {
      "type": "string",
      "minLength": 1,
      "description": "Economic indicator in words, for example inflation rate or GDP growth rate."
    },
    "max_results": {
      "type": "integer",
      "default": 50,
      "maximum": 200,
      "minimum": 1,
      "description": "Maximum number of countries to return, for example 50."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "indicator_name",
    "countries"
  ],
  "properties": {
    "countries": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "country",
          "latest_value",
          "previous_value",
          "reference_period",
          "unit",
          "page_link"
        ],
        "properties": {
          "unit": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": "string"
          },
          "page_link": {
            "type": [
              "string",
              "null"
            ]
          },
          "latest_value": {
            "type": [
              "number",
              "null"
            ]
          },
          "previous_value": {
            "type": [
              "number",
              "null"
            ]
          },
          "reference_period": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": false
      }
    },
    "indicator_name": {
      "type": "string",
      "description": "Name of the indicator shown by Trading Economics."
    }
  },
  "additionalProperties": false
}
```

## See more

- [Trading Economics API: Get country economic overview](https://fous.com/methods/tradingeconomics.com/get-country-overview.md): 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.
- [Trading Economics API: Get commodity prices](https://fous.com/methods/tradingeconomics.com/get-commodity-prices.md): Gets current commodity prices and price movements from the Trading Economics commodities page, in the page's group order; filter by a commodity name, slug, symbol or group (e.g. copper, energy), or leave blank for all groups including Electricity.
- [IMF API: List country rankings](https://fous.com/methods/imf.org/list-country-rankings.md): Ranks countries by a World Economic Outlook indicator for a chosen year, excluding regional and group totals and countries without a value.
- [World Bank API: Compare countries by a statistic](https://fous.com/methods/worldbank.org/compare-countries.md): 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.
- [World Health Organization API: Get country health statistics](https://fous.com/methods/who.int/get-country-health-statistics.md): 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.
- [Google API: List market indexes](https://fous.com/methods/google.com/list-market-indexes.md): Lists major stock market indexes on Google Finance with their current levels, changes and quote times. Quotes may be delayed, and indexes Google does not show are left out.
- [Google API: Get interest by region](https://fous.com/methods/trends.google.com/get-interest-by-region.md): Shows where a search term has the highest relative Google Trends interest, by country worldwide or by region within a country. Scores run from 0 to 100.
- [FRED API: Get economic indicator](https://fous.com/methods/fred.stlouisfed.org/get-economic-indicator.md): Gets a public FRED economic series by plain name or series ID, with its observations, latest value and source details.
- [All Trading Economics methods](https://fous.com/methods/tradingeconomics.com.md)
