Postal Codes API

Query detailed information about Mexican postal codes with updated SEPOMEX database.

Features

✓ SEPOMEX Database

Official information from Mexican Postal Service regularly updated.

✓ Complete Details

State, municipality, city, neighborhoods, settlement type, and zone (urban/rural).

✓ Geographic Coordinates

Latitude and longitude for integration with maps and geolocation services.

✓ Address Validation

Standardize and normalize addresses to improve deliveries and logistics.

API Endpoint

GET https://api.tlaloc.sh/v1/zip?code={postal_code}

Parameters

Parameter Type Required Description
code string Yes Postal code (5 digits)

Example Request

curl -X GET "https://api.tlaloc.sh/v1/zip?code=64000"

Example Response

[
  {
    "asentamiento": "Monterrey Centro",
    "tipo_asentamiento": "Colonia",
    "municipio": "Monterrey",
    "estado": "Nuevo León",
    "ciudad": "Monterrey",
    "cp_administracion": "64000",
    "clave_estado": "19",
    "cp_oficina_reparto": "64000",
    "clave_tipo_asentamiento": "09",
    "clave_municipio": "039",
    "zona": "Urbano",
    "clave_ciudad": "001",
    "clave_asentamiento": "0001"
  }
]

Use Cases

E-commerce & Logistics

Validate shipping addresses and calculate accurate delivery costs.

Web Forms

Smart autocomplete for addresses in forms.

Geographic Analysis

Market segmentation and demographic analysis by location.

Home Services

Verify coverage and optimize delivery routes.

View Full Documentation Contact Sales