Endpoints
Ungrouped Endpoints 3
What is the Mexico ZIP Codes API?
Retrieve information of a zip code and search valid zip codes
Mexico ZIP Codes API is available on the JoJ API marketplace. Subscribe with a single JoJ API key, call it through one gateway, and pay from one wallet — no separate account or contract with the provider.
Mexico ZIP Codes API endpoints
- GET
/buscar/Search zip codes
Search for valid zip codes with starting digits
- GET
/buscar_por_ubicacionSearch zip code by Colonia (optional), Municipio, and Estado
Get all the zip codes for a given Colonia (optional), Municipio, and Estado
- GET
/codigo_postal/{zip_code}Zip Code Information
Retrieves the information of a particular zip code
Frequently asked questions about Mexico ZIP Codes API
What data do I get for a zip code?
Given a 5-digit Mexican codigo_postal, the API returns its estado, municipio, and the full list of colonias for that code.
Can I search without knowing the full zip code?
Yes. You can search by partial code (e.g. 6641 returns all codes starting with those digits) with an optional limit, or do a reverse lookup by estado + municipio + optional colonia. Location search is accent- and case-insensitive.
Where does the data come from and how current is it?
Data is sourced from Correos de México (SEPOMEX) and updated weekly, covering all Mexican postal codes.