How to track YDH Express (`YDH...`) Germany parcels handed off to DHL Paket & Hermes

YDH Express (`ydhex`) consolidates cross-border Chinese e-commerce shipments bound for Germany (`YDH...`), generates a 20-digit German DHL Paket (`0034...`) or Hermes barcode, and injects cleared freight into DHL Germany after EU customs clearance.

Try a live tracking number:

Barcode transition: YDH Express to DHL Paket / Hermes (Germany)

When YDH Express clears customs and hands off to DHL Paket / Hermes (Germany), lastscanned surfaces the secondary tracking number in the top-level message field.

Origin / middle-mile carrier
YDH Express (ydhex)
YDH Express Waybill (`YDH...` / `0034...`)
^(YDH[A-Z0-9]{9,15}|0034[0-9]{16})$
Origin example
YDHDE849201948
Final-mile carrier
DHL Paket / Hermes (Germany) (dhl)
DHL Paket 20-digit Barcode (`0034...`)
^0034[0-9]{16}$
Final-mile example
00340434291849202013
Extracted in .message
Final carrier: DHL Paket (00340434291849202013)

How the YDH Express → DHL Germany handoff works

Follow the parcel across both networks without waiting on asynchronous webhooks or losing visibility at the handoff boundary.

1. YDH Origin Sortation & `0034...` Pre-Advice
YDH Express sorts the parcel in China (`YDH...`) and electronically registers a 20-digit German DHL Paket (`0034...`) label.
2. European Air Linehaul & Customs Clearance
Cargo lands at Liège (LGG) or Frankfurt (FRA), clears EU IOSS customs, and trucks into a German DHL Paketzentrum.
3. DHL Paket Final Delivery
DHL scans `Die Sendung wurde im Start-Paketzentrum bearbeitet` and delivers across Germany within 24–48 hours.
Secondary `0034...` Barcode Extraction
`lastscanned` extracts the 20-digit German DHL Paket `0034...` barcode from YDH Express's cross-border tracking metadata.
Single-Call Resolution
`GET /v1/track/{number}` stitches YDH Express Chinese origin scans with DHL Paket German delivery events.

Chain YDH Express → DHL Germany in code or MCP

Resolve both legs synchronously in TypeScript, curl, or your AI support agent via Streamable HTTP MCP.

REST (Synchronous GET)

# 1. Query YDH Express origin waybill (extracts final-mile barcode in .message):
curl "https://api.lastscanned.com/v1/track/YDHDE849201948" \
  -H "Authorization: Bearer lsk_live_YOUR_API_KEY"

# 2. Query the extracted DHL Paket / Hermes (Germany) barcode:
curl "https://api.lastscanned.com/v1/track/00340434291849202013" \
  -H "Authorization: Bearer lsk_live_YOUR_API_KEY"

TypeScript (Automatic Handoff Chaining)

const headers = { Authorization: `Bearer ${process.env.LASTSCANNED_API_KEY}` };
const originRes = await fetch(`https://api.lastscanned.com/v1/track/${encodeURIComponent(number)}`, { headers });
const originPkg = await originRes.json();

// Extract secondary barcode from top-level message ("Final carrier: DHL Paket (00340434291849202013)")
const handoff = originPkg.message?.match(/^Handed to (.+?) as ([A-Z0-9-]+)$/i);
if (handoff) {
  const [, , lastMileNumber] = handoff;
  const destRes = await fetch(`https://api.lastscanned.com/v1/track/${encodeURIComponent(lastMileNumber)}`, { headers });
  const destPkg = await destRes.json();
}

Remote MCP (Claude Code / Cursor / ChatGPT)

claude mcp add --transport http lastscanned https://mcp.lastscanned.com \
  --header "Authorization: Bearer lsk_live_YOUR_API_KEY"

YDH Express to DHL Germany Handoff Tracking FAQ

How do I find my German DHL `0034...` number from a YDH Express tracking code?
Query `GET /v1/track/{number}` with your `YDH...` tracking number to extract the 20-digit DHL Paket barcode and German delivery scans.
How long does YDH Express take to deliver to Germany?
Standard transit from China to Germany via YDH Express and DHL Paket takes 6 to 11 business days.
Why is my DHL `0034...` number from YDH stuck on 'Auftragsdaten elektronisch übermittelt'?
YDH transmits the electronic label from China before export; DHL scans the parcel once the physical flight lands in Europe and clears customs.

Other carrier handoff guides

Explore cross-border last-mile barcode extraction and domestic USPS consolidator overrides across all 273 carriers.

All 273 supported carriers

International posts and couriers

Cross-border