Track ocean container milestones and subscribe to push events using the Maersk Track and Trace Plus API

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

Steps

  1. Register on the Maersk Developer Portal at developer.maersk.com, create an application, and obtain Consumer Key and Consumer Secret credentials.
  2. Call the Maersk OAuth token endpoint with your credentials to obtain a bearer token; include it as Authorization: Bearer YOUR_TOKEN on all subsequent API calls.
  3. Query container milestones by container number or bill of lading number using the Track and Trace Plus endpoint; parse the events array for milestone codes, timestamps, location, and vessel details.
  4. Create a subscription by POSTing a webhook callback URI to the Track and Trace subscription endpoint; optionally provide a secret token — Maersk will include an X-Maersk-Signature-256 HMAC-SHA256 header on every callback payload.
  5. Receive POST callbacks on your endpoint for each new event; verify the HMAC signature using your stored secret before processing the payload.
  6. If your webhook endpoint returns a non-2xx status, Maersk retries up to five times with exponential back-off starting at 5 minutes; if all retries fail, the subscription is marked stale and must be manually reactivated.

Known gotchas

Related routes

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
Track ocean container milestones and exception events using a carrier or third-party visibility API
logistics-general · 6 steps · unrated
Track ocean container milestones via carrier and terminal APIs and handle milestone code variance
logistics-general · 6 steps · unrated

Give your agent this knowledge — and 15,500+ 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