Yang Ming Container Tracking API & MCP

Query live Yang Ming (yangming) shipping container moves in a single synchronous GET request or MCP tool call. Pass the container number; no booking, bill of lading or Yang Ming account is needed.

Overview & Quick Facts

PropertyValue
Carrier slug (?carrier=)yangming
Brand aliasesYang Ming, Yang Ming Marine Transport, YML, yangming.com
CategoryOcean container shipping line
Single-container REST endpointGET https://api.lastscanned.com/v1/track/{containerNumber}
Batch REST endpointGET https://api.lastscanned.com/v1/track?numbers=YMMU6123458,YMMU7123452
MCP server (https://mcp.lastscanned.com/mcp)track_package, track_packages, list_carriers
Authentication & pricingAuthorization: Bearer lsk_live_... · 1 free keyless lookup/day per IP

Container Number Format & Auto-Detection

PassRule / RegexCheck DigitExamples
Pass 1 (matches)/^YMMU\d{7}$/ISO 6346YMMU6123458 · YMMU7123452 · YMMU1123455
Pass 2 (mayMatch)nonenonenone

A container number is the owner's 4-letter code, 6 digits and an ISO 6346 check digit. Yang Ming's own owner codes detect to yangming automatically. A leased container (Textainer TGHU, Triton TCNU, CAI CAIU, SeaCo SEGU and others) can sail with any line, so pass ?carrier=yangming for one booked with Yang Ming.

Synchronous GET Request & Normalized JSON Response

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

The response below is a real lookup from November 2026, with its events cut to the newest four of 26.

{
  "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)"
    }
  ]
}

Notes

  • Source: Yang Ming's public cargo tracking API. One plain request, no browser.
  • 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 codes: only YMMU is detected automatically. For any other container booked with Yang Ming, pass ?carrier=yangming.

On this page