Mexico
Names and codes: GeoNames, CC BY 4.0 · Boundary: Natural Earth, public domain · Refresh date not recorded · Sources and licenses
Codes and identifiers
- ISO alpha-2
- MX
- ISO alpha-3
- MEX
- ISO numeric
- 484
- FIPS 10-4
- MX
- GeoNames ID
- 3996063
Key facts
- Capital
- Mexico City
- Area
- 1,972,550 km²
- Population
- 126,190,788
- Currency
- Peso (MXN)
- Calling code
- +52
- Top-level domain
- .mx
- Official languages
- es-MX
Continent
- Name
- North America
- Code
- NA
- In this dataset
- 42 countries
Location
- Latitude
- 23
- Longitude
- -102
- Min latitude
- 14.546279476000095
- Min longitude
- -118.36880422899992
- Max latitude
- 32.71283640500009
- Max longitude
- -86.70059160099993
Boundary
The API call behind this page
Request
curl -H "X-API-Key: YOUR_KEY" \
"https://geosearch.dev/v1/countries/MX?fields=iso_code,iso3_code,name,capital,population,area_sq_km,currency_code,continent_code"
Response
{
"data": {
"area_sq_km": 1972550,
"capital": "Mexico City",
"continent_code": "NA",
"currency_code": "MXN",
"iso3_code": "MEX",
"iso_code": "MX",
"name": "Mexico",
"population": 126190788
}
}
Formatted for reading. The API returns the same JSON on one line.
Other endpoints for this country
/v1/countries/MX/regions/v1/cities?country=MX/v1/postal-codes?country=MX/v1/timezones?country=MX
Name in other languages
- Arabic
- المكسيك
- Chinese
- 墨西哥
- English
- Mexico
- French
- Mexique
- German
- Mexiko
- Hindi
- मैक्सिको
- Italian
- Messico
- Japanese
- メキシコ
- Korean
- 멕시코
- Portuguese
- México
- Russian
- Мексика
- Spanish
- México
- Total language variants
- 229
The API returns any of them with ?lang=.
Time zones
| IANA ID | UTC offset | DST offset |
|---|---|---|
| America/Bahia_Banderas | UTC-06:00 | UTC-06:00 |
| America/Cancun | UTC-05:00 | UTC-05:00 |
| America/Chihuahua | UTC-06:00 | UTC-06:00 |
| America/Ciudad_Juarez | UTC-07:00 | UTC-06:00 |
| America/Hermosillo | UTC-07:00 | UTC-07:00 |
| America/Matamoros | UTC-06:00 | UTC-05:00 |
| America/Mazatlan | UTC-07:00 | UTC-07:00 |
| America/Merida | UTC-06:00 | UTC-06:00 |
| America/Mexico_City | UTC-06:00 | UTC-06:00 |
| America/Monterrey | UTC-06:00 | UTC-06:00 |
| America/Ojinaga | UTC-06:00 | UTC-05:00 |
| America/Tijuana | UTC-08:00 | UTC-07:00 |
Postal code format
- Format
- #####
- Pattern
^(\d{5})$
First-level administrative regions
- Estado de México
- Ciudad de México
- Estado de Jalisco
- Estado de Veracruz-Llave
- Estado de Puebla
- Estado de Guanajuato
- Estado de Nuevo León
- Estado de Chiapas
- Estado de Michoacán de Ocampo
- Estado de Oaxaca
- Estado de Baja California
- Estado de Chihuahua
- Estado de Guerrero
- Estado de Tamaulipas
- Estado de Coahuila de Zaragoza
- Estado de Sinaloa
- Estado de Sonora
- Estado de San Luis Potosí
- Estado de Tabasco
- Estado de Querétaro
- Estado de Yucatán
- Estado de Morelos
- Estado de Quintana Roo
- Estado de Durango
24 of 32 shown, largest first
Largest cities
| City | Population |
|---|---|
| Mexico City | 12,294,193 |
| Tijuana | 1,922,523 |
| Iztapalapa | 1,835,486 |
| Puebla | 1,692,181 |
| Ecatepec de Morelos | 1,645,352 |
| Santiago de Querétaro | 1,594,212 |
| León de los Aldama | 1,579,803 |
| Ciudad Juárez | 1,512,450 |
| Zapopan | 1,476,491 |
| Guadalajara | 1,385,629 |
Coverage in this dataset
- Cities
- 305,787
- First-level regions
- 32
- Postal codes
- 144,655
- Name languages
- 229
- Boundary polygon
- Yes
What GeoSearch holds for this country in the current dataset. Counts change with each refresh.
Query this data yourself
The free tier includes every endpoint: 5,000 requests a month, no card.