Geocoding · head-to-head
GeoJS vs ViaCep
GeoJS
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.
ViaCep
ViaCEP is a free, high-availability web service for looking up Brazilian postal codes (CEP): given an 8-digit CEP it returns street, neighborhood, city, state, and IBGE/DDD codes, with a reverse address-to-CEP search available too. It's run by WBX and widely embedded across Brazilian dev tooling — its own docs warn that heavy bulk-validation traffic against it can trigger an automatic, indefinite IP block.
| GeoJS | ViaCep | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | JSON, JSONP | JSON, XML |
| CORS | yes | yes |
| HTTPS | Yes | Yes |