Kenya

Names and codes: GeoNames, CC BY 4.0 · Boundary: Natural Earth, public domain · Refresh date not recorded · Sources and licenses

Codes and identifiers

ISO alpha-2
KE
ISO alpha-3
KEN
ISO numeric
404
FIPS 10-4
KE
GeoNames ID
192950

Key facts

Capital
Nairobi
Area
582,650 km²
Population
51,393,010
Currency
Shilling (KES)
Calling code
+254
Top-level domain
.ke
Official languages
en-KE,sw-KE

Continent

Name
Africa
Code
AF
In this dataset
58 countries

Africa in the country atlas

Location

Latitude
1
Longitude
38
Min latitude
-4.677504164999959
Min longitude
33.890468384000144
Max latitude
5.030375822607695
Max longitude
41.885019165000074

Boundary

Kenya

The API call behind this page

Request

curl -H "X-API-Key: YOUR_KEY" \
  "https://geosearch.dev/v1/countries/KE?fields=iso_code,iso3_code,name,capital,population,area_sq_km,currency_code,continent_code"

Response

{
  "data": {
    "area_sq_km": 582650,
    "capital": "Nairobi",
    "continent_code": "AF",
    "currency_code": "KES",
    "iso3_code": "KEN",
    "iso_code": "KE",
    "name": "Kenya",
    "population": 51393010
  }
}

Formatted for reading. The API returns the same JSON on one line.

Other endpoints for this country

  • /v1/countries/KE/regions
  • /v1/cities?country=KE
  • /v1/postal-codes?country=KE
  • /v1/timezones?country=KE
Get a free API key

Name in other languages

Arabic
كينيا
Chinese
肯尼亚
English
Kenya
French
Kenya
German
Kenia
Hindi
केन्या
Italian
Kenya
Japanese
ケニア
Korean
케냐
Portuguese
Quênia
Russian
Кения
Spanish
Kenia
Total language variants
142

The API returns any of them with ?lang=.

Time zones

IANA ID UTC offset DST offset
Africa/Nairobi UTC+03:00 UTC+03:00

Postal code format

Format
#####
Pattern
^(\d{5})$

First-level administrative regions

  • Nairobi
  • Kiambu
  • Nakuru
  • Kakamega
  • Bungoma
  • Meru
  • Kilifi
  • Machakos
  • Kisii
  • Mombasa
  • Uasin Gishu
  • Narok
  • Kisumu
  • Kitui
  • Homa Bay
  • Kajiado
  • Migori
  • Murang'A
  • Mandera
  • Siaya
  • Trans Nzoia
  • Makueni
  • Turkana
  • Kericho

24 of 47 shown, largest first

Largest cities

City Population
Nairobi 4,397,073
Kakamega 1,867,579
Mombasa 1,208,333
Nakuru 570,674
Ruiru 490,120
Eldoret 475,716
Kisumu 397,957
Kikuyu 323,881
Thika 251,407
Naivasha 198,444

Coverage in this dataset

Cities
6,957
First-level regions
47
Postal codes
890
Name languages
142
Boundary polygon
Yes

What GeoSearch holds for this country in the current dataset. Counts change with each refresh.

Query this data yourself

The free tier includes every endpoint: 5,000 requests a month, no card.