Kenya Data API
Republic of Kenya • Open Civic & Geolocation Dataset

Structured administrative & institutional data for Kenya.

Query all 47 counties, 290 constituencies, 1,450+ wards, GPS centroids, and universities via zero-auth JSON endpoints or browse directly below.

GEThttps://kenyaareadata.vercel.app/api/areas
Free & CORS-enabled• Endpoints
https://kenyaareadata.vercel.app/api/areas?api_key=keyPub1569gsvndc123kg9sjhg&county=Mombasa&constituency=Changamwe&ward=Port+Reitz
Constituencies
Wards
Port Reitz
-4.0330, 39.6126
Kipevu
-4.0255, 39.6215
Airport
-4.0279, 39.6007
Changamwe
-4.0139, 39.6208
Chaani
-4.0342, 39.6314
Port Reitz Ward
Changamwe • Mombasa
-4.0330, 39.6126

API Keys, Endpoints & Filters

All endpoints below have your public free API keys prefilled and ready to test.

Areas API Key
keyPub1569gsvndc123kg9sjhg
Institutions API Key
keypubinsti1569ftyf555cfcfj88
All Areas Endpoint (Full Dataset)
https://kenyaareadata.vercel.app/api/areas?apiKey=keyPub1569gsvndc123kg9sjhg
https://kenyaareadata.vercel.app/api/areas?apiKey=keyPub1569gsvndc123kg9sjhg&county=Machakos&constituency=Machakos+Town
All Institutions Endpoint
https://kenyaareadata.vercel.app/api/institutions?apiKey=keypubinsti1569ftyf555cfcfj88
https://kenyaareadata.vercel.app/api/institutions?apiKey=keypubinsti1569ftyf555cfcfj88&county=Machakos&category=University&type=Public
Code Examples (Areas)
js
const res = await fetch("https://kenyaareadata.vercel.app/api/areas?apiKey=keyPub1569gsvndc123kg9sjhg&county=Machakos&constituency=Machakos+Town");
const data = await res.json();
console.log(data);
WhatsApp