Open data
Download government data in open formats. Use it to build tools, do research or check facts.
What data is available
We provide structured datasets about the Kenyan government. All data is compiled from official public records.
- Counties
- 47
- Wards
- 1,450
- Government institutions
- 867
- Polling stations (2022)
- 45,931
- Current leaders
- 371
Data last refreshed: 17 July 2026.
Where the data comes from
The data on this page comes from official Kenyan government sources. It is information that is already in the public domain. We have collected it and made it available in convenient, structured formats.
Our sources include:
- the Independent Electoral and Boundaries Commission (IEBC) — for polling stations, wards and voter registration data
- the Kenya Gazette — for institutional records and leadership appointments
- the Commission on Revenue Allocation (CRA) — for county data and population figures
- Parliamentary records (Hansard) — for leadership and institutional information
- official government websites and press releases
Using the data
Because this data comes from public government sources, you are free to use it. You can:
- download and share it
- use it in your own research or analysis
- build applications or tools with it
- publish it in reports or articles
We ask that you:
- credit CitizenGuide.KE as the source of the compilation
- where possible, also credit the original government source (for example, "Data from IEBC via CitizenGuide.KE")
- do not present the data as your own original research
No registration or payment is required.
Available datasets
Each dataset is available as CSV or JSON. Use the links below to download.
Counties of Kenya
All 47 counties with names, codes, population, area and current leaders.
Wards, constituencies and counties
All wards linked to their constituencies and counties, with 2022 voter registration numbers.
You can filter the data by adding parameters to the URL. For example, ?county=Nairobi or ?constituency=Westlands.
Government institutions and agencies
National and county government institutions, including their type, level and arm of government.
Polling stations (IEBC 2022)
All polling stations with codes, names, ward locations and registered voter numbers.
Source: Independent Electoral and Boundaries Commission (IEBC).
National and county leaders
Current governors, members of parliament, senators, women representatives and other office holders.
Programmatic access
All datasets are also available through a simple API. No API key is required.
The full catalogue of available endpoints is at:
https://citizenguide.ke/api/data/datasets
Example requests:
GET /api/data/exports/wards— returns all wards as CSVGET /api/data/exports/wards?format=json— returns all wards as JSONGET /api/data/exports/wards?county=Nairobi— returns wards in Nairobi CountyGET /api/data/exports/institutions?format=json— returns all institutions as JSON
Data documentation
Field definitions for the main datasets.
Wards dataset fields
- ward_code — official IEBC code
- name — ward name
- constituency_name — the constituency the ward belongs to
- county_name — the county the ward belongs to
- registered_voters_2022 — number of registered voters as of 2022
Counties dataset fields
- code — official county code
- name — county name
- region — the broader region (for example, Rift Valley, Coast)
- headquarters — the county headquarters town
- population — population based on the most recent census
- area_km2 — area in square kilometres
- governor_name — current governor
- senator_name — current senator
Institutions dataset fields
- name — full official name of the institution
- short_name — abbreviation or acronym (if applicable)
- institution_type — for example, Ministry, State Department, Commission
- arm_of_government — Executive, Judiciary, Parliament or Independent
- government_level — National or County
Feedback and corrections
If you find an error in the data, or if you have suggestions for additional datasets, please contact us.