# OCA Argentina Tracking API & MCP

URL: https://docs.lastscanned.com/carriers/oca

Query live **OCA** (`oca`, Argentina) package status and scan history in a single synchronous `GET` request or MCP tool call. 19-digit piece numbers fall back to OCA when no other carrier claims them; pass `?carrier=oca` to be sure.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `oca` |
| **Brand aliases** | OCA, OCA Argentina, OCA e-Pak, Organización Coordinadora Argentina |
| **Category** | Regional parcels (Argentina) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=...,...` |
| **MCP server (`https://mcp.lastscanned.com`)** | `track_package`, `track_packages`, `list_carriers` |
| **Authentication & pricing** | `Authorization: Bearer lsk_live_...` · 1 free keyless lookup/day per IP |

## Tracking Number Formats & Auto-Detection

| Pass | Rule / Regex | Check Digit | Examples |
|---|---|---|---|
| **Pass 1 (`matches`)** | none | none | none |
| **Pass 2 (`mayMatch`)** | `/^\d{19}$/` | none | `1234500000000012345` |

## Synchronous `GET` Request & Normalized JSON Response

```bash
curl -s "https://api.lastscanned.com/v1/track/1234500000000012345" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
```

```json
{
  "carrier": "oca",
  "trackingNumber": "1234500000000012345",
  "status": "delivered",
  "statusDescription": "Acuse digitalizado",
  "service": null,
  "deliveredAt": "2025-03-21T13:16:59Z",
  "deliveredAtLocal": "2025-03-21T10:16:59",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2025-03-26T17:55:11Z",
      "localTime": "2025-03-26T14:55:11",
      "status": "delivered",
      "description": "Acuse digitalizado",
      "location": "PLANTA DIGITALIZADORA",
      "code": null
    },
    {
      "timestamp": "2025-03-21T13:16:59Z",
      "localTime": "2025-03-21T10:16:59",
      "status": "delivered",
      "description": "Entregado",
      "location": "CONCORDIA",
      "code": null
    },
    {
      "timestamp": "2025-03-21T09:34:15Z",
      "localTime": "2025-03-21T06:34:15",
      "status": "out_for_delivery",
      "description": "Visita a Domicilio en Curso",
      "location": "CONCORDIA",
      "code": null
    }
  ]
}
```

## Notes

- **Wording**: OCA sends no status codes, so its Spanish state names are mapped (`Entregado` delivered, `Visita a Domicilio en Curso` out for delivery, `Devuelto al Remitente` returned, `No entregado` exception). A reason other than "Sin Motivo" is appended to the description in brackets.
- **Delivery time**: `deliveredAt` is the `Entregado` scan, not the later `Acuse digitalizado` (scan of the signed proof).
- **Time zone**: scan times are Argentina time (UTC-3 all year).
- **How it is queried**: OCA's e-Pak tracking web service called with its customer fields empty; no captcha is involved.

## Related Resources

- **Regex & check digits**: [Tracking number formats & auto-detection](/formats)
