placedb

Countries

🇳🇮 Nicaragua 18 administrative divisions

18 first-level administrative divisions (states, provinces, regions or counties, depending on the country) and 3,179 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,179

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 140 150,636
Carazo Department NI-CA 211 166,073
Chinandega Department NI-CI 279 378,970
Chontales Department NI-CO 126 153,932
Esteli Department NI-ES 107 201,548
Granada Department NI-GR 184 168,186
Jinotega Department NI-JI 178 331,335
Leon Department NI-LE 287 355,779
Madriz Department NI-MD 90 132,459
Managua Department NI-MN 202 1,262,978
Masaya Department NI-MS 101 289,988
Matagalpa Department NI-MT 324 469,172
North Caribbean Coast Autonomous Region NI-AN 323 314,130
Nueva Segovia Department NI-NS 122 208,523
Rio San Juan Department NI-SJ 91 95,596
Rivas Department NI-RI 210 156,283
South Caribbean Coast Autonomous Region NI-AS 204 306,510
Zelaya Central Department 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.