API CEP

Last updated 10 months ago

Base de CEP atualizada mensalmente

get
Get Cakes

https://cep.awesomeapi.com.br
/:format/:cep
This endpoint allows you to get free cakes.
Request
Response
Path Parameters
format
optional
string
Formato de resposta JSON (default), JSONP, XML, CSV
cep
required
number
Apenas os números do CEP
Query Parameters
format
optional
string
Formato de resposta JSON (default), JSONP, XML, CSV
callback
optional
string
JSONP callback
200: OK
Cake successfully retrieved.
{
"cep": "05424020",
"address_type": "Rua",
"address_name": "Professor Carlos Reis",
"address": "Rua Professor Carlos Reis",
"district": "Pinheiros",
"city": "São Paulo",
"state": "SP",
"lat": "-23.5703026",
"lng": "-46.6967364",
"ddd": "11",
"city_ibge": "3550308"
}
404: Not Found
Could not find a cake matching this query.
{
"status": "error",
"error": "cep nao encontrado"
}