Track container location and status by bill of lading or container number using a major ocean carrier's tracking API

domain: developer.maersk.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register for the Maersk Developer Portal and subscribe to the Track and Trace API product to receive a consumer key
  2. Send a GET request to the tracking endpoint with either the bill of lading number or container number as the query parameter
  3. Parse the response's transportEvents array to extract event type, location, actual/estimated time, vessel name, voyage number, and facility code for each milestone
  4. Identify key milestone events such as GATE_IN, VESSEL_DEPARTED, VESSEL_ARRIVED, GATE_OUT, and EMPTY_RETURNED to build a milestone timeline
  5. Display or store the tracking data noting the source field on each event to distinguish carrier-confirmed actual events from estimated future events

Known gotchas

Related routes

Track ocean container milestones via carrier and terminal APIs and handle milestone code variance
logistics-general · 6 steps · unrated
Track ocean container milestones and subscribe to push events using the Maersk Track and Trace Plus API
developer.maersk.com · 6 steps · unrated
Implement container tracking across ocean carrier, terminal, and rail legs using the DCSA Track and Trace v2.2 TransportEvent subscription model
dcsa.org · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans