CEPAberto 4.0.978
See the version list below for details.
dotnet add package CEPAberto --version 4.0.978
NuGet\Install-Package CEPAberto -Version 4.0.978
<PackageReference Include="CEPAberto" Version="4.0.978" />
<PackageVersion Include="CEPAberto" Version="4.0.978" />
<PackageReference Include="CEPAberto" />
paket add CEPAberto --version 4.0.978
#r "nuget: CEPAberto, 4.0.978"
#:package CEPAberto@4.0.978
#addin nuget:?package=CEPAberto&version=4.0.978
#tool nuget:?package=CEPAberto&version=4.0.978
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.7.1)
- GuiStracini.SDKBuilder (>= 3.1.116)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.4)
-
.NETStandard 2.1
- FluentAssertions (>= 8.7.1)
- GuiStracini.SDKBuilder (>= 3.1.116)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Newtonsoft.Json (>= 13.0.4)
-
net8.0
- FluentAssertions (>= 8.7.1)
- GuiStracini.SDKBuilder (>= 3.1.116)
- 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.0.1089 | 238 | 12/15/2025 |
| 4.0.1086 | 234 | 12/15/2025 |
| 4.0.1083 | 230 | 12/15/2025 |
| 4.0.1080 | 218 | 12/15/2025 |
| 4.0.1077 | 216 | 12/15/2025 |
| 4.0.1066 | 340 | 12/8/2025 |
| 4.0.1063 | 495 | 12/1/2025 |
| 4.0.1060 | 480 | 12/1/2025 |
| 4.0.1055 | 190 | 11/24/2025 |
| 4.0.1052 | 181 | 11/24/2025 |
| 4.0.1049 | 181 | 11/24/2025 |
| 4.0.1044 | 182 | 11/24/2025 |
| 4.0.1035 | 186 | 11/24/2025 |
| 4.0.1032 | 182 | 11/24/2025 |
| 4.0.1017 | 219 | 11/10/2025 |
| 4.0.1012 | 223 | 11/10/2025 |
| 4.0.1005 | 189 | 10/27/2025 |
| 4.0.1002 | 175 | 10/27/2025 |
| 4.0.999 | 188 | 10/27/2025 |
| 4.0.994 | 185 | 10/27/2025 |
| 4.0.989 | 184 | 10/27/2025 |
| 4.0.978 | 176 | 10/20/2025 |
| 4.0.975 | 174 | 10/20/2025 |
| 4.0.970 | 176 | 10/20/2025 |
| 4.0.967 | 176 | 10/20/2025 |
| 4.0.956 | 191 | 10/6/2025 |
| 4.0.953 | 186 | 10/6/2025 |
| 4.0.948 | 181 | 10/6/2025 |
| 4.0.941 | 190 | 9/29/2025 |
| 4.0.938 | 180 | 9/29/2025 |
| 4.0.935 | 186 | 9/29/2025 |
| 4.0.926 | 180 | 9/29/2025 |
| 4.0.911 | 272 | 9/15/2025 |
| 4.0.906 | 266 | 9/15/2025 |
| 4.0.903 | 199 | 9/8/2025 |
| 4.0.900 | 184 | 9/8/2025 |
| 4.0.895 | 190 | 9/8/2025 |
| 4.0.892 | 190 | 9/8/2025 |
| 4.0.883 | 213 | 9/4/2025 |
| 4.0.880 | 194 | 9/4/2025 |
| 4.0.877 | 198 | 9/4/2025 |
| 4.0.874 | 203 | 9/4/2025 |
| 4.0.871 | 212 | 8/29/2025 |
| 4.0.860 | 210 | 8/29/2025 |
| 4.0.849 | 331 | 8/25/2025 |
| 4.0.836 | 188 | 8/18/2025 |
| 4.0.821 | 174 | 8/11/2025 |
| 4.0.816 | 192 | 8/11/2025 |
| 4.0.813 | 192 | 8/4/2025 |
| 4.0.810 | 176 | 7/28/2025 |
| 4.0.807 | 574 | 7/23/2025 |
| 4.0.804 | 566 | 7/23/2025 |
| 4.0.799 | 575 | 7/23/2025 |
| 4.0.792 | 196 | 7/14/2025 |
| 4.0.787 | 184 | 7/14/2025 |
| 4.0.784 | 203 | 7/10/2025 |
| 4.0.782 | 193 | 7/9/2025 |
| 4.0.779 | 196 | 7/9/2025 |
| 4.0.768 | 213 | 6/20/2025 |
| 4.0.761 | 229 | 5/19/2025 |
| 4.0.758 | 212 | 5/6/2025 |
| 4.0.749 | 222 | 4/21/2025 |
| 4.0.746 | 536 | 3/25/2025 |
| 4.0.743 | 224 | 3/17/2025 |
| 4.0.740 | 211 | 3/3/2025 |
| 4.0.737 | 226 | 3/3/2025 |
| 4.0.732 | 197 | 2/24/2025 |
| 4.0.729 | 178 | 2/24/2025 |
| 4.0.726 | 171 | 2/21/2025 |
| 4.0.720 | 165 | 2/21/2025 |
| 4.0.712 | 174 | 2/21/2025 |
| 4.0.707 | 181 | 2/17/2025 |
| 4.0.704 | 187 | 2/17/2025 |
| 4.0.699 | 167 | 2/17/2025 |
| 4.0.692 | 171 | 2/10/2025 |
| 4.0.689 | 164 | 2/3/2025 |
| 4.0.686 | 164 | 1/27/2025 |
| 4.0.683 | 156 | 1/27/2025 |
| 4.0.678 | 169 | 1/20/2025 |
| 4.0.675 | 153 | 1/20/2025 |
| 4.0.670 | 158 | 1/13/2025 |
| 4.0.667 | 141 | 1/13/2025 |
| 4.0.662 | 152 | 1/13/2025 |
| 4.0.657 | 147 | 1/13/2025 |
| 4.0.654 | 179 | 1/6/2025 |
| 4.0.651 | 179 | 1/6/2025 |
| 4.0.646 | 173 | 1/6/2025 |
| 4.0.639 | 172 | 12/31/2024 |
| 4.0.636 | 168 | 12/23/2024 |
| 4.0.633 | 166 | 12/23/2024 |
| 4.0.628 | 183 | 12/16/2024 |
| 4.0.625 | 180 | 12/16/2024 |
| 4.0.620 | 177 | 12/9/2024 |
| 4.0.617 | 170 | 12/9/2024 |
| 4.0.612 | 168 | 12/2/2024 |
| 4.0.609 | 170 | 11/25/2024 |
| 4.0.606 | 153 | 11/25/2024 |
| 4.0.601 | 163 | 11/25/2024 |
| 4.0.594 | 172 | 11/18/2024 |
| 4.0.591 | 189 | 11/11/2024 |
| 4.0.588 | 172 | 11/5/2024 |
| 4.0.585 | 178 | 10/28/2024 |
| 4.0.582 | 182 | 10/28/2024 |
| 4.0.577 | 170 | 10/21/2024 |
| 4.0.574 | 185 | 10/21/2024 |
| 4.0.569 | 295 | 10/14/2024 |
| 4.0.566 | 177 | 10/7/2024 |
| 4.0.563 | 176 | 10/3/2024 |
| 4.0.560 | 175 | 10/3/2024 |
| 4.0.557 | 187 | 10/3/2024 |
| 4.0.550 | 762 | 9/23/2024 |
| 4.0.547 | 166 | 9/23/2024 |
| 4.0.542 | 227 | 9/16/2024 |
| 4.0.539 | 183 | 9/16/2024 |
| 4.0.534 | 197 | 9/9/2024 |
| 4.0.531 | 185 | 9/9/2024 |
| 4.0.526 | 190 | 9/9/2024 |
| 4.0.519 | 167 | 9/9/2024 |
| 4.0.510 | 192 | 9/9/2024 |
| 4.0.499 | 228 | 9/2/2024 |
| 4.0.496 | 179 | 9/2/2024 |
| 4.0.491 | 187 | 8/27/2024 |
| 4.0.486 | 177 | 8/27/2024 |
| 4.0.481 | 173 | 8/27/2024 |
| 4.0.476 | 187 | 8/27/2024 |
| 4.0.471 | 191 | 8/27/2024 |
| 4.0.464 | 220 | 8/26/2024 |
| 4.0.453 | 221 | 8/24/2024 |
| 4.0.449 | 255 | 8/12/2024 |
| 4.0.446 | 165 | 8/5/2024 |
| 4.0.443 | 174 | 7/29/2024 |
| 4.0.440 | 204 | 7/22/2024 |
| 4.0.437 | 174 | 7/16/2024 |
| 4.0.434 | 172 | 7/16/2024 |
| 4.0.431 | 189 | 7/16/2024 |
| 4.0.426 | 183 | 7/16/2024 |
| 4.0.419 | 187 | 7/16/2024 |
| 4.0.412 | 185 | 7/16/2024 |
| 4.0.382 | 191 | 6/10/2024 |
| 4.0.375 | 200 | 6/3/2024 |
| 4.0.372 | 186 | 5/28/2024 |
| 4.0.369 | 168 | 5/28/2024 |
| 4.0.364 | 167 | 5/28/2024 |
| 4.0.357 | 198 | 5/28/2024 |
| 4.0.348 | 176 | 5/20/2024 |
| 4.0.345 | 179 | 5/20/2024 |
| 4.0.340 | 193 | 5/13/2024 |
| 4.0.337 | 211 | 5/6/2024 |
| 4.0.334 | 201 | 5/6/2024 |
| 4.0.331 | 204 | 4/30/2024 |
| 4.0.328 | 203 | 4/30/2024 |
| 4.0.323 | 219 | 4/30/2024 |
| 4.0.316 | 205 | 4/30/2024 |
| 4.0.313 | 180 | 4/29/2024 |
| 4.0.302 | 197 | 4/22/2024 |
| 4.0.299 | 198 | 4/22/2024 |
| 4.0.294 | 191 | 4/22/2024 |
| 4.0.291 | 177 | 4/22/2024 |
| 4.0.282 | 201 | 4/16/2024 |
| 4.0.279 | 176 | 4/16/2024 |
| 4.0.274 | 182 | 4/16/2024 |
| 4.0.267 | 196 | 4/16/2024 |
| 4.0.250 | 202 | 4/8/2024 |
| 4.0.247 | 172 | 4/8/2024 |
| 4.0.242 | 202 | 4/8/2024 |
| 4.0.235 | 195 | 3/25/2024 |
| 4.0.232 | 191 | 3/25/2024 |
| 4.0.227 | 203 | 3/25/2024 |
| 4.0.220 | 191 | 3/21/2024 |
| 4.0.210 | 216 | 2/26/2024 |
| 4.0.207 | 189 | 2/26/2024 |
| 4.0.202 | 187 | 2/26/2024 |
| 4.0.193 | 194 | 2/19/2024 |
| 4.0.186 | 207 | 2/19/2024 |
| 4.0.177 | 194 | 2/19/2024 |
| 4.0.160 | 203 | 2/14/2024 |
| 4.0.154 | 192 | 2/12/2024 |
| 4.0.151 | 177 | 2/12/2024 |
| 4.0.148 | 196 | 2/6/2024 |
| 4.0.145 | 191 | 2/5/2024 |
| 4.0.140 | 197 | 1/30/2024 |
| 4.0.135 | 185 | 1/29/2024 |
| 4.0.132 | 189 | 1/29/2024 |
| 4.0.127 | 187 | 1/29/2024 |
| 4.0.120 | 191 | 1/29/2024 |
| 4.0.112 | 211 | 1/22/2024 |
| 4.0.107 | 197 | 1/22/2024 |
| 4.0.104 | 202 | 1/22/2024 |
| 4.0.99 | 190 | 1/22/2024 |
| 4.0.90 | 218 | 1/16/2024 |
| 4.0.82 | 222 | 1/15/2024 |
| 4.0.77 | 200 | 1/15/2024 |
| 4.0.70 | 209 | 1/8/2024 |
| 4.0.67 | 204 | 1/8/2024 |
| 4.0.62 | 239 | 12/25/2023 |
| 4.0.59 | 215 | 12/25/2023 |
| 4.0.54 | 216 | 12/25/2023 |
| 4.0.47 | 201 | 12/25/2023 |
| 4.0.38 | 226 | 12/18/2023 |
| 4.0.35 | 207 | 12/18/2023 |
| 4.0.32 | 213 | 12/18/2023 |
| 4.0.25 | 195 | 12/18/2023 |
| 4.0.3 | 223 | 12/17/2023 |
| 3.0.467 | 220 | 12/14/2023 |
| 3.0.461 | 231 | 12/12/2023 |
| 3.0.458 | 234 | 12/11/2023 |
| 3.0.455 | 222 | 12/11/2023 |
| 3.0.452 | 246 | 12/11/2023 |
| 3.0.445 | 224 | 12/5/2023 |
| 3.0.440 | 205 | 12/5/2023 |
| 3.0.435 | 199 | 11/28/2023 |
| 3.0.432 | 197 | 11/28/2023 |
| 3.0.427 | 405 | 11/23/2023 |
| 3.0.424 | 202 | 11/21/2023 |
| 3.0.417 | 766 | 11/14/2023 |
| 3.0.411 | 175 | 11/14/2023 |
| 3.0.408 | 215 | 11/14/2023 |
| 3.0.400 | 222 | 11/10/2023 |
| 3.0.391 | 211 | 11/7/2023 |
| 3.0.388 | 209 | 11/7/2023 |
| 3.0.385 | 235 | 10/24/2023 |
| 3.0.382 | 222 | 10/17/2023 |
| 3.0.378 | 250 | 9/25/2023 |
| 3.0.373 | 233 | 9/24/2023 |
| 3.0.370 | 217 | 9/24/2023 |
| 3.0.365 | 227 | 9/24/2023 |
| 3.0.356 | 245 | 9/17/2023 |
| 3.0.353 | 227 | 9/17/2023 |
| 3.0.348 | 270 | 9/13/2023 |
| 3.0.338 | 238 | 9/13/2023 |
| 3.0.335 | 239 | 9/13/2023 |
| 3.0.332 | 244 | 9/13/2023 |
| 3.0.322 | 412 | 8/28/2023 |
| 3.0.314 | 447 | 8/13/2023 |
| 3.0.311 | 248 | 8/13/2023 |
| 3.0.308 | 267 | 8/13/2023 |
| 3.0.301 | 290 | 8/13/2023 |
| 3.0.291 | 359 | 8/3/2023 |
| 3.0.288 | 304 | 8/2/2023 |
| 3.0.283 | 323 | 7/28/2023 |
| 3.0.280 | 296 | 7/25/2023 |
| 3.0.277 | 285 | 7/25/2023 |
| 3.0.269 | 356 | 7/19/2023 |
| 3.0.266 | 271 | 7/19/2023 |
| 3.0.212 | 455 | 6/27/2023 |
| 3.0.209 | 336 | 6/26/2023 |
| 3.0.202 | 367 | 6/19/2023 |
| 3.0.193 | 292 | 6/18/2023 |
| 3.0.188 | 310 | 6/18/2023 |
| 3.0.183 | 287 | 6/18/2023 |
| 3.0.166 | 474 | 6/7/2023 |
| 3.0.156 | 471 | 5/31/2023 |
| 3.0.150 | 283 | 5/31/2023 |
| 3.0.147 | 302 | 5/31/2023 |
| 3.0.117 | 289 | 5/25/2023 |
| 3.0.114 | 562 | 5/4/2023 |
| 3.0.113 | 320 | 5/2/2023 |
| 3.0.109 | 326 | 4/28/2023 |
| 3.0.102 | 501 | 4/10/2023 |
| 3.0.97 | 341 | 4/9/2023 |
| 3.0.89 | 355 | 4/4/2023 |
| 3.0.84 | 468 | 4/3/2023 |
| 3.0.75 | 507 | 3/27/2023 |
| 3.0.72 | 436 | 3/25/2023 |
| 3.0.65 | 360 | 3/25/2023 |
| 3.0.56 | 360 | 3/25/2023 |
| 2.0.39 | 735 | 1/24/2023 |
| 2.0.38 | 831 | 1/9/2023 |
| 2.0.33 | 465 | 1/9/2023 |
| 2.0.32 | 457 | 1/9/2023 |
| 2.0.31 | 470 | 1/9/2023 |
| 2.0.26 | 489 | 12/14/2022 |
| 2.0.25 | 482 | 12/8/2022 |
| 2.0.24 | 458 | 12/8/2022 |
| 2.0.21 | 499 | 12/8/2022 |
| 2.0.12 | 1,434 | 11/1/2020 |
| 2.0.11 | 698 | 10/1/2020 |
| 2.0.10 | 802 | 9/1/2020 |
| 2.0.9 | 738 | 8/1/2020 |
| 2.0.8 | 874 | 7/1/2020 |
| 2.0.7 | 728 | 6/29/2020 |
| 1.0.58 | 835 | 6/1/2020 |
| 1.0.57 | 805 | 5/2/2020 |
| 1.0.56 | 792 | 5/2/2020 |
| 1.0.54 | 799 | 5/2/2020 |
| 1.0.52 | 749 | 5/2/2020 |
| 1.0.51 | 773 | 5/2/2020 |
| 1.0.50 | 806 | 5/2/2020 |
| 1.0.49 | 835 | 5/2/2020 |
| 1.0.48 | 761 | 5/2/2020 |
| 1.0.47 | 768 | 5/2/2020 |
| 1.0.46 | 799 | 5/1/2020 |
| 1.0.45 | 814 | 5/1/2020 |
| 1.0.44 | 789 | 5/1/2020 |
| 1.0.43 | 783 | 5/1/2020 |
| 1.0.42 | 767 | 5/1/2020 |
| 1.0.41 | 774 | 5/1/2020 |
| 1.0.40 | 796 | 5/1/2020 |
| 1.0.39 | 788 | 5/1/2020 |
| 1.0.38 | 781 | 5/1/2020 |
| 1.0.37 | 834 | 5/1/2020 |
| 1.0.36 | 774 | 5/1/2020 |
| 1.0.35 | 763 | 5/1/2020 |
| 1.0.34 | 772 | 5/1/2020 |
| 1.0.33 | 771 | 5/1/2020 |
| 1.0.32 | 731 | 5/1/2020 |
| 1.0.31 | 786 | 5/1/2020 |
| 1.0.30 | 735 | 5/1/2020 |
| 1.0.29 | 765 | 5/1/2020 |
| 1.0.28 | 760 | 5/1/2020 |
| 1.0.27 | 811 | 5/1/2020 |
| 1.0.26 | 816 | 5/1/2020 |
| 1.0.25 | 889 | 5/1/2020 |
| 1.0.24 | 800 | 5/1/2020 |
| 1.0.22 | 821 | 5/1/2020 |
| 1.0.21 | 765 | 4/24/2020 |
| 1.0.20 | 779 | 4/24/2020 |
| 1.0.19 | 771 | 4/24/2020 |
| 1.0.12 | 1,185 | 9/19/2018 |
| 1.0.9 | 1,159 | 8/16/2018 |
| 1.0.8 | 1,155 | 8/16/2018 |