Search by state, city and street name to find the CEP — when you know the address but not the postal code.
When you know the address but not the CEP, this tool searches the other way around. Type the state, the city and part of the street name, and the ViaCEP API returns every matching address with its CEP. It is the same database as the direct CEP lookup, queried from the address side.
The search requires at least three characters of the street name to avoid returning the entire city. It matches against the beginning of the street name, so "Praça da Sé" finds "Praça da Sé" but not "Rua da Sé". If the street has a common name, add more characters to narrow the results. The API returns up to 50 matches.
Like the direct lookup, the query goes from your browser to ViaCEP's server. Nothing is stored on this page. The results include the full address with neighbourhood and IBGE code, so you can pick the right one and use it directly.
Check the spelling of the city (it must match exactly, with accents) and try a shorter street name. Some rural addresses or very new streets may not be in the database.
It covers the same database as the Correios system, mirrored by ViaCEP. Very small towns may have a single CEP for the entire municipality, and individual streets within them may not appear in the search.
The two-letter state abbreviation — SP for São Paulo, RJ for Rio de Janeiro, MG for Minas Gerais, and so on. All 26 states and the Federal District (DF) are covered.
No — the API requires at least three characters of the street name. For a municipality-level CEP, use the direct lookup tool with the city's general CEP.
Vai.la turns any URL into a short link with click statistics, QR Code and your own biolink.
Vai.la is not responsible for how the tools are used or for decisions made based on their results.