Population by district, sex and five-year age band, from the official Common Operational Dataset produced by UNFPA with the Ghana Statistical Service. Read the geography before using it: this file covers 216 districts on Ghana's pre-2018 boundaries, not the current 260, and labels them with the old regions — Brong-Ahafo rather than Ahafo, Bono and Bono East. Its districts sum to 29.3 million against the 30.8 million in the companion region dataset, a gap of about 5%, because the two were compiled on different geographies. Use it for district-level shape, and the region dataset for totals. CC BY 4.0. 11664 records.
The newest figures in this dataset are from 2021; the source has published nothing newer. Check the dates before relying on a figure.
Every column this dataset returns, with its type. This is the shape of the API response.
| Field | Type |
|---|---|
| region | TEXT |
| district | TEXT NOT NULL |
| region_pcode | TEXT |
| gender | TEXT |
| age_range | TEXT |
| age_min | INTEGER |
| age_max | INTEGER |
| population | BIGINT |
| reference_year | INTEGER |
| published_by | TEXT |
| source | TEXT |
| regionTEXT | districtTEXT NOT NULL | region pcodeTEXT | genderTEXT | age rangeTEXT | age minINTEGER | age maxINTEGER | populationBIGINT | reference yearINTEGER | published byTEXT | sourceTEXT |
|---|---|---|---|---|---|---|---|---|---|---|
| Ashanti | Adansi North | GH02 | f | all | — | — | 41456 | 2021 | UNFPA | UNFPA and Ghana Statistical Service, via HDX Common Operational Datasets (CC BY 4.0) |
| Ashanti | Adansi North | GH02 | m | all | — | — | 41515 | 2021 | UNFPA | UNFPA and Ghana Statistical Service, via HDX Common Operational Datasets (CC BY 4.0) |
| Ashanti | Adansi North | GH02 | all | all | — | — | 82971 | 2021 | UNFPA | UNFPA and Ghana Statistical Service, via HDX Common Operational Datasets (CC BY 4.0) |
| Ashanti | Adansi North | GH02 | f | 0-4 | 0 | 4 | 5949 | 2021 | UNFPA | UNFPA and Ghana Statistical Service, via HDX Common Operational Datasets (CC BY 4.0) |
| Ashanti | Adansi North | GH02 | m | 0-4 | 0 | 4 | 6050 | 2021 | UNFPA | UNFPA and Ghana Statistical Service, via HDX Common Operational Datasets (CC BY 4.0) |
11,659 more rows — see the plans
See the plansGET connect.apighana.com/api/data/population_by_district
Cite this dataset and the organisation its records come from (UNFPA and Ghana Statistical Service, via HDX Common Operational Datasets). Datasets are updated, so keep the date you accessed it in the citation. These records cover 2021; say which period your figures come from. Last updated from the source on Sep 18, 2026.
API Ghana. (2026). Population by district (Version 1.0) [Data set, compiled from UNFPA and Ghana Statistical Service, via HDX Common Operational Datasets]. Retrieved October 1, 2026, from https://apighana.com/datasets/population-by-district
curl "https://connect.apighana.com/api/data/population_by_district?page=1&limit=20" \ -H "X-API-Key: $APIGHANA_KEY"
const response = await fetch(
"https://connect.apighana.com/api/data/population_by_district?page=1&limit=20",
{ headers: { "X-API-Key": process.env.APIGHANA_KEY } },
);
const { data, meta } = await response.json();import os, requests
response = requests.get(
"https://connect.apighana.com/api/data/population_by_district",
headers={"X-API-Key": os.environ["APIGHANA_KEY"]},
params={"page": 1, "limit": 20},
)
rows = response.json()["data"]