🇲🇽 Mexico 32 administrative divisions
32 first-level administrative divisions (states, provinces, regions or counties, depending on the country) and 197,706 cities and towns, each with latitude and longitude. Public domain, free to download, no API key.
The country
- ISO 3166-1
- MX · MEX · 484
- Capital
- Mexico City
- Continent
- North America
- Currency
- MXN, peso
- Calling code
- +52
- Internet domain
- .mx
- Divisions
- 32
- Cities and towns
- 197,706
Divisions
The 32 divisions of Mexico
32 of them carry an ISO 3166-2 code. Counts are cities and towns inside each division.
| Division | ISO 3166-2 | Cities and towns | Population |
|---|---|---|---|
| Aguascalientes | MX-AGU | 1,986 | 1,312,544 |
| Baja California | MX-BCN | 4,369 | 3,315,766 |
| Baja California Sur | MX-BCS | 2,542 | 637,026 |
| Campeche | MX-CAM | 2,474 | 928,363 |
| Chiapas | MX-CHP | 17,886 | 5,217,908 |
| Chihuahua | MX-CHH | 12,333 | 3,556,574 |
| Coahuila | MX-COA | 4,726 | 2,954,915 |
| Colima | MX-COL | 1,369 | 731,391 |
| Durango | MX-DUR | 6,187 | 1,754,754 |
| Guanajuato | MX-GUA | 9,145 | 5,853,677 |
| Guerrero | MX-GRO | 7,629 | 3,533,251 |
| Hidalgo | MX-HID | 4,862 | 3,082,841 |
| Jalisco | MX-JAL | 11,978 | 7,844,830 |
| Mexico City | MX-CMX | 627 | 9,209,944 |
| Michoacan | MX-MIC | 9,747 | 4,584,471 |
| Morelos | MX-MOR | 1,601 | 1,777,227 |
| Nayarit | MX-NAY | 2,882 | 1,223,797 |
| Nuevo Leon | MX-NLE | 5,765 | 5,189,970 |
| Oaxaca | MX-OAX | 11,395 | 3,967,889 |
| Puebla | MX-PUE | 6,708 | 6,168,883 |
| Queretaro | MX-QUE | 2,788 | 2,038,372 |
| Quintana Roo | MX-ROO | 1,942 | 1,857,985 |
| San Luis Potosi | MX-SLP | 7,129 | 2,717,820 |
| Sinaloa | MX-SIN | 5,680 | 2,966,700 |
| Sonora | MX-SON | 8,089 | 2,850,330 |
| State of Mexico | MX-MEX | 5,155 | 16,187,608 |
| Tabasco | MX-TAB | 2,438 | 2,402,598 |
| Tamaulipas | MX-TAM | 7,880 | 3,441,698 |
| Tlaxcala | MX-TLA | 1,445 | 1,272,847 |
| Veracruz | MX-VER | 21,118 | 8,112,505 |
| Yucatan | MX-YUC | 2,836 | 2,320,898 |
| Zacatecas | MX-ZAC | 4,993 | 1,690,868 |
A further 2 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 Mexico
curl -s https://api.placedb.org/v1/regions/MX.json
# the cities and towns of one division (id from the file above)
curl -s https://api.placedb.org/v1/cities/MX/<id>.json
No key, no account, no rate limit. The endpoints · try it live.