placedb

Countries

🇸🇳 Senegal 14 administrative divisions

14 first-level administrative divisions — states, provinces, regions or counties, depending on the country — and 1,171 cities and towns, each with latitude and longitude. Public domain, free to download, no API key.

The country

ISO 3166-1
SN · SEN · 686
Capital
Dakar
Continent
Africa
Currency
XOF — West African CFA franc
Calling code
+221
Internet domain
.sn
Divisions
14
Cities and towns
1,171

Divisions

The 14 divisions of Senegal

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

Division ISO 3166-2 Cities and towns Population
Ziguinchor Region SN-ZG 483 612,343
Thies Region SN-TH 218 2,467,523
Dakar SN-DK 85 3,896,564
Tambacounda Region SN-TC 59 988,193
Diourbel Region SN-DB 53 2,080,811
Fatick SN-FK 48 908,858
Kedougou Region SN-KE 46 245,288
Saint-Louis SN-SL 36 1,204,863
Kaolack SN-KL 33 1,338,671
Louga SN-LG 32 1,127,119
Matam SN-MT 28 833,657
Kolda SN-KD 19 916,513
Sedhiou SN-SE 18 590,784
Kaffrine SN-KA 12 821,287

A further 1 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 Senegal
curl -s https://api.placedb.org/v1/regions/SN.json

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

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