Geocoding · head-to-head
GeoJS vs PostalCodes
GeoJS is a free, no-signup IP geolocation lookup that returns country, city, ASN, and timezone data as JSON or JSONP over HTTPS with open CORS. It's built for simple client-side and ChatOps integrations rather than high-volume commercial traffic, and has no paid tier.
Postalcodes.info is a free postal-code reference for 123 countries and more than 1.8 million records. No key is needed. The JSON endpoint /api/v1/postal-code/{country}/{code} returns the place name, region and coordinates for one code. Per-country exports come as CSV, JSON or XLSX. The JSON API sends Access-Control-Allow-Origin: *, so a browser can call it directly. The /search autocomplete endpoint does not send that header.
| GeoJS | PostalCodes | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | JSON, JSONP | JSON, CSV, XLSX |
| CORS | yes | yes |
| HTTPS | Yes | Yes |
PostalCodes supports 3 response formats, while GeoJS offers fewer — pick PostalCodes for more integration flexibility.