🇲🇽 Mexico · Distrito Federal
Mexico City postal codes
Mexico City, Distrito Federal, has 1,770 postal codes, from 01000 to 05130. Which one applies depends on the street address. Get all of them as JSON from the ZIP and postal code API.
- Postal Codes
- 1,770
- Population
- 12,294,193
- State
- Distrito Federal
- Coordinates
- 19.4285, -99.1277
All Mexico City postal codes
The first 400 of 1,770 codes are shown. The API returns all of them.
No code matches.
Includes codes within a few kilometres of the city centre. Data: GeoNames (CC BY 4.0) and zipcodestack.
Nearby cities
Find every code around Mexico City with the radius search.
Frequently asked questions
What is the postal code of Mexico City?
How many postal codes does Mexico City have?
How do I find the exact postal code for an address in Mexico City?
Postal code API
Mexico City postal codes in your app
zipcodestack looks up, validates and searches postal codes in 182 countries: city, state, coordinates, distances and radius search, as JSON.
/v1/code/city documentation ZIP code API All documentation
1,000 free requests every month. No credit card required.
GET https://api.zipcodestack.com/v1/code/city?city=Mexico+City&country=mx
{
"query": { "city": "Mexico City", "country": "mx" },
"results": ["01000", "…"]
}