Kenya — Country Data API

ISO-2: KE ISO-3: KEN Africa KES — Kenyan Shilling

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

Get all states

Cities

All cities and localities in Kenya

Get all cities

Zip / Postal Codes

Complete postal code dataset for Kenya

Get zip codes

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=KE

Authorization: Bearer YOUR_API_KEY

cURL example

curl "https://api.countrydataapi.com/v1/states/by-country?country=KE"   -H "Authorization: Bearer YOUR_KEY"

Access Kenya Data via API

Integrate Kenya geographic data into your application today. Countries, states, cities, and zip codes in one API.