The administrative capital of each Ghanaian region and district with its coordinates, from OCHA's Common Operational Dataset for administrative boundaries. CC BY-IGO. 177 records.
Every column this dataset returns, with its type. This is the shape of the API response.
| Field | Type |
|---|---|
| name | TEXT NOT NULL |
| admin_level | INTEGER |
| pcode | TEXT |
| latitude | DECIMAL(9,6) |
| longitude | DECIMAL(9,6) |
| source | TEXT |
| nameTEXT NOT NULL | admin levelINTEGER | pcodeTEXT | latitudeDECIMAL(9,6) | longitudeDECIMAL(9,6) | sourceTEXT |
|---|---|---|---|---|---|
| Aberem | 2 | — | 6.3 | -0.983333 | OCHA Common Operational Dataset, administrative boundaries (CC BY-IGO) |
| Abetife | 2 | — | 6.666667 | -0.75 | OCHA Common Operational Dataset, administrative boundaries (CC BY-IGO) |
| Abokobi | 2 | — | 5.733333 | -0.2 | OCHA Common Operational Dataset, administrative boundaries (CC BY-IGO) |
| Abura Dunkwa | 2 | — | 5.333333 | -1.166667 | OCHA Common Operational Dataset, administrative boundaries (CC BY-IGO) |
| Accra | 0 | — | 5.55 | -0.216667 | OCHA Common Operational Dataset, administrative boundaries (CC BY-IGO) |
172 more rows — see the plans
Get an API keyGET connect.apighana.com/api/data/district_capitals
Cite this dataset and the organisation its records come from (OCHA Common Operational Dataset, administrative boundaries). Datasets are updated, so keep the date you accessed it in the citation. Last updated from the source on Sep 18, 2026.
API Ghana. (2026). District capitals (Version 1.0) [Data set, compiled from OCHA Common Operational Dataset, administrative boundaries]. Retrieved October 1, 2026, from https://apighana.com/datasets/district-capitals
curl "https://connect.apighana.com/api/data/district_capitals?page=1&limit=20" \ -H "X-API-Key: $APIGHANA_KEY"
const response = await fetch(
"https://connect.apighana.com/api/data/district_capitals?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/district_capitals",
headers={"X-API-Key": os.environ["APIGHANA_KEY"]},
params={"page": 1, "limit": 20},
)
rows = response.json()["data"]