For AI agents: the documentation index is at llms.txt. Add .md to any page's URL for its Markdown.

Carriers

Yang Ming Container Tracking API & MCP

This is the API reference: how a number is detected, the request, and the JSON fields. Track a number on the Yang Ming lookup. The lookup is the plain-language page; the regexes stay here.

Track Yang Ming (yangming) containers and bills of lading with one synchronous GET or MCP tool call. Every move of a Yang Ming container, rail legs included: empty to shipper, received, on board, transshipped, discharged, full to consignee and empty returned. No Yang Ming account, booking login or EDI feed is needed.

Quick facts

PropertyValue
Carrier id (?carrier=)yangming
SCACYMLU
Also known asYang Ming Marine Transport, YML
CategoryGlobal container line
Owner prefixes detectedYMMU
Example containerYMMU6123458
Bill of ladingYMLU + booking reference, tracked with ?carrier=yangming
Single lookupGET https://api.containerfeed.com/v1/track/{number}
BatchGET https://api.containerfeed.com/v1/track?numbers=a,b,c (up to 100 numbers, 35 per line)
MCPtrack_package, track_packages, list_carriers at https://mcp.containerfeed.com/mcp

Container numbers and detection

RuleRegexCheck digitExample
Yang Ming owner prefix/^(YMMU)\d{7}$/ISO 6346YMMU6123458

A container number (ISO 6346) is the owner's three-letter code, the equipment category U, six serial digits and a check digit. Yang Ming's own prefixes detect to yangming 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 Yang Ming, pass ?carrier=yangming. See Container number formats.

Track a container

curl "https://api.containerfeed.com/v1/track/YMMU6123458" \
  -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 26. Fields the line doesn't report, such as the ocean block here, are left out.

{
  "carrier": "yangming",
  "trackingNumber": "YMMU6123458",
  "status": "delivered",
  "statusDescription": "Empty Returned",
  "service": "40' HQ",
  "deliveredAt": null,
  "deliveredAtLocal": "2026-11-03T04:02:00",
  "signedBy": null,
  "destination": null,
  "estimatedDelivery": null,
  "events": [
    {
      "timestamp": null,
      "localTime": "2026-11-03T04:02:00",
      "status": "delivered",
      "description": "Empty Returned",
      "location": "Port Klang",
      "code": "Empty Returned"
    },
    {
      "timestamp": null,
      "localTime": "2026-11-03T03:04:00",
      "status": "out_for_delivery",
      "description": "Full to Consignee",
      "location": "Port Klang",
      "code": "Full to Consignee"
    },
    {
      "timestamp": null,
      "localTime": "2026-11-01T05:22:00",
      "status": "in_transit",
      "description": "Discharged",
      "location": "Port Klang",
      "code": "Discharged"
    },
    {
      "timestamp": null,
      "localTime": "2026-10-31T05:50:00",
      "status": "in_transit",
      "description": "On Board (Transit), Anbien Bay 2610N",
      "location": "Singapore",
      "code": "On Board (Transit)"
    }
  ]
}

Several containers at once, mixed across lines:

curl "https://api.containerfeed.com/v1/track?numbers=YMMU6123458,ZIMU5528710" \
  -H "Authorization: Bearer $OPENCONTAINER_API_KEY"

Track a bill of lading

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

curl "https://api.containerfeed.com/v1/track/$BILL_OF_LADING?carrier=yangming" \
  -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 each container for its own moves. A bill of lading counts as one tracked number, like a container.

Milestones

Each event keeps Yang Ming'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.

Movemilestonestatus
Empty container released to the shipperempty_pickuplabel_created
Full container received at the origin terminalgate_inin_transit
Loaded on the vessel at the port of loadingloadedin_transit
Vessel departed the port of loadingvessel_departedin_transit
Arrived at or departed a transshipment porttransshipment_arrived / transshipment_departedin_transit
Vessel arrived at the port of dischargevessel_arrivedin_transit
Discharged from the vesseldischargedin_transit
Customs or freight holdcustoms_hold / freight_holdexception
Available for pickup at the terminalavailable_for_pickupin_transit
Full container out to the consigneegate_outout_for_delivery
Empty container returnedempty_returneddelivered

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.

Notes

  • Source: Yang Ming's public cargo tracking. One plain request.
  • Events: every move, including inland rail legs (each rail ramp it passes), with the vessel and voyage on loading moves.
  • Times: local time without a zone, so localTime is set and timestamp is null.
  • Status: Empty to Shipper is label_created, Full to Consignee is out_for_delivery, and Empty Returned is delivered.
  • Owner prefixes: only YMMU is detected automatically. For any other container booked with Yang Ming, pass ?carrier=yangming.

On this page