placedb

Countries

πŸ‡ΈπŸ‡΄ Somalia 17 administrative divisions

17 first-level administrative divisions (states, provinces, regions or counties, depending on the country) and 490 cities and towns, each with latitude and longitude. Public domain, free to download, no API key.

The country

ISO 3166-1
SO Β· SOM Β· 706
Capital
Mogadishu
Continent
Africa
Currency
SOS, Somali shilling
Calling code
+252
Internet domain
.so
Divisions
17
Cities and towns
490

Divisions

The 17 divisions of Somalia

17 of them carry an ISO 3166-2 code. Counts are cities and towns inside each division.

Division ISO 3166-2 Cities and towns Population
Awdal Region SO-AW 22 1,450,000
Bakool SO-BK 6 –
Banaadir SO-BN 3 1,650,227
Bari SO-BR 53 –
Bay SO-BY 13 –
Galguduud SO-GA 24 –
Gedo SO-GE 30 –
Hiran SO-HI 43 –
Lower Juba SO-JH 20 643
Lower Shebelle SO-SH 26 –
Maroodi Jeeh SO-WO 15 1,242,003
Middle Juba SO-JD 6 –
Middle Shebelle SO-SD 13 514,900
Mudug SO-MU 71 –
Nugal SO-NU 35 –
Sool SO-SO 21 115,306
Togdheer Region SO-TO 40 941,832

A further 49 places could not be matched to a division and are listed separately in the API as "unassigned": true.

Get it

Both files, in one request each

# every division of Somalia
curl -s https://api.placedb.org/v1/regions/SO.json

# the cities and towns of one division (id from the file above)
curl -s https://api.placedb.org/v1/cities/SO/<id>.json

No key, no account, no rate limit. The endpoints Β· try it live.