DHL package tracking, and the API behind it.

Express waybills, eCommerce and Paket numbers. Other 12- and 20-digit Paket numbers need ?carrier=dhl. One free lookup a day, no sign-up.

Also known as DHL Express, DHL eCommerce, Deutsche Post, DHL Paket.

DHL tracking numbers

We recognize these formats from the number alone. For anything else from DHL, add ?carrier=dhl.

Express waybill, mod 7 check digit
10 digits
Express piece ID
JD or JJD + 10–20 digits
eCommerce
GM + 16–20 digits
Paket SSCC
0034043 + 13 digits
Deutsche Post international
2 letters + 9 digits + DE
Example (format only)
1234567891
Category
Major carriers
API carrier code
dhl

DHL tracking API quickstart

One request per number, or up to 100 at once with ?numbers=a,b,c. Your agents can use the same data over MCP.

REST

curl "https://api.lastscanned.com/v1/track/1234567891?carrier=dhl"

Claude Code

claude mcp add --transport http lastscanned https://mcp.lastscanned.com

Then ask

> Where is my DHL package 1234567891? When will it arrive?

DHL tracking FAQ

How do I track a DHL package?
Paste the tracking number into the lookup on this page. We read DHL's own tracking data and show every scan, the current status and the delivery details. Anyone can do one lookup a day without signing up.
Is there a DHL tracking API?
Yes. GET https://api.lastscanned.com/v1/track/:number?carrier=dhl returns DHL tracking as JSON, in the same shape as every other carrier lastscanned covers. Sign up for a free key with 5 lookups a day, or Pro for $4.99 a month with 1,000 numbers.
What does a DHL tracking number look like?
Express waybill, mod 7 check digit: 10 digits; Express piece ID: JD or JJD + 10–20 digits; eCommerce: GM + 16–20 digits; Paket SSCC: 0034043 + 13 digits; Deutsche Post international: 2 letters + 9 digits + DE. For example 1234567891. lastscanned recognizes these formats on its own, so ?carrier=dhl is optional for them.
Does this work for DHL Express and DHL eCommerce and Deutsche Post and DHL Paket numbers?
Yes. They are tracked through DHL and come back as carrier "dhl".
Can an AI agent track DHL packages?
Yes. Add lastscanned as an MCP server (https://mcp.lastscanned.com) in Claude, ChatGPT, Cursor or VS Code and ask it where a DHL parcel is.

Other carriers

Tracking pages are for people. This is for your code.

Every carrier shows a parcel differently. lastscanned reads them all and answers in one shape, so your app, your spreadsheet or your agent handles any carrier the same way.

Carrier websitelastscanned API
CarriersOne carrier per site18 carriers behind one endpoint
ResponseA web page to readThe same JSON for every carrier
VolumeOne number at a timeUp to 100 numbers per request
AgentsCopy and pasteMCP server for Claude, ChatGPT and Cursor
AutomationCheck back by handPoll from your own code or workflow

Free: 5 numbers a day with a key. Pro: $4.99 a month for 1,000 numbers, then $0.015 each.