ViaCEP API

Free public API for looking up Brazilian postal codes (CEPs), returning full address details for a given CEP and supporting reverse lookup by state, city, and street name.

Claim this API

Are you the operator of ViaCEP API? Submit a claim to establish contact with us.

Report an Issue

Found something wrong with ViaCEP API? Let us know about broken links, changed auth, deprecated endpoints, or other issues.

Slug: com
Key: com.br:viacep-api
Base URL: https://viacep.com.br/ws
Auth: none
Endpoints: 2
Reachable: unknown
CORS: unknown
Tier: verified

Links

Homepage: https://viacep.com.br/
API Base: https://viacep.com.br/ws

Topics

GEOLOCATION, OPEN_DATA

Endpoints (2)

Path Summary Response Auth
{cep}/json Lookup address by CEP application/json none
{uf}/{cidade}/{logradouro}/json Search CEPs by address application/json none