DexBase

BrasilAPI CEP

Street · District · City · State and coordinates

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 20040020 and use the returned fields to identify the right record.

Fields worth checking

  • Street
  • District
  • City
  • State and coordinates

What a CEP can tell you

A CEP is a Brazilian postal code. This lookup can return the CEP, state, city, district, street, and the service that supplied the reference. It organises a postal location; it does not identify a person, a precise residence, or delivery availability.

  • 01001000 is a valid example for inspecting the JSON structure.
  • State and city help confirm whether the result matches the expected area.
  • Street and district can be absent or have different scope depending on the postal code and source.

How to send and check a lookup

Enter the eight CEP digits only. Once a response arrives, compare its city and state with the information already available, and keep the address complement separate. This prevents accepting an address merely because the code produced a response.

  • Remove spaces, dots, and extra characters before building the request.
  • Validate the format before calling the API and handle an error without clearing typed data.
  • Let the user correct street, number, district, and complement.

Where it helps and where it is not enough

The route is useful for forms, record normalisation, data comparison, and Brazilian address prefill. It is not a substitute for delivery validation, precise geocoding, proof of occupancy, or confirmation for legal and financial purposes.

  • Use the response as a fill suggestion, not as proof of residence.
  • Do not infer a flat, house number, or person from a CEP.
  • For critical flows, keep manual confirmation and consult the source documentation.
Real preview of ViaCEP ViaCEP CEP postal code · Street · District · City and state BrasilAPI Bancos ispb: institution identifier · name: shortened name · code: bank code when available · fullName: legal name BrasilAPI DDD State · Associated cities