# MSC Container Tracking API & MCP

> For the complete documentation index, see [llms.txt](https://docs.containerfeed.com/llms.txt).

URL: https://docs.containerfeed.com/carriers/msc

Track **MSC** (`msc`) containers and bills of lading with one synchronous `GET` or MCP tool call. MSC containers, transshipments included, with the bill of lading, vessel and voyage, and the estimated arrival at the port of discharge. No MSC account, booking login or EDI feed is needed.

## Quick facts

| Property | Value |
|---|---|
| **Carrier id (`?carrier=`)** | `msc` |
| **SCAC** | `MSCU` |
| **Also known as** | Mediterranean Shipping Company, MSC Cargo |
| **Category** | Global container line |
| **Owner prefixes detected** | `MSCU` `MEDU` `MSDU` `MSMU` `MSNU` `MSBU` |
| **Example container** | `MEDU1234562` |
| **Bill of lading** | `MEDU` + booking reference, tracked with `?carrier=msc` |
| **Single lookup** | `GET https://api.containerfeed.com/v1/track/{number}` |
| **Batch** | `GET https://api.containerfeed.com/v1/track?numbers=a,b,c` (up to 100 numbers, 35 per line) |
| **MCP** | `track_package`, `track_packages`, `list_carriers` at `https://mcp.containerfeed.com/mcp` |

## Container numbers and detection

| Rule | Regex | Check digit | Example |
|---|---|---|---|
| MSC owner prefix | `/^(MSCU\|MEDU\|MSDU\|MSMU\|MSNU\|MSBU)\d{7}$/` | ISO 6346 | `MEDU1234562` |

A container number (ISO 6346) is the owner's three-letter code, the equipment category `U`, six serial digits and a check digit. MSC's own prefixes detect to `msc` with no `?carrier=`. The check digit is verified first, so a mistyped number is refused with `400 unknown_carrier` before any line is asked, and is not billed.

A leased container (Textainer `TGHU`, Triton `TCNU` and `TRHU`, CAI `CAIU`, SeaCo `SEGU` and others) can sail with any line, so its prefix says nothing about the line. For one booked with MSC, pass `?carrier=msc`. See [Container number formats](https://docs.containerfeed.com/formats).

## Track a container

```bash
curl "https://api.containerfeed.com/v1/track/MEDU1234562" \
  -H "Authorization: Bearer $OPENCONTAINER_API_KEY"
```

The response below is a real lookup from November 2026, with its events cut to the newest four of 11. Fields the line doesn't report, such as the `ocean` block here, are left out.

```json
{
  "carrier": "msc",
  "trackingNumber": "MEDU1234562",
  "status": "in_transit",
  "statusDescription": "Full Transshipment Loaded, Msc Desiree UK642A",
  "service": "20' DRY VAN",
  "deliveredAt": null,
  "deliveredAtLocal": null,
  "signedBy": null,
  "destination": {
    "city": "Montreal",
    "state": null,
    "country": "CA"
  },
  "estimatedDelivery": "2026-11-21",
  "message": "Bill of lading MEDUKU746112",
  "events": [
    {
      "timestamp": null,
      "localTime": "2026-11-06",
      "status": "in_transit",
      "description": "Full Transshipment Loaded, Msc Desiree UK642A",
      "location": "Busan, KR",
      "code": "Full Transshipment Loaded"
    },
    {
      "timestamp": null,
      "localTime": "2026-11-05",
      "status": "in_transit",
      "description": "Full Transshipment Positioned In",
      "location": "Busan, KR",
      "code": "Full Transshipment Positioned In"
    },
    {
      "timestamp": null,
      "localTime": "2026-11-05",
      "status": "in_transit",
      "description": "Full Transshipment Positioned Out",
      "location": "Busan, KR",
      "code": "Full Transshipment Positioned Out"
    },
    {
      "timestamp": null,
      "localTime": "2026-11-04",
      "status": "in_transit",
      "description": "Full Transshipment Discharged, Msc Lorena HI639R",
      "location": "Busan, KR",
      "code": "Full Transshipment Discharged"
    }
  ]
}
```

Several containers at once, mixed across lines:

```bash
curl "https://api.containerfeed.com/v1/track?numbers=MEDU1234562,CMAU4821035" \
  -H "Authorization: Bearer $OPENCONTAINER_API_KEY"
```

## Track a bill of lading

MSC bills of lading are `MEDU` followed by the booking reference. A bill has no owner prefix or check digit to detect, so name the line:

```bash
curl "https://api.containerfeed.com/v1/track/$BILL_OF_LADING?carrier=msc" \
  -H "Authorization: Bearer $OPENCONTAINER_API_KEY"
```

When the line reports them, `ocean.billOfLading` echoes the bill and `ocean.containers` lists the containers on it. Track or [watch](https://docs.containerfeed.com/webhooks) each container for its own moves. A bill of lading counts as one tracked number, like a container.

## Milestones

Each event keeps MSC's own wording in `description` and its event code in `code`, and is mapped to a normalized `status` and, where the move is recognized, a `milestone`.

| Move | `milestone` | `status` |
|---|---|---|
| Empty container released to the shipper | `empty_pickup` | `label_created` |
| Full container received at the origin terminal | `gate_in` | `in_transit` |
| Loaded on the vessel at the port of loading | `loaded` | `in_transit` |
| Vessel departed the port of loading | `vessel_departed` | `in_transit` |
| Arrived at or departed a transshipment port | `transshipment_arrived` / `transshipment_departed` | `in_transit` |
| Vessel arrived at the port of discharge | `vessel_arrived` | `in_transit` |
| Discharged from the vessel | `discharged` | `in_transit` |
| Customs or freight hold | `customs_hold` / `freight_hold` | `exception` |
| Available for pickup at the terminal | `available_for_pickup` | `in_transit` |
| Full container out to the consignee | `gate_out` | `out_for_delivery` |
| Empty container returned | `empty_returned` | `delivered` |

The lines don't report when the consignee unloads the cargo, so `delivered` means the empty container is back and the trip is over. Watch for `out_for_delivery` (the full gate-out) to know when the cargo left the terminal. All statuses and milestones are in [Tracking](https://docs.containerfeed.com/tracking#statuses-and-milestones).

## Notes

- **Source**: the tracking JSON msc.com's own page requests. A lookup takes several seconds.
- **Events**: every move on the container's bill of lading, transshipments included, with the vessel and voyage. MSC's estimated arrival is kept out of `events` and returned as `estimatedDelivery`.
- **Times**: MSC gives dates without a time of day, so `localTime` is a date (`2026-11-06`) and `timestamp` is null.
- **Bill of lading**: `message` names the bill the container sails under. MSC's bills start `MEDU`, its booking prefix, rather than its SCAC `MSCU`.
- **Status**: `Empty to Shipper` is `label_created`, `Import to consignee` is `out_for_delivery`, and `Empty received at CY` is `delivered`. A container MSC lists as `Off Service` is `not_found`.

## Related

- **Look up a container on the site**: [MSC container tracking](https://containerfeed.com/lookup/msc)
- **Every line**: [Container tracking API](https://docs.containerfeed.com/container-tracking-api) and [Carriers](https://docs.containerfeed.com/carriers)
- **Prefixes and check digits**: [Container number formats](https://docs.containerfeed.com/formats)
- **Push updates**: [Watches and webhooks](https://docs.containerfeed.com/webhooks)