Retrieve real-time DHL Express shipment tracking events via the DHL Express MyDHL API track endpoint

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

Steps

  1. Authenticate to the MyDHL API using HTTP Basic Auth with your DHL API key and secret, or the OAuth 2.0 flow if your account tier requires it
  2. GET /track/shipments?trackingNumber={waybill} to retrieve the full tracking event list; the response includes a 'shipments' array with events, each containing a timestamp, location, and description
  3. Parse the 'events[].status' and 'events[].description' fields; DHL uses its own status vocabulary (e.g., 'transit', 'delivered', 'delivery-failure') separate from other carrier codes
  4. For proactive notifications, configure DHL push notifications in the MyDHL+ portal or use the webhook-based push tracking setup if available on your contract tier
  5. Handle 404 responses gracefully: newly created waybills may not appear in the tracking system for up to 30 minutes after shipment confirmation

Known gotchas

Related routes

Retrieve DHL Express shipment tracking via the MyDHL API
dhl.com · 5 steps · unrated
Track a USPS package and retrieve delivery events using the USPS APIs v3 Tracking endpoint
usps.com · 5 steps · unrated
Receive DHL Express push tracking notifications via webhook
developer.dhl.com · 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