Discover/empresas.correios.com.br API
live

empresas.correios.com.br APIempresas.correios.com.br

Look up any Brazilian CEP via the Correios empresas database. Returns street, neighborhood, city, state, IBGE code, DDD, and more in one API call.

Endpoints
1
Updated
3mo ago
Try it
8-digit Brazilian CEP code. Dashes are optional (e.g. '01310100' or '01310-100').
api.parse.bot/scraper/146f901c-9f83-4265-b9cd-c4f69113d7aa/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/146f901c-9f83-4265-b9cd-c4f69113d7aa/lookup_cep?cep=20040020' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 1 totalclick to expand

Look up details for a Brazilian CEP (postal code). Returns the full address information including street name, neighborhood, city, state, region, and administrative codes.

Input
ParamTypeDescription
ceprequiredstring8-digit Brazilian CEP code. Dashes are optional (e.g. '01310100' or '01310-100').
Response
{
  "type": "object",
  "fields": {
    "uf": "string, two-letter state abbreviation",
    "cep": "string, formatted CEP with dash (e.g. '01310-100')",
    "ddd": "string, area code (DDD)",
    "gia": "string, GIA code",
    "ibge": "string, IBGE municipality code",
    "siafi": "string, SIAFI code",
    "bairro": "string, neighborhood name",
    "estado": "string, full state name",
    "regiao": "string, geographic region name",
    "localidade": "string, city name",
    "logradouro": "string, street name",
    "complemento": "string, address complement or range details"
  },
  "sample": {
    "data": {
      "uf": "SP",
      "cep": "01310-100",
      "ddd": "11",
      "gia": "1004",
      "ibge": "3550308",
      "siafi": "7107",
      "bairro": "Bela Vista",
      "estado": "São Paulo",
      "regiao": "Sudeste",
      "unidade": "",
      "localidade": "São Paulo",
      "logradouro": "Avenida Paulista",
      "complemento": "de 612 a 1510 - lado par"
    },
    "status": "success"
  }
}

About the empresas.correios.com.br API

The Correios empresas.correios.com.br API provides a single lookup_cep endpoint that resolves any 8-digit Brazilian CEP into 10 structured fields, including street address, neighborhood, city, full state name, two-letter state abbreviation, geographic region, area code (DDD), and administrative codes such as IBGE, SIAFI, and GIA. It covers the full national CEP address database maintained by Correios, Brazil's federal postal service.

What the API Returns

The lookup_cep endpoint accepts an 8-digit CEP string — with or without a dash (e.g. 01310100 or 01310-100) — and returns a flat JSON object. Key fields include logradouro (street name), bairro (neighborhood), localidade (city), uf (two-letter state code), estado (full state name), and regiao (macro-geographic region such as Sudeste or Sul). The response also includes cep formatted with a dash for display use.

Administrative Codes

Beyond the human-readable address, each response carries three administrative identifiers that are commonly required in Brazilian government and logistics systems: ibge (the IBGE municipality code used in census and tax contexts), siafi (the federal treasury system code), and gia (the São Paulo state tax authority code, populated where applicable). The ddd field returns the telephone area code for the locality, which is useful when pre-filling phone number forms.

Input Flexibility and Coverage

The single required parameter is cep. Dashes in the input are optional — both formats resolve correctly. The API covers residential, commercial, and PO-box CEP ranges across all 26 Brazilian states and the Federal District. CEPs that do not correspond to a specific street (range-based codes covering entire cities or neighborhoods) will return the locality and state fields without a street name, which is expected behavior for those ranges.

Common use cases
  • Auto-fill checkout address forms by resolving a customer-entered CEP into street, neighborhood, and city fields.
  • Validate that a user-supplied CEP exists and belongs to the expected state (uf) before processing a shipment.
  • Enrich a customer database with IBGE municipality codes for tax classification or census segmentation.
  • Pre-populate the ddd area code when a user registers a phone number, based on their CEP.
  • Filter or route logistics orders by regiao (macro-region) to assign carrier zones.
  • Attach SIAFI codes to municipal records for integration with federal government financial systems.
  • Verify that a billing address CEP matches the localidade and uf claimed by the user.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Correios offer an official developer API for CEP lookups?+
Correios operates a business portal at empresas.correios.com.br that exposes CEP data, but it does not publish a documented public REST API with keys, versioning, or SLA guarantees for third-party developers. This Parse API wraps that data source in a stable, documented interface.
What does the lookup_cep endpoint return for a CEP that covers a whole city rather than a specific street?+
For range-based CEPs that map to an entire city or large neighborhood rather than a specific street, the logradouro and bairro fields will be empty strings. The localidade, uf, estado, regiao, ibge, siafi, and ddd fields are still populated. This is standard behavior in the Correios database for those code ranges.
Does the API return latitude and longitude coordinates for a CEP?+
Not currently. The API returns address components and administrative codes (ibge, siafi, gia, ddd) but no geographic coordinates. You can fork this API on Parse and revise it to add a geocoding step using the returned address fields.
Can I look up multiple CEPs in a single request?+
The lookup_cep endpoint resolves one CEP per call. Bulk resolution is not currently supported in this API. You can fork it on Parse and revise to add a batch endpoint that accepts an array of CEP values.
How current is the CEP data returned by this API?+
The data reflects what the Correios empresas portal currently serves. Correios periodically updates its CEP database when new streets, neighborhoods, or municipalities are created, but there is no published changelog or update frequency. CEPs for very recently created addresses may lag behind the physical reality briefly.
Page content last updated . Spec covers 1 endpoint from empresas.correios.com.br.
Related APIs in Maps GeoSee all →
idealista.pt API
Search and filter property listings across Portugal by location, price, and size, then access detailed information about each property including its characteristics and pricing history. Monitor how property prices change over time to help you make informed decisions about buying or selling real estate.
homedepot.com API
Search and browse Home Depot's product catalog to compare pricing, check real-time availability, and review detailed product specifications. Find products across all categories, look up store locations and hours, and check fulfillment options including in-store pickup and delivery.
zocdoc.com API
Search for doctors and medical practices on Zocdoc by specialty and location. Retrieve provider profiles, accepted insurance, office locations, patient reviews, and appointment availability.
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.
zapimoveis.com.br API
Search and filter real estate listings across Brazil on ZAP Imóveis — the country's largest property portal. Retrieve listings for sale or rent with detailed attributes including price, location, size, bedrooms, bathrooms, parking, and amenities. Supports location autocomplete, property type discovery, and full listing detail retrieval.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
angieslist.com API
Search for home service professionals on Angi and access their detailed profiles including reviews, contact information, and photos to find the right contractor for your project. Quickly compare multiple service providers by viewing their ratings, customer feedback, and verified business details all in one place.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.