API Terms/Geo & Location/ViaCep

ViaCep

viacep.com.br

Provides RESTful lookup of Brazilian postal codes (CEP), returning address information in JSON, JSONP, or XML, plus reverse address search.

The ViaCep API uses none authentication; has free pricing; offers a free tier (Free high-performance webservice, no key required); rate limits: No numeric limit documented; massive use for validating local databases may automatically block access indefinitely. Address search capped at 50 CEPs per result.. Verified 2026-07-12 with per-field source links.

Geo & Location Verified 2026-07-12 medium confidence
Base URL
https://viacep.com.br/ws/
viacep.com.br ↗
Free tier
Free high-performance webservice, no key required
viacep.com.br ↗
Pricing model
free
viacep.com.br ↗
Pricing
Free ('Webservice gratuito'); databases are not sold or distributed
viacep.com.br ↗
Rate limits
No numeric limit documented; massive use for validating local databases may automatically block access indefinitely. Address search capped at 50 CEPs per result.
viacep.com.br ↗
OpenAPI spec
not documented null
no source
MCP server
not documented null
no source