Database with all postal codes of Correios (Brazilian Post Office). The database covers all addresses, streets, neighborhoods, towns, villages, cities, and states of Brazil. All data is available to download or consume via APIs (GraphQL or REST).
The Brazil postal code list is a very detailed database with data on the postal codes of Correios do Brasil (Brazilian Post Office). The database provides the zip code Brazil data as follows:
The Brazil Zip Code database was specially designed to meet the needs of the developer. A developer can perform the following actions with the database:
Here are some ways in which the developer can benefit from using the Brazil Zip Code number service:
Here are some easy to understand examples of the type of information you can retrieve using this database:
Use the web-console link below to obtain an address from a specific zip code. For example, if you enter zip code 01321001 you will get the following answer:
Please check the open source project at Github App Brazil Zip Code
All 27 states of Brazil are part of this database.
This data set provides the following information for each CEP:
The Brazilian Zip Code have the following format:
#####-### , for example, 05713-570
On the Zip Code Brasil dataset, we will show postal codes under the following format:
########, for example, 05713570
The Brazil Postal Code Format is the same for all states and regions and each Brazilian ZIP Code number has a meaning. From left to right, the numbers indicate the region, sub-region, sector, sub-sector, sub-sector divider and distribution identifiers (last three digits). Brazil is divided into ten postal regions, which make up the first of the ZIP code numbers:
In the case of ZIP Code 05713-570, for example, we can see that the code refers to a Greater São Paulo, since the first digit of the same begins with the number 0. If we analyze each of the other digits according to the criteria established, we will conclude that the ZIP Code refers to the city of Sao Paulo. The last three digits of the code refer to the individual identification of localities, places, special codes and postal units.
I will list some query examples you can perform using our API console.
Example 1: What is the Sao Paulo Zip Code?
The query will return 01000-000.