All datasets

Life expectancy at birth (years)

Life expectancy at birth (years) Source: WHO Global Health Observatory (indicator WHOSIS_000001). Rows are country x year; sex-disaggregated rows carry a sex label.

Source: WHO Global Health Observatory12,210 rowsUpdated: 9/21/2026
life-expectancymortalitywho

Quality

97

Attribution

World Health Organization (WHO)

Schema

ColumnTypeDescription
country_codestringCountry code (WHO GHO API field SpatialDim, country-level rows only).
country_namestringCountry name from the WHO GHO COUNTRY dimension labels.
yearintegerYear of observation (WHO GHO API field TimeDim).
sexstringSex disaggregation label (WHO GHO API dimension Dim1). Only present when the indicator is published sex-disaggregated.
valuefloatEstimate value for the country, year (and sex where present), as defined by the WHO GHO indicator (see the dataset description; WHO GHO API field NumericValue).
lowfloatLower bound of the published uncertainty interval (WHO GHO API field Low). Only present when the indicator publishes uncertainty intervals.
highfloatUpper bound of the published uncertainty interval (WHO GHO API field High). Only present when the indicator publishes uncertainty intervals.

Sample rows

country_codecountry_nameyearsexvaluelowhigh
AFGAFG2000SEX_BTSX53.8233264152.7519231354.92601533
AFGAFG2000SEX_FMLE54.4295789553.4147144255.62508896
AFGAFG2000SEX_MLE53.2499907852.2824513754.25951111
AFGAFG2001SEX_BTSX53.9101876152.8572503154.84655332
AFGAFG2001SEX_FMLE54.5700586353.5601496455.62005472

Use with an LLM

Point any LLM at the metadata endpoint — the documentation above is machine-readable too (JSON-LD + Croissant).

cURL

curl "https://datazimuts.com/v1/datasets/who_gho/life_expectancy_at_birth" | jq '{title, rows, columns_count, license}'

Python

import requests

ds = requests.get("https://datazimuts.com/v1/datasets/who_gho/life_expectancy_at_birth").json()
print(ds["title"], ds["rows"], "rows")

# Sample rows for an LLM context window
for row in ds.get("sample_rows", [])[:5]:
    print(row)

API endpoint: https://datazimuts.com/v1/datasets/who_gho/life_expectancy_at_birth

Tip: fetch /llms.txt for the full machine-readable catalog.