All datasets

Life expectancy at birth, total (years)

Life expectancy at birth indicates the number of years a newborn infant would live if prevailing patterns of mortality at the time of its birth were to stay the same throughout its life.

Source: World Bank208 rowsUpdated: 9/20/2026License: CC-BY-4.0
life-expectancyhealthworld-bank

Quality

99.7

Attribution

World Bank (https://data.worldbank.org)

Schema

ColumnTypeDescription
country_codestringISO 3166-1 alpha-3 country code (World Bank API field countryiso3code).
country_namestringCountry name as published by the World Bank API.
yearintegerCalendar year of the observation (World Bank API field date).
valuefloatIndicator value for the country and year, as defined by the World Bank indicator (see the dataset description). Missing values are null. (unit: years)

Sample rows

country_codecountry_nameyearvalue
CANCanada200079.1668292682927
CANCanada200179.3980487804878
CANCanada200279.5307317073171
CANCanada200379.7151219512195
CANCanada200479.9921951219512

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/world_bank/life_expectancy" | jq '{title, rows, columns_count, license}'

Python

import requests

ds = requests.get("https://datazimuts.com/v1/datasets/world_bank/life_expectancy").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/world_bank/life_expectancy

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

Life expectancy at birth, total (years)