# Correios parcel tracking API

Track Correios parcels by postal identifier via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as code, output, and retrieve structured data including postal tracking identifier, current source status text, source delivered flag, source event timestamp, and source event description for shipment timeline, and state handling.

Documentation: https://openany.si/correios/correios-parcel-tracking-api/3ea7d95b-e1a2-40ed-bb84-b54ed49ba187/
API ID: 3ea7d95b-e1a2-40ed-bb84-b54ed49ba187
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/correios/v1/track
Page update time: 2026-12-03T02:45:54.531Z
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:52.710Z. 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": "10000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits used",
        "max_quantity": "5",
        "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 Parcel Tracking API

Set code to the postal tracking identifier. The response separates current status and delivered from individual event descriptions, late and blocked flags; optional expected\_delivery can be null.

## What You Can Build

- **Shipment timeline**: Display source events with their locations and timestamps.
- **State handling**: Keep delivered, late and blocked flags distinct.

## Returned Data

| Field | Meaning |
| --- | --- |
| `code` | Postal tracking identifier |
| `status` | Current source status text |
| `delivered` | Source delivered flag |
| `events[].date` | Source event timestamp |
| `events[].short_description` | Source event description |
| `expected_delivery` | Expected delivery value when available |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Correios parcel tracking 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": {
        "code": {
          "type": "string",
          "description": "Tracking code: 2 letters, 9 digits, 2 letters (e.g. AA123456789BR). Spaces and dashes are ignored."
        },
        "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": [
        "code"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "blocked": {
      "type": "boolean"
    },
    "cached": {
      "type": "boolean"
    },
    "code": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "delivered": {
      "type": "boolean"
    },
    "electronic_receipt": {
      "type": "boolean"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "comment": {
            "type": "null"
          },
          "date": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "destination": {
            "type": "null"
          },
          "detail": {
            "type": "string"
          },
          "final": {
            "type": "boolean"
          },
          "location": {
            "type": "object",
            "properties": {
              "city": {
                "type": "string"
              },
              "code": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "district": {
                "type": "null"
              },
              "name": {
                "type": "null"
              },
              "number": {
                "type": "null"
              },
              "postcode": {
                "type": "null"
              },
              "state": {
                "type": "string"
              },
              "street": {
                "type": "null"
              },
              "type": {
                "type": "string"
              }
            }
          },
          "pickup_deadline": {
            "type": "null"
          },
          "short_description": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "events_count": {
      "type": "integer"
    },
    "expected_delivery": {
      "type": "null"
    },
    "format": {
      "type": "null"
    },
    "import_charges_due": {
      "type": "boolean"
    },
    "late": {
      "type": "boolean"
    },
    "locker": {
      "type": "boolean"
    },
    "mode": {
      "type": "null"
    },
    "service": {
      "type": "object",
      "properties": {
        "category": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "situation": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "weight_kg": {
      "type": "null"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/correios/v1/track?code=AA123456789BR&output=json' \
  -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
{
  "blocked": false,
  "cached": false,
  "code": "AA123456789BR",
  "credits_used": 5,
  "delivered": false,
  "electronic_receipt": false,
  "events": [
    {
      "code": "BDE",
      "comment": null,
      "date": "2026-10-16T18:00:55",
      "description": "Saída para entrega cancelada",
      "destination": null,
      "detail": "Será efetuada nova saída para entrega",
      "final": false,
      "location": {
        "city": "Fortaleza",
        "code": "60356971",
        "district": null,
        "name": null,
        "number": null,
        "postcode": null,
        "state": "CE",
        "street": null,
        "type": "Unidade de Distribuição"
      },
      "pickup_deadline": null,
      "short_description": "Saída cancelada",
      "type": "47"
    },
    {
      "code": "OEC",
      "comment": null,
      "date": "2026-10-16T09:49:05",
      "description": "Objeto saiu para entrega ao destinatário",
      "destination": null,
      "detail": "É preciso ter alguém no endereço para receber o carteiro",
      "final": false,
      "location": {
        "city": "Fortaleza",
        "code": null,
        "district": null,
        "name": null,
        "number": null,
        "postcode": null,
        "state": "CE",
        "street": null,
        "type": "Unidade de Distribuição"
      },
      "pickup_deadline": null,
      "short_description": "Saiu para entrega ao destinatário",
      "type": "01"
    }
  ],
  "events_count": 2,
  "expected_delivery": null,
  "format": null,
  "import_charges_due": false,
  "late": true,
  "locker": false,
  "mode": null,
  "service": {
    "category": "SEDEX",
    "code": "AA",
    "name": "ETIQUETA LOGICA SEDEX"
  },
  "situation": "T",
  "status": "Saída para entrega cancelada",
  "weight_kg": null
}
```

## 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 code format is accepted?
Use two letters, nine digits and two letters, such as AA123456789BR. Spaces and dashes are ignored.

### Are status descriptions translated?
Retain the source event text, which can be Portuguese. Translate labels separately without changing the original status meaning.

### Does expected_delivery=null mean delivered?
No. It means the estimate is unavailable. Read delivered and event states separately.

### Can timestamps without offsets be assumed UTC?
No. Preserve the source timestamp and location context rather than silently assigning UTC.

### 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-parcel-tracking-api/3ea7d95b-e1a2-40ed-bb84-b54ed49ba187/

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