# World Health Organization API: Get country health statistics

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

Unofficial. Not affiliated with or endorsed by World Health Organization.

- Page: https://fous.com/methods/who.int/get-country-health-statistics
- Method: `who.int/get_country_health_statistics`, version 1
- Website: who.int
- Returns: country, indicator, unit, latest year, both sexes/male/female values, region and regional value, history, source 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

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `country` | string | yes | `"Brazil"` | Country name, for example Brazil. |
| `indicator` | string | yes | `"infant mortality"` | Health statistic in plain words, for example infant mortality. |

## Output

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

```json
{
  "country": "Brazil",
  "indicator": "infant mortality"
}
```

Its output:

```json
{
  "unit": "deaths per 1,000 live births",
  "region": "Americas",
  "country": "Brazil",
  "indicator": "Infant mortality rate (probability of dying between birth and age 1 per 1000 live births)",
  "male_value": 13.608203825,
  "latest_year": 2024,
  "source_link": "https://ghoapi.azureedge.net/api/MDG_0000000001?%24filter=SpatialDim+eq+%27BRA%27&%24orderby=TimeDim+desc",
  "female_value": 10.841855023,
  "region_value": 10.911642148,
  "both_sexes_value": 12.260427311,
  "historical_values": [
    {
      "year": 2024,
      "value": 12.260427311
    },
    {
      "year": 2023,
      "value": 12.430646999
    },
    {
      "year": 2022,
      "value": 12.568670991
    }
  ],
  "who_indicator_code": "MDG_0000000001"
}
```

## 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":"who.int/get_country_health_statistics","input":{"country":"Brazil","indicator":"infant mortality"}}'
```

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

- What is the latest infant mortality rate in Brazil, broken down by male and female, and how does it compare to the rest of the Americas region?
- Show me the life expectancy trend for Kenya over the past decade from WHO data.
- I need the most recent adult tobacco use prevalence for India, split by sex, plus the regional average for the same year.
- Pull up WHO figures on maternal mortality ratio for Nigeria with a ten-year history and a link to the source.
- How has the under-five mortality rate changed in Pakistan recently, and what is the Eastern Mediterranean regional value for that year?

## Input schema

```json
{
  "type": "object",
  "required": [
    "country",
    "indicator"
  ],
  "properties": {
    "country": {
      "type": "string",
      "description": "Country name, for example Brazil."
    },
    "indicator": {
      "type": "string",
      "description": "Health statistic in plain words, for example infant mortality."
    }
  },
  "additionalProperties": false
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "country",
    "indicator",
    "unit",
    "latest_year",
    "both_sexes_value",
    "male_value",
    "female_value",
    "region",
    "region_value",
    "historical_values",
    "source_link",
    "who_indicator_code"
  ],
  "properties": {
    "unit": {
      "type": [
        "string",
        "null"
      ],
      "description": "Measurement unit in words, when specified by WHO."
    },
    "region": {
      "type": [
        "string",
        "null"
      ],
      "description": "WHO region name."
    },
    "country": {
      "type": "string",
      "description": "WHO country name."
    },
    "indicator": {
      "type": "string",
      "description": "Official WHO indicator name."
    },
    "male_value": {
      "type": [
        "number",
        "null"
      ]
    },
    "latest_year": {
      "type": "integer"
    },
    "source_link": {
      "type": "string",
      "description": "Link to the WHO source data for this country and indicator."
    },
    "female_value": {
      "type": [
        "number",
        "null"
      ]
    },
    "region_value": {
      "type": [
        "number",
        "null"
      ],
      "description": "Regional value for the latest country year."
    },
    "both_sexes_value": {
      "type": [
        "number",
        "null"
      ]
    },
    "historical_values": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "year",
          "value"
        ],
        "properties": {
          "year": {
            "type": "integer"
          },
          "value": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": false
      }
    },
    "who_indicator_code": {
      "type": "string",
      "x-fous-developer": true
    }
  },
  "additionalProperties": false
}
```

## See more

- [World Health Organization API: Get WHO fact sheet](https://fous.com/methods/who.int/get-fact-sheet.md): Finds a WHO fact sheet by health topic in the WHO fact-sheet directory. Returns its key facts, overview and sections in page order.
- [World Health Organization API: List outbreak news](https://fous.com/methods/who.int/list-outbreak-news.md): Lists the latest WHO Disease Outbreak News reports, newest first, optionally filtered by disease (title) and country (report tags).
- [World Bank API: Get country statistic](https://fous.com/methods/data.worldbank.org/get-country-statistic.md): Looks up a World Bank statistic for a country and returns its annual values and latest value for the selected years.
- [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.
- [Our World in Data API: Get statistic](https://fous.com/methods/ourworldindata.org/get-statistic.md): Finds the Our World in Data chart that best matches a statistic and returns its country-by-year numeric values, definition and source.
- [Trading Economics API: List countries by indicator](https://fous.com/methods/tradingeconomics.com/list-countries-by-indicator.md): 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.
- [European Union API: Get Eurostat statistic for a country](https://fous.com/methods/ec.europa.eu/get-statistic.md): Looks up an official Eurostat statistic for an EU or EEA country and the EU27 figure for the same period. Quarterly and half-yearly series return the reporting period that contains a requested month.
- [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.
- [All World Health Organization methods](https://fous.com/methods/who.int.md)
