🇵🇪 Peru 25 administrative divisions
25 first-level administrative divisions — states, provinces, regions or counties, depending on the country — and 6,848 cities and towns, each with latitude and longitude. Public domain, free to download, no API key.
The country
- ISO 3166-1
- PE · PER · 604
- Capital
- Lima
- Continent
- South America
- Currency
- PEN — Nuevo sol
- Calling code
- +51
- Internet domain
- .pe
- Divisions
- 25
- Cities and towns
- 6,848
Divisions
The 25 divisions of Peru
25 of them carry an ISO 3166-2 code. Counts are cities and towns inside each division.
| Division | ISO 3166-2 | Cities and towns | Population |
|---|---|---|---|
| Piura Department | PE-PIU | 2,760 | 1,856,809 |
| Lima Department | PE-LIM | 1,729 | 9,485,405 |
| Ancash Department | PE-ANC | 205 | 1,063,459 |
| Cusco Department | PE-CUS | 198 | 1,205,527 |
| Tumbes Department | PE-TUM | 190 | 224,863 |
| Huanuco Department | PE-HUC | 169 | 721,047 |
| Ayacucho Department | PE-AYA | 147 | 616,176 |
| Cajamarca Department | PE-CAJ | 146 | 1,341,012 |
| Junin Department | PE-JUN | 142 | 1,246,038 |
| Arequipa Department | PE-ARE | 131 | 1,382,730 |
| Puno Department | PE-PUN | 130 | 1,172,697 |
| La Libertad Department | PE-LAL | 118 | 1,778,080 |
| Huancavelica Department | PE-HUV | 117 | 347,639 |
| Amazonas Department | PE-AMA | 107 | 379,384 |
| Apurimac Department | PE-APU | 97 | 404,190 |
| Loreto Department | PE-LOR | 92 | 883,510 |
| San Martin Department | PE-SAM | 87 | 813,381 |
| Lambayeque Department | PE-LAM | 59 | 1,197,260 |
| Ica Department | PE-ICA | 51 | 850,765 |
| Tacna Department | PE-TAC | 49 | 329,332 |
| Ucayali Department | PE-UCA | 35 | 496,459 |
| Pasco Department | PE-PAS | 34 | 254,065 |
| Madre de Dios Department | PE-MDD | 30 | 141,070 |
| Moquegua Department | PE-MOQ | 23 | 174,863 |
| Callao Region | PE-CAL | 1 | — |
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 Peru
curl -s https://api.placedb.org/v1/regions/PE.json
# the cities and towns of one division (id from the file above)
curl -s https://api.placedb.org/v1/cities/PE/<id>.json
No key, no account, no rate limit. The endpoints · try it live.