I Built a Free REST API for Kenya's 47 Counties, 290 Constituencies, and 1,450 Wards
Mipaka API — a free REST API for administrative divisions across 7 East African countries. No more hardcoding county arrays. The Problem Every African Developer Knows You're building a form. It has...
Source: DEV Community
Mipaka API — a free REST API for administrative divisions across 7 East African countries. No more hardcoding county arrays. The Problem Every African Developer Knows You're building a form. It has a location dropdown. You need Kenya's 47 counties, then the constituencies under each county, then the wards. So you do what we all do: const counties = ["Baringo", "Bomet", "Bungoma", "Busia" /* ...43 more */]; Then the client asks: "Can you add Uganda too?" And Tanzania. And Rwanda. Each country has completely different administrative structures — counties vs regions vs provinces, wards vs sub-counties vs cells. You end up with a mess of hardcoded arrays, outdated data, and no parent-child relationships. I built Mipaka API to solve this. What Is Mipaka? Mipaka (Swahili for "boundaries") is a free REST API that gives you normalized access to administrative divisions across 7 East African countries — through a single consistent interface. 103,194 divisions across 7 countries with full parent