placedb

Countries

🇳🇮 Nicaragua 18 administrative divisions

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

The country

ISO 3166-1
NI · NIC · 558
Capital
Managua
Continent
North America
Currency
NIO, Nicaraguan cordoba
Calling code
+505
Internet domain
.ni
Divisions
18
Cities and towns
3,237

Divisions

The 18 divisions of Nicaragua

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

Division ISO 3166-2 Cities and towns Population
Boaco Department NI-BO 143 150,636
Carazo Department NI-CA 212 166,073
Chinandega Department NI-CI 283 378,970
Chontales Department NI-CO 128 153,932
Esteli Department NI-ES 107 201,548
Granada Department NI-GR 185 168,186
Jinotega Department NI-JI 177 331,335
Leon Department NI-LE 290 355,779
Madriz Department NI-MD 91 132,459
Managua Department NI-MN 202 1,262,978
Masaya Department NI-MS 101 289,988
Matagalpa Department NI-MT 323 469,172
North Caribbean Coast Autonomous Region NI-AN 324 314,130
Nueva Segovia Department NI-NS 122 208,523
Rio San Juan Department NI-SJ 91 95,596
Rivas Department NI-RI 256 156,283
South Caribbean Coast Autonomous Region NI-AS 202 306,510
Zelaya Central NI-ZC 0 253,585

Get it

Both files, in one request each

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

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

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