Open Kenyan Data

Kenya's Data, One Request Away

A free, open REST API for developers building with Kenyan public data β€” counties, constituencies, public holidays, population statistics, and live exchange rates.

curl https://kenya-api.netlify.app/api/v1/counties
47
Counties
290
Constituencies
25+
Holidays
30+
Currencies

What is KenyaAPI?

KenyaAPI is built to make Kenyan public data easy to access for developers. From county boundaries to national holidays, population summaries, and currency rates, every endpoint is designed to be fast, reliable, and free forever.

Use the API for civic apps, education tools, dashboards, and integrations that celebrate Kenyan data without barriers.

βœ“
Open data for counties, constituencies, and public holidays.
βœ“
Developer-friendly JSON responses with consistent error handling.
βœ“
Lightweight Express API with no sign-up required.
βœ“
Built for modern apps, dashboards, and mobile services.

What can you build with it?

Access data quickly using simple REST paths for Kenyan counties, constituencies, national holidays, population statistics, and real-time exchange rates.

GET

/api/v1/counties

Fetch the full list of Kenya's 47 counties.

GET

/api/v1/constituencies

Retrieve all constituencies across Kenya.

GET

/api/v1/holidays

List upcoming and national public holidays.

GET

/api/v1/population

Get high-level national population totals.

GET

/api/v1/exchange-rates/:currency

Lookup KES exchange rates for a specific currency.

GET

/api/v1/counties/:id/constituencies

Fetch all constituencies inside a given county.

GET

/api/v1/ministries

All 22 ministries and Cabinet Secretaries.

EXPLORE KENYA

Kenya by County

Hover over any county to explore live data from KenyaAPI. Click to pin the stats panel.

Loading map data...
πŸ—ΊοΈ

Hover over a county to explore its live data.

Sample Response

{ "success": true, "count": 47, "data": [ { "id": 1, "name": "Mombasa", "headquarters": "Mombasa City", "population": 1208333 } ] }