Kenya — Country Data API
Kenya (KE/KEN) geographic data via REST API: capital Nairobi, KES (Kenyan Shilling), Swahili, English, states/provinces, cities, postal codes. Access Kenya country data through CountryDataAPI using ISO code 'KE'. Free to start, JSON format, plans from $9.99/mo.
Country overview
Capital
Nairobi
Currency
KES
Kenyan Shilling
Languages
Swahili, English
Timezone
UTC+3
What data is available for Kenya?
The following geographic datasets are available for Kenya via the REST API.
States & Provinces
All administrative subdivisions for Kenya
Cities
All cities and localities in Kenya
Zip / Postal Codes
Complete postal code dataset for Kenya
API Request Example
Fetch Kenya data using the ISO code KE as the query parameter.
Get country by code
GET https://api.countrydataapi.com/v1/countries/by-code?code=KEAuthorization: Bearer YOUR_API_KEY
cURL example
curl "https://api.countrydataapi.com/v1/states/by-country?country=KE" -H "Authorization: Bearer YOUR_KEY"More Countries in Africa
Access Kenya Data via API
Integrate Kenya geographic data into your application today. Countries, states, cities, and zip codes in one API.

