# Cargus Tracking API & MCP

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

Query live **Cargus** (`cargus`) package status and scan history in a single synchronous `GET` request or MCP tool call.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `cargus` |
| **Brand aliases** | Cargus Romania, Urgent Cargus |
| **Category** | Domestic and international parcels (Romania) |
| **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`)** | none | none | none |

`matches` and `mayMatch` are both empty: Cargus barcodes are 8 to 20 letters or digits, which many carriers share, so pass `?carrier=cargus`.

## Synchronous `GET` Request & Normalized JSON Response

```bash
curl -s "https://api.lastscanned.com/v1/track/9087654321?carrier=cargus" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
```

```json
{
  "carrier": "cargus",
  "trackingNumber": "9087654321",
  "status": "delivered",
  "statusDescription": "Delivered",
  "service": null,
  "deliveredAt": "2026-04-28T09:33:16Z",
  "deliveredAtLocal": "2026-04-28T12:33:16",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-04-28T09:33:16Z",
      "localTime": "2026-04-28T12:33:16",
      "status": "delivered",
      "description": "Delivered",
      "location": "MIERCUREA CIUC, Harghita",
      "code": null
    },
    {
      "timestamp": "2026-04-28T05:35:40Z",
      "localTime": "2026-04-28T08:35:40",
      "status": "out_for_delivery",
      "description": "With courier",
      "location": "MIERCUREA CIUC, Harghita",
      "code": null
    },
    {
      "timestamp": "2026-04-28T05:27:41Z",
      "localTime": "2026-04-28T08:27:41",
      "status": "in_transit",
      "description": "Received in warehouse Miercurea Ciuc [Depozit]",
      "location": "MIERCUREA CIUC, Harghita",
      "code": null
    },
    {
      "timestamp": "2026-04-25T18:29:48Z",
      "localTime": "2026-04-25T21:29:48",
      "status": "in_transit",
      "description": "Consolidation scan",
      "location": "BRASOV, Brasov",
      "code": null
    }
  ]
}
```

## Notes

- **Source**: the JSON (`cmacwabackend.azurewebsites.net/api/Awbs/ShortTrace`) that the Cargus tracking web app calls, with the three fixed headers the app sends to every visitor. No account is needed.
- **Time zone**: scan clocks are Romanian local time, converted from `Europe/Bucharest`.
- **Not found**: an unknown barcode returns HTTP 204 with no body, which becomes `not_found`.

## Related Resources

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