placedb

Countries

๐Ÿ‡ช๐Ÿ‡ท Eritrea 6 administrative divisions

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

The country

ISO 3166-1
ER ยท ERI ยท 232
Capital
Asmara
Continent
Africa
Currency
ERN, nakfa
Calling code
+291
Internet domain
.er
Divisions
6
Cities and towns
114

Divisions

The 6 divisions of Eritrea

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

Division ISO 3166-2 Cities and towns Population
Anseba Region ER-AN 16 โ€“
Debub Region ER-DU 17 โ€“
Gash-Barka Region ER-GB 36 โ€“
Maekel Region ER-MA 9 โ€“
Northern Red Sea Region ER-SK 24 โ€“
Southern Red Sea Region ER-DK 9 โ€“

A further 3 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 Eritrea
curl -s https://api.placedb.org/v1/regions/ER.json

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

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