placedb

Countries

πŸ‡ΌπŸ‡Έ Samoa 11 administrative divisions

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

The country

ISO 3166-1
WS Β· WSM Β· 882
Capital
Apia
Continent
Oceania
Currency
WST, Samoan tala
Calling code
+685
Internet domain
.ws
Divisions
11
Cities and towns
262

Divisions

The 11 divisions of Samoa

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

Division ISO 3166-2 Cities and towns Population
A'ana WS-AA 25 21,769
Aiga-i-le-Tai WS-AL 3 –
Atua WS-AT 27 –
Fa'asaleleaga WS-FA 31 –
Gaga'emauga WS-GE 10 –
Gaga'ifomauga WS-GI 12 –
Palauli WS-PA 15 –
Satupa'itea WS-SA 9 –
Tuamasaga WS-TU 51 89,582
Va'a-o-Fonoti WS-VF 3 –
Vaisigano WS-VS 10 –

A further 66 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 Samoa
curl -s https://api.placedb.org/v1/regions/WS.json

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

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