Skip to content

✉️ A serverless function to call the Correios SOAP application to return an address from a CEP

Notifications You must be signed in to change notification settings

magnobiet/correios-cep-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Correios CEP API

TypeScript Vercel

TL;DR

Development

npm install
npx vercel dev

Usage

GET https://api.correios.magnobiet.com/?cep=90441970

Response

{
  "cep": "90441970",
  "state": {
    "id": 43,
    "name": "Rio Grande do Sul",
    "acronym": "RS"
  },
  "city": {
    "id": 4314902,
    "name": "Porto Alegre"
  },
  "neighborhood": "Auxiliadora",
  "address": "Rua Coronel Bordini, 555",
  "complement": "",
}

About

✉️ A serverless function to call the Correios SOAP application to return an address from a CEP

Topics

Resources

Stars

Watchers

Forks