Mexico SEPOMEX Zip Codes API

API

Free RESTful API for Mexico's SEPOMEX postal code data

Visit Website

Overview

This RESTful API provides access to Mexico's SEPOMEX postal code data, enabling zip code lookup and location detail retrieval. Endpoints support GET requests for valid Mexican zip codes, returning structured JSON with state, municipality, settlement type, neighborhood, and street info. Use cases include e-commerce address validation, logistics route optimization, and auto-filling address fields for Mexican users. It requires no authentication, uses open-source SEPOMEX data, and integrates easily into web/mobile apps.

Example Integration (JavaScript)

script.js JS

fetch('https://github.com/IcaliaLabs/sepomex')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful
  • JSON support
  • No authentication
  • SEPOMEX official data
  • Zip code lookup
  • Location details

Frequently Asked Questions

? Is the Mexico SEPOMEX Zip Codes API free?

Yes, it’s completely free and open-source with no paid tiers.

? Does it require an API Key?

No, authentication is not needed to access any endpoints.

? What response format does it use?

All responses are in JSON format, with structured postal and location data.

? Can I get location details from a zip code?

Yes—lookup any valid Mexican zip code to get state, city, neighborhood, and more.

Top Alternatives

Google Geocoding API Search Google
OpenCage Geocoder Search Google
Mapbox Geocoding API Search Google

People Also Ask about Mexico SEPOMEX Zip Codes API

Mexico SEPOMEX Zip Codes API vs Google Geocoding APIMexico SEPOMEX Zip Codes API vs GeocodioMexico SEPOMEX Zip Codes API vs OpenCage GeocoderMexico SEPOMEX Zip Codes API vs Mapbox Geocoding API Mexico SEPOMEX Zip Codes API 2025 review

Tool Info

Pricing Free
Category Geocoding
Platform Public API

Pros

  • Free & open-source
  • Easy integration
  • Accurate Mexican postal data
  • No API key needed
  • Structured responses

Cons

  • No official SLA
  • Limited to Mexico only
  • Community-maintained
  • May lack real-time updates

More Geocoding Tools