DexBase
Real preview of ViaCEP

ViaCEP

CEP postal code · Street · District · City and state

Live lookup

Type a real query, scan the cards and confirm the key details before opening the full source.

Quick examples

What the response contains

Try 01001000, 30140071, and 69900970 and use the returned fields to identify the right record.

Fields worth checking

  • CEP postal code
  • Street
  • District
  • City and state

Query eight digits and treat an address as reference

The endpoint accepts an eight-digit Brazilian CEP and can return cep, logradouro, complemento, bairro, localidade, uf, estado, região, ibge, and ddd. A CEP that is not found returns erro: true; handle that result before filling a form. The response can suggest or check registration data, but does not confirm a house number, recipient, delivery coverage, or exact position.

  • Remove punctuation and validate eight digits before querying.
  • Do not fill fields automatically when erro is returned.
  • Ask the recipient to confirm the full address.
BrasilAPI CEP Street · District · City · State and coordinates BrasilAPI Bancos ispb: institution identifier · name: shortened name · code: bank code when available · fullName: legal name BrasilAPI DDD State · Associated cities