Get Positions
Retrieve all available election positions (e.g., President, Governor, Senator, MP, MCA, Women Rep).Response
Array of position objects
Example
cURL
Response
Get Parties
Retrieve all registered political parties.Response
Array of party objects
Example
cURL
Response
Get Candidates by Position and Area
Retrieve candidates for a specific position within a geographical area.Path Parameters
The type of position. Accepted values:
President- National positionGovernor- County-level position (area_id = county_code)Senator- County-level position (area_id = county_code)Mp- Constituency-level position (area_id = constituency_code)WomenRep- Constituency-level position (area_id = constituency_code)Mca- Ward-level position (area_id = ward_code)
The geographical area identifier. The meaning depends on position_type:
- For Governor/Senator: county_code
- For Mp/WomenRep: constituency_code
- For Mca: ward_code
- For President: any value (ignored)
Response
Array of candidate objects
Examples
Get Presidential Candidates
cURL
Get Governor Candidates for County 47
cURL
Get MCA Candidates for Ward 1001
cURL
Response
Position Types
The Kenyan electoral system includes the following positions:National Level
- President - Head of state and government
County Level (47 counties)
- Governor - County executive
- Senator - County representative in the Senate
Constituency Level (290 constituencies)
- Mp - Member of Parliament
- WomenRep - Women’s Representative
Ward Level (1,450 wards)
- Mca - Member of County Assembly