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'. JSON format, plans from €5/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/code?code=KE&apikey=YOUR_API_KEYcURL example
curl "https://api.countrydataapi.com/v1/states/country?country=Kenya&apikey=YOUR_API_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.