Somalia

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
SO
ISO alpha-3
SOM
ISO numeric
706
FIPS 10-4
SO
GeoNames ID
51537

Key facts

Capital
Mogadishu
Area
637,657 km²
Population
15,008,154
Currency
Shilling (SOS)
Calling code
+252
Top-level domain
.so
Official languages
so-SO,ar-SO,it,en-SO

Continent

Name
Africa
Code
AF
In this dataset
58 countries

Africa in the country atlas

Location

Latitude
6
Longitude
48
Min latitude
-1.6963029929999607
Min longitude
40.96538537600014
Max latitude
11.989118646000065
Max longitude
51.41703781100006

Boundary

Somalia

The API call behind this page

Request

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

Response

{
  "data": {
    "area_sq_km": 637657,
    "capital": "Mogadishu",
    "continent_code": "AF",
    "currency_code": "SOS",
    "iso3_code": "SOM",
    "iso_code": "SO",
    "name": "Somalia",
    "population": 15008154
  }
}

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

Other endpoints for this country

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

Name in other languages

Arabic
الصومال
Chinese
索马里
English
Somalia
French
Somalie
German
Somalia
Hindi
सोमालिया
Italian
Somalia
Japanese
ソマリア
Korean
소말리아
Portuguese
Somália
Russian
Сомали
Spanish
Somalia
Total language variants
187

The API returns any of them with ?lang=.

Time zones

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

Postal code format

Format
@@ #####
Pattern
^([A-Z]{2}\d{5})$

First-level administrative regions

  • Gobolka Hiiraan
  • Gobolka Banaadir
  • Gobolka Bay
  • Gobolka Woqooyi Galbeed
  • Gobolka Shabeellaha Hoose
  • Gobolka Galguduud
  • Gobolka Mudug
  • Gobolka Bari
  • Gobolka Awdal
  • Gobolka Sanaag
  • Gobolka Nugaal
  • Gobolka Shabeellaha Dhexe
  • Gobolka Gedo
  • Gobolka Bakool
  • Gobolka Jubbada Dhexe
  • Gobolka Togdheer
  • Gobolka Sool
  • Gobolka Jubbada Hoose

18 of 18 shown, largest first

Largest cities

City Population
Mogadishu 2,587,183
Borama 597,842
Hargeysa 477,876
Berbera 242,344
Kismayo 234,852
Marka 230,100
El Dibir 200,000
Ruqi 148,702
Baidoa 129,839
Cabudwaaq 120,000

Coverage in this dataset

Cities
4,510
First-level regions
18
Postal codes
0
Name languages
187
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.