CEPAberto 4.0.1012
See the version list below for details.
dotnet add package CEPAberto --version 4.0.1012
NuGet\Install-Package CEPAberto -Version 4.0.1012
<PackageReference Include="CEPAberto" Version="4.0.1012" />
<PackageVersion Include="CEPAberto" Version="4.0.1012" />
<PackageReference Include="CEPAberto" />
paket add CEPAberto --version 4.0.1012
#r "nuget: CEPAberto, 4.0.1012"
#:package CEPAberto@4.0.1012
#addin nuget:?package=CEPAberto&version=4.0.1012
#tool nuget:?package=CEPAberto&version=4.0.1012
CEP Aberto SDK .NET
CEP Aberto API wrapper written in C# (.NET).
Implements all V3 features

CI/CD
| Build status | Last commit | Tests | Coverage | Code Smells | LOC |
|---|---|---|---|---|---|
Code Quality
Installation
Github Releases
Download the latest zip file from the Release page.
Nuget package manager
| Package | Version | Downloads |
|---|---|---|
| CEPAberto |
Features
This client supports the following operations/features of the API V3:
- Get data based on postal code (CEP).
- Get data of a nearest geo location (lat/lon) (Max of 10km).
- Get data based on state initials (UF), city, neighborhood and street/address.
- Get list of cities of a state based on state initials.
- Update the postal code (CEP).
Setup the CEPAbertoClient
Initializes a new instance of CEPAbertoClient class. The API token can be found at http://www.cepaberto.com/api_key (A free registration is required!)
var client = new CEPAbertoClient("my API token");
//var postalData = client.GetData("00000000");
//var cities = client.GetCities("SP");
Get data based on postal code (CEP)
Searches for a postal code data based on postal code
var client = new CEPAbertoClient("my API key");
var postalCode = "40010000";
var result = client.GetData(postalCode);
if(result.Success)
{
Console.WriteLine("Postal data for the zip code {0} found!", postalCode);
Console.WriteLine("Lat: {0} | Lon: {1}", result.Latitude, result.Longitude);
}
else
Console.WriteLine("No data for the zip code {0} available", postalCode);
Get data of a nearest geo location (lat/lon) (Max of 10km)
Searches for the first postal code closest to the requested coordinates, limited to 10km (API limit, not library)
var client = new CEPAbertoClient("my API key");
var result = client.GetData("-20.55", "-43.63");
if(result.Success)
Console.WriteLine("Postal code found: {0}", result.PostalCode);
else
Console.WriteLine("Unable to find a postal data for the coordinates supplied!");
Get data based on state initials (UF), city, neighborhood and street/address
Searches for a postal code data for the address supplied. Neighborhood and Street/Address are optional!
var client = new CEPAbertoClient("my API key");
var result = client.GetData("SP","Ubatuba");
if(result.Success)
Console.WriteLine("Postal code found: {0}", result.PostalCode);
else
Console.WriteLine("Cannot find postal code for Ubatuba/SP");
Get list of cities of a state based on state initials
Get a list of cities for a given state (use state initials aka UF)
var client = new CEPAbertoClient("my API key");
var result = client.GetCities("AM");
if(result.Success)
foreach(var city in result.Cities)
Console.WriteLine("Found city {0} in Amazonas (AM)", city.Name);
Update the postal code (CEP)
Request an update on postal codes that may be outdated or not registered. Accepts upon 100 postal codes (CEP)
var client = new CEPAbertoClient("my API key");
var result = client.Update("03177010");
if(result.Success)
Console.WriteLine("Success on request update on postal code 03177-010");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FluentAssertions (>= 8.8.0)
- GuiStracini.SDKBuilder (>= 3.1.124)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.4)
-
.NETStandard 2.1
- FluentAssertions (>= 8.8.0)
- GuiStracini.SDKBuilder (>= 3.1.124)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.4)
-
net8.0
- FluentAssertions (>= 8.8.0)
- GuiStracini.SDKBuilder (>= 3.1.124)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.1.14 | 93 | 1/27/2026 |
| 4.1.8 | 98 | 1/12/2026 |
| 4.1.5 | 96 | 1/12/2026 |
| 4.0.1126 | 101 | 1/5/2026 |
| 4.0.1123 | 87 | 1/5/2026 |
| 4.0.1120 | 94 | 1/5/2026 |
| 4.0.1113 | 92 | 1/5/2026 |
| 4.0.1104 | 101 | 12/29/2025 |
| 4.0.1101 | 93 | 12/29/2025 |
| 4.0.1096 | 97 | 12/29/2025 |
| 4.0.1089 | 260 | 12/15/2025 |
| 4.0.1086 | 244 | 12/15/2025 |
| 4.0.1083 | 240 | 12/15/2025 |
| 4.0.1080 | 228 | 12/15/2025 |
| 4.0.1077 | 225 | 12/15/2025 |
| 4.0.1066 | 360 | 12/8/2025 |
| 4.0.1063 | 512 | 12/1/2025 |
| 4.0.1060 | 503 | 12/1/2025 |
| 4.0.1055 | 211 | 11/24/2025 |
| 4.0.1012 | 245 | 11/10/2025 |