Skip to content

correios.com.br

Correios API

Query public Correios data with GeckoAPI and receive structured JSON. Choose an operation to review its inputs, credit cost and response fields.

Extracts shipping quotes from Correios by origin CEP, destination CEP and package dimensions, returning options such as Sedex and PAC with deadline and price.

GeckoAPI is independent of Correios. This integration reads public data; it does not grant access to private accounts or account management operations.

Available operations

Get shipping quotes

correios.com.br:quote

Extracts shipping quotes from Correios by origin CEP, destination CEP and package dimensions, returning options such as Sedex and PAC with deadline and price.

1 credit per request

These are standard credit costs. Account-specific pricing is shown in the dashboard. Each operation has its own supported inputs and regional coverage.

Make your first request

The example uses get shipping quotes. Replace YOUR_API_KEY with your server-side API key. Copy supported inputs from the reference for the operation you choose.

Correios · cURL
curl -X POST https://api.geckoapi.com.br/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "target": "correios.com.br",
  "type": "quote",
  "originZipCode": "01001-000",
  "destinationZipCode": "20040-002",
  "packageHeightCm": 10,
  "packageWidthCm": 15,
  "packageLengthCm": 20
}'

Example JSON response

Abbreviated example from the same operation. Arrays and nested objects are shortened here; the endpoint reference includes the full documented schema. Source content retains its original language.

Abbreviated response
{
  "requestId": "34e5db41-d7cb-44c0-9e41-84031fc30001",
  "executionId": "34e5db41-d7cb-44c0-9e41-84031fc30002",
  "data": {
    "source": "correios.com.br",
    "type": "quote",
    "parser": "1.0.0",
    "url": "https://www.correios.com.br/@@precosEPrazosView",
    "requestUrl": "https://www.correios.com.br/@@precosEPrazosView",
    "extractedAt": "2026-04-16T00:00:00.000Z",
    "originZipCode": "01001000",
    "destinationZipCode": "20040002",
    "packageHeightCm": 10,
    "packageWidthCm": 15,
    "packageLengthCm": 20,
    "totalOptions": 2,
    "options": [
      {
        "status": 200,
        "serviceName": "Sedex",
        "rawTitle": "Sedex a encomenda expressa dos Correios",
        "serviceCodeAppOrSite": "41955",
        "serviceCodeAgency": "04014",
        "deliveryTimeText": "1 dia util",
        "priceAppOrSiteText": "R$ 31,56",
        "priceAgencyText": "R$ 43,00",
        "priceAppOrSite": 31.56,
        "priceAgency": 43,
        "currency": "BRL",
        "imageUrl": "https://www.correios.com.br/estrutura-da-pagina/precos-e-prazos/imagens/sedex.png",
        "messagePriceAppOrSite": "Postagem no App ou site dos Correios",
        "messagePriceAgency": "Postagem nas agencias",
        "messageDeliveryTime": "Prazo de entrega",
        "message": "Disponivel"
      },
      {
        "status": 200,
        "serviceName": "PAC",
        "rawTitle": "PAC a encomenda economica dos Correios",
        "serviceCodeAppOrSite": "03395",
        "serviceCodeAgency": "04510",
        "deliveryTimeText": "5 dias uteis",
        "priceAppOrSiteText": "R$ 21,46",
        "priceAgencyText": "R$ 27,50",
        "priceAppOrSite": 21.46,
        "priceAgency": 27.5,
        "currency": "BRL",
        "imageUrl": "https://www.correios.com.br/estrutura-da-pagina/precos-e-prazos/imagens/pac.png",
        "messagePriceAppOrSite": "Postagem no App ou site dos Correios",
        "messagePriceAgency": "Postagem nas agencias",
        "messageDeliveryTime": "Prazo de entrega",
        "message": "Disponivel"
      }
    ]
  }
}
Explore the full response and field descriptions

Integrate with REST or MCP

Call POST /v1/extract from your backend, or use the operation-specific tool on POST /v1/mcp. The API reference includes both request formats. Keep credentials in your backend and handle missing fields, pagination and errors according to that operation's rules.

Authentication and getting started

Ready to test the Correios API?

Open the documented example in the sandbox and inspect the response before integrating it into your application.