# Correios international shipping quote API

Estimate Correios international shipping from Brazil by CEP, country and grams via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as country, item_name, item_ncm, and retrieve structured data including parcel weight in grams, quoted service price, service price currency, source minimum delivery-day estimate, and estimated import duties for service comparison, and quote context.

Documentation: https://openany.si/correios/correios-international-shipping-quote-api/e09c3bfa-023f-4aaa-bacf-8472192df1d8/
API ID: e09c3bfa-023f-4aaa-bacf-8472192df1d8
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/correios/v1/international-quote
Page update time: 2026-12-03T02:45:47.072Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:45:46.721Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits used",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Correios International Quote API

Provide origin\_cep, country and weight in grams. Item declarations and posting\_card can affect the quote; service prices and import-duty estimates are distinct response values, with currency retained for each.

## What You Can Build

- **Service comparison**: Keep each service availability, price and delivery range together.
- **Quote context**: Retain destination, weight and declared-item values with the estimate.

## Returned Data

| Field | Meaning |
| --- | --- |
| `weight_g` | Parcel weight in grams |
| `services[].price` | Quoted service price |
| `services[].currency` | Service price currency |
| `services[].delivery_days_min` | Source minimum delivery-day estimate |
| `import_duties_estimate` | Estimated import duties |
| `import_duties_currency` | Duty-estimate currency |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Correios international shipping quote API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "origin_cep": {
          "type": "string",
          "description": "Origin CEP in Brazil (8 digits)."
        },
        "country": {
          "type": "string",
          "description": "Destination country, 2-letter code from /correios/v1/countries."
        },
        "weight": {
          "type": "integer",
          "description": "Weight in grams (1-30000)."
        },
        "type": {
          "type": "string",
          "description": "What is being sent.",
          "enum": [
            "goods",
            "document"
          ]
        },
        "purpose": {
          "type": "string",
          "description": "Purpose of the shipment.",
          "enum": [
            "sale",
            "gift",
            "giveaway",
            "sample"
          ]
        },
        "item_name": {
          "type": "string",
          "description": "One item: its name (required with item_value for goods to the US or Puerto Rico)."
        },
        "item_value": {
          "type": "number",
          "description": "One item: its value in BRL."
        },
        "item_quantity": {
          "type": "integer",
          "description": "One item: quantity (default 1)."
        },
        "item_ncm": {
          "type": "string",
          "description": "One item: its 8-digit NCM (HS) code, used for the duty estimate."
        },
        "items": {
          "type": "string",
          "description": "Several items instead of item_*: a JSON list like [{\"name\":\"T-shirt\",\"quantity\":2,\"value\":50,\"ncm\":\"61091000\"}] (up to 30)."
        },
        "posting_card": {
          "type": "string",
          "description": "A Correios contract posting card number, to quote contract prices."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. CSV and NDJSON exports are not supported; omit output or send json.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "origin_cep",
        "country",
        "weight"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "country": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "duties_breakdown": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "grupos": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "itens": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "descricao": {
                        "type": "string"
                      },
                      "moeda": {
                        "type": "string"
                      },
                      "valor": {
                        "type": "number"
                      }
                    }
                  }
                },
                "subtotal": {
                  "type": "number"
                },
                "titulo": {
                  "type": "string"
                }
              }
            }
          },
          "irrf": {
            "type": "object",
            "properties": {
              "descricao": {
                "type": "string"
              },
              "valor": {
                "type": "number"
              }
            }
          },
          "volume": {
            "type": "integer"
          }
        }
      }
    },
    "duties_paid_by_recipient": {
      "type": "boolean"
    },
    "fetched_at": {
      "type": "string"
    },
    "import_duties_currency": {
      "type": "string"
    },
    "import_duties_estimate": {
      "type": "number"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "ncm": {
            "type": "string"
          },
          "quantity": {
            "type": "integer"
          },
          "value": {
            "type": "integer"
          }
        }
      }
    },
    "notice": {
      "type": "null"
    },
    "origin_cep": {
      "type": "string"
    },
    "purpose": {
      "type": "string"
    },
    "services": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "available": {
            "type": "boolean"
          },
          "code": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "delivery_days_avg": {
            "type": "integer"
          },
          "delivery_days_max": {
            "type": "integer"
          },
          "delivery_days_min": {
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "error": {
            "type": "null"
          },
          "insurance_price": {
            "type": "null"
          },
          "name": {
            "type": "string"
          },
          "price": {
            "type": "number"
          },
          "service_price": {
            "type": "number"
          },
          "size_limits": {
            "type": "object",
            "properties": {
              "box": {
                "type": "string"
              },
              "envelope": {
                "type": "string"
              },
              "roll": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "type": {
      "type": "string"
    },
    "weight_g": {
      "type": "integer"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/correios/v1/international-quote?country=US&item_name=Camiseta&item_ncm=61091000&item_value=50&origin_cep=01310100&output=json&purpose=sale&raw=0&type=goods&weight=500' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "cached": false,
  "count": 3,
  "country": "US",
  "credits_used": 1,
  "duties_breakdown": [
    {
      "grupos": [
        {
          "itens": [
            {
              "descricao": "tributo geral",
              "moeda": "BRL",
              "valor": 8.25
            },
            {
              "descricao": "tributo Seção 301 (Brasil)",
              "moeda": "BRL",
              "valor": 12.5
            },
            {
              "descricao": "tributo Seção 301 (Mitigação de trabalho forçado)",
              "moeda": "BRL",
              "valor": 6.25
            }
          ],
          "subtotal": 27,
          "titulo": "Direitos aduaneiros"
        },
        {
          "itens": [
            {
              "descricao": "Valor fixo de desembaraço aduaneiro: US$ 1.49",
              "moeda": "BRL",
              "valor": 8.68
            },
            {
              "descricao": "Valor variável de desembaraço aduaneiro (10%)",
              "moeda": "BRL",
              "valor": 2.7
            }
          ],
          "subtotal": 11.38,
          "titulo": "Valores e encargos"
        }
      ],
      "irrf": {
        "descricao": "IRRF sobre pagamento ao exterior (17,64%)",
        "valor": 6.77
      },
      "volume": 1
    }
  ],
  "duties_paid_by_recipient": false,
  "fetched_at": "2026-11-19T12:20:11.113Z",
  "import_duties_currency": "BRL",
  "import_duties_estimate": 45.15,
  "items": [
    {
      "name": "Camiseta",
      "ncm": "61091000",
      "quantity": 1,
      "value": 50
    }
  ],
  "notice": null,
  "origin_cep": "01310100",
  "purpose": "sale",
  "services": [
    {
      "available": true,
      "code": "45128",
      "currency": "BRL",
      "delivery_days_avg": 16,
      "delivery_days_max": 18,
      "delivery_days_min": 14,
      "description": "EXPORTA FACIL STANDARD",
      "error": null,
      "insurance_price": null,
      "name": "EXPORTA FACIL STANDARD",
      "price": 224.95,
      "service_price": 224.95,
      "size_limits": {
        "box": "Min(LxCxA): 110 x 160 x 50mm; Max(LxCxA): 700 x 1500 x 800 mm; Soma(L+C+A): 3000 mm",
        "envelope": "Min(LxC): 90 x 140 mm; Max(LxC): 300 x 600 mm; Maior(L ou C): 600 mm; Soma(L+C): 900 mm",
        "roll": "Min(CxD): 100 x 50 mm; Max(CxD): 900 x 300 mm; Soma(L+2D): 1040 mm"
      }
    },
    {
      "available": true,
      "code": "45209",
      "currency": "BRL",
      "delivery_days_avg": 21,
      "delivery_days_max": 23,
      "delivery_days_min": 19,
      "description": "EXPORTA FACIL ECONOMICO",
      "error": null,
      "insurance_price": null,
      "name": "EXPORTA FACIL ECONOMICO",
      "price": 184.65,
      "service_price": 184.65,
      "size_limits": {
        "box": "Min(LxCxA): 110 x 160 x 50mm; Max(LxCxA): 300 x 600 x 600 mm; Soma(L+C+A): 900 mm",
        "envelope": "Min(LxC): 90 x 140 mm; Max(LxC): 300 x 600 mm; Maior(L ou C): 600 mm; Soma(L+C): 900 mm",
        "roll": "Min(CxD): 100 x 50 mm; Max(CxD): 900 x 300 mm; Soma(L+2D): 1040 mm"
      }
    },
    {
      "available": true,
      "code": "45110",
      "currency": "BRL",
      "delivery_days_avg": 10,
      "delivery_days_max": 12,
      "delivery_days_min": 8,
      "description": "EXPORTA FACIL EXPRESSO",
      "error": null,
      "insurance_price": null,
      "name": "EXPORTA FACIL EXPRESSO",
      "price": 244.6,
      "service_price": 244.6,
      "size_limits": {
        "box": "Min(LxCxA): 110 x 160 x 50mm; Max(LxCxA): 700 x 1500 x 800 mm; Soma(L+C+A): 3000 mm",
        "envelope": "Min(LxC): 229 x 324 mm; Max(LxC): 300 x 600 mm; Maior(L ou C): 600 mm; Soma(L+C): 900 mm",
        "roll": "Min(CxD): 100 x 50 mm; Max(CxD): 900 x 300 mm; Soma(L+2D): 1040 mm"
      }
    }
  ],
  "type": "goods",
  "weight_g": 500
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What units and identifiers are required?
origin_cep is an eight-digit Brazilian CEP, country is the destination two-letter code, and weight is 1–30000 grams.

### How do I declare multiple items?
Use items as a JSON list of up to 30 items instead of the item_* fields. Item value uses BRL in the documented declaration inputs.

### When are item name and value required?
The contract requires item_name with item_value for goods sent to the US or Puerto Rico. For several items use the documented items list.

### Does the quote purchase postage or guarantee customs charges?
No. It returns service quotes and duty estimates; postage purchase and final charges are separate. Keep service and import-duty currencies distinct.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/correios/correios-international-shipping-quote-api/e09c3bfa-023f-4aaa-bacf-8472192df1d8/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
