Age bands

Age bands: national and city

Changed on

Age bands 0-14, 15-24, 25-34, 35-44, 45-54, 55-64 and 65+ for one country, as shares (0-1) and counts. national: UN World Population Prospects 2024. cities: Pan Africa Data estimates (WorldPop age shares on UN WUP city populations) for functional cities whose coverage is at least 0.8 in every year 2015-2035; excluded_cities lists this country's cities that fail that rule. The two levels come from different sources. One cell = one band in one year, at $0.25.

get/age/{country_code}

Request

Path parameters

country_codestring required

Query parameters

levelstring

'all', 'national' or 'city'

citystring nullable

One functional_city_id (e.g. KE-FC-NAIROBI); city level only

year_frominteger
year_tointeger

Response

Successful Response

unknown required

Changes