Carriers
Carrier ids
GET /v1/carriers lists the carrier ids you can pass as carrier. No key needed.
curl https://api.containerfeed.com/v1/carriers{
"carriers": ["maersk", "msc", "cmacgm", "cosco", "hapaglloyd", "one", "evergreen", "hmm", "yangming", "zim", "oocl", "wanhai", "pil", "matson", "kmtc", "crowley"],
"zipcode": []
}zipcode lists carriers that need a postcode to show a shipment. No shipping line does, so it is empty.
Lines, prefixes and SCACs
A container number is detected from its owner prefix (the first four letters) once its ISO 6346 check digit passes. A bill of lading has no check digit and its prefix is not unique, so it always needs ?carrier=. Select a line for its request examples, milestones and notes.
Global container lines
| Line | id | SCAC | Owner prefixes detected | Bill of lading | Example container |
|---|---|---|---|---|---|
| Maersk | maersk | MAEU | MSKU MRKU MRSU MNBU SUDU | MAEU + reference, ?carrier=maersk | MSKU7812341 |
| MSC | msc | MSCU | MSCU MEDU MSDU MSMU MSNU MSBU | MEDU + reference, ?carrier=msc | MEDU1234562 |
| CMA CGM | cmacgm | CMDU | CMAU CGMU ECMU APHU APZU | CMDU + reference, ?carrier=cmacgm | CMAU4821035 |
| COSCO Shipping | cosco | COSU | CSNU CBHU CCLU CSLU FCIU | COSU + reference, ?carrier=cosco | CSNU8123465 |
| Hapag-Lloyd | hapaglloyd | HLCU | HLXU HLBU HAMU UACU | HLCU + reference, ?carrier=hapaglloyd | HLXU8173257 |
| ONE (Ocean Network Express) | one | ONEY | ONEU KKFU | ONEY + reference, ?carrier=one | ONEU1234566 |
| Evergreen | evergreen | EGLV | EGHU EGSU EISU EITU | EGLV + reference, ?carrier=evergreen | EGHU9123457 |
| HMM | hmm | HDMU | HDMU HMMU | HDMU + reference, ?carrier=hmm | HDMU6310941 |
| Yang Ming | yangming | YMLU | YMMU | YMLU + reference, ?carrier=yangming | YMMU6123458 |
| ZIM | zim | ZIMU | ZIMU ZCSU | ZIMU + reference, ?carrier=zim | ZIMU5528710 |
| OOCL | oocl | OOLU | OOLU OOCU | OOLU + reference, ?carrier=oocl | OOLU9204635 |
Regional and niche lines
| Line | id | SCAC | Owner prefixes detected | Bill of lading | Example container |
|---|---|---|---|---|---|
| Wan Hai Lines | wanhai | WHLC | WHLU WHSU | WHLC + reference, ?carrier=wanhai | WHLU5712082 |
| PIL (Pacific International Lines) | pil | PABV | PCIU | PABV + reference, ?carrier=pil | PCIU8031522 |
| Matson | matson | MATS | MATU | MATS + reference, ?carrier=matson | MATU2647199 |
| KMTC | kmtc | KMTC | KMTU | KMTC + reference, ?carrier=kmtc | KMTU7381057 |
| Crowley | crowley | CAMN | CMCU | CAMN + reference, ?carrier=crowley | CMCU5902317 |
Every example container has a valid ISO 6346 check digit. The check digit algorithm and a worked example are in Container number formats.
Numbers that need ?carrier=
Detection only names a line when the number's prefix belongs to it. Pass carrier for:
- Bills of lading and booking numbers. Always. For example
?carrier=maerskwith aMAEU…bill. - Leased containers. About half of all containers belong to leasing companies (Textainer
TGHU, TritonTCNUandTRHU, CAICAIU, SeaCoSEGUand others) and sail with any line. Pass the line the container is booked with. - Shipper-owned containers (SOC). The prefix belongs to the shipper or a forwarder, not the line.
- A line's prefix that isn't listed above. Lines buy and lease boxes under more prefixes than they publish. If a container booked with a line isn't detected, name the line.
Without carrier, these answer 400 unknown_carrier and are not billed. With a carrier that isn't in the list, the answer is also 400 unknown_carrier, and the message suggests the closest ids.
On the batch route, carrier applies to every number in the request, so send leased containers for different lines in separate requests.
Container tracking webhooks: watches and signed events
Watch containers and bills of lading, and get a signed tracking.updated webhook when a milestone, the vessel or voyage, the POL/POD or the ETA changes. No carrier EDI or webhook setup. Optional Terminal49-compatible payload.
Maersk Container Tracking API & MCP
Track Maersk containers (MSKU, MRKU, MRSU, MNBU, SUDU) and bills of lading (MAEU) with one REST GET or MCP tool call. Normalized milestones, vessel and voyage, POL/POD and ETA, with no carrier account.