Maersk 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 Maersk lookup. The lookup is the plain-language page; the regexes stay here.
Track Maersk (maersk) containers and bills of lading with one synchronous GET or MCP tool call. Maersk and Hamburg Süd boxes: gate in and out, loaded, departed, transshipped, discharged and returned, with vessel, voyage and ETA. No Maersk account, booking login or EDI feed is needed.
Quick facts
| Property | Value |
|---|---|
Carrier id (?carrier=) | maersk |
| SCAC | MAEU |
| Also known as | Maersk Line, A.P. Moller-Maersk, Hamburg Süd, Hamburg Sud, Sealand |
| Category | Global container line |
| Owner prefixes detected | MSKU MRKU MRSU MNBU SUDU |
| Example container | MSKU7812341 |
| Bill of lading | MAEU + booking reference, tracked with ?carrier=maersk |
| 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 |
|---|---|---|---|
| Maersk owner prefix | /^(MSKU|MRKU|MRSU|MNBU|SUDU)\d{7}$/ | ISO 6346 | MSKU7812341 |
A container number (ISO 6346) is the owner's three-letter code, the equipment category U, six serial digits and a check digit. Maersk's own prefixes detect to maersk 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 Maersk, pass ?carrier=maersk. See Container number formats.
Track a container
curl "https://api.containerfeed.com/v1/track/MSKU7812341" \
-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 16. Fields the line doesn't report, such as the ocean block here, are left out.
{
"carrier": "maersk",
"trackingNumber": "MSKU7812341",
"status": "delivered",
"statusDescription": "Empty container returned",
"service": "20' Dry",
"deliveredAt": null,
"deliveredAtLocal": "2026-10-19T13:03:00",
"signedBy": null,
"destination": {
"city": "Genoa",
"state": null,
"country": "IT"
},
"estimatedDelivery": null,
"events": [
{
"timestamp": null,
"localTime": "2026-10-19T13:03:00",
"status": "delivered",
"description": "Empty container returned",
"location": "Genoa City Limits, IT",
"code": "CONTAINER RETURN"
},
{
"timestamp": null,
"localTime": "2026-10-16T14:37:00",
"status": "out_for_delivery",
"description": "Gate out (full)",
"location": "Genoa, IT",
"code": "GATE-OUT"
},
{
"timestamp": null,
"localTime": "2026-10-15T03:56:00",
"status": "in_transit",
"description": "Discharged from vessel, Estelle Maersk 634W",
"location": "Genoa, IT",
"code": "DISCHARG"
},
{
"timestamp": null,
"localTime": "2026-10-14T15:13:00",
"status": "in_transit",
"description": "Vessel arrived, Estelle Maersk 634W",
"location": "Genoa, IT",
"code": "CONTAINER ARRIVAL"
}
]
}Several containers at once, mixed across lines:
curl "https://api.containerfeed.com/v1/track?numbers=MSKU7812341,MEDU1234562" \
-H "Authorization: Bearer $OPENCONTAINER_API_KEY"Track a bill of lading
Maersk bills of lading are MAEU 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=maersk" \
-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 Maersk'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.
Notes
- Source: the JSON maersk.com's own tracking page receives. A lookup takes several seconds.
- Events: actual moves only (gate out empty, gate in full, loaded, vessel departed and arrived, discharged, gate out full, empty returned), each with the vessel and voyage where there is one. Planned moves are left out; the final ETA is
estimatedDelivery. - Times: Maersk gives each move's local time without a zone, so
localTimeis set andtimestampis null. - Status:
GATE-OUTof an empty box on the export leg islabel_created,GATE-OUTof a full box on the import leg isout_for_delivery, andCONTAINER RETURNisdelivered(the trip is over). - Hamburg Süd (
SUDU) containers are tracked on maersk.com and detect tomaersk.
Related
- Look up a container on the site: Maersk container tracking
- Every line: Container tracking API and Carriers
- Prefixes and check digits: Container number formats
- Push updates: Watches and webhooks
Carriers
The 16 ocean container lines, their carrier ids and SCACs, the ISO 6346 owner prefixes each one detects, and when to pass ?carrier= for bills of lading and leased containers.
MSC Container Tracking API & MCP
Track MSC containers (MSCU, MEDU, MSDU, MSMU, MSNU, MSBU) and bills of lading (MEDU) with one REST GET or MCP tool call. Normalized milestones, vessel and voyage, POL/POD and ETA, with no carrier account.