Track Yanwen cross-border shipments through Schiphol into PostNL.

Yanwen Logistics routes European parcels through Amsterdam Schiphol (AMS) into PostNL (3S… / S10 ..NL) for Dutch domestic and pan-European delivery.

Try a live tracking number:

Barcode transition: Yanwen to PostNL

When Yanwen clears customs and hands off to PostNL, lastscanned surfaces the secondary tracking number in the top-level message field.

Origin / middle-mile carrier
Yanwen (yanwen)
Yanwen 13-char (..YP)
^[A-Z]{2}\d{9}YP$
Origin example
UJ948102938YP
Final-mile carrier
PostNL (postnl)
PostNL 3S… or S10 (..NL)
^3S[A-Z0-9]{11,13}$|^[A-Z]{2}\d{9}NL$
Final-mile example
3STNLA123456789
Extracted in .message
Last-mile number: 3STNLA123456789 (PostNL)

How the Yanwen → PostNL handoff works

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

1. Yanwen origin sort & PostNL pre-advice
Yanwen links a PostNL 3S… or ..NL barcode at origin, causing PostNL to show The item is pre-advised.
2. Air transit to Amsterdam Schiphol (AMS)
The parcel flies from China to the Netherlands and clears EU customs.
3. PostNL sorting center induction
PostNL scans the parcel at its International Mail Center (IMC) and delivers in 1–2 days.
Origin query
GET /v1/track/UJ948102938YP?carrier=yanwen
Final-mile query
GET /v1/track/3STNLA123456789?carrier=postnl
Typical handoff window
4–8 calendar days from China export to Amsterdam induction

Chain Yanwen → PostNL 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 Yanwen origin waybill (extracts final-mile barcode in .message):
curl "https://api.lastscanned.com/v1/track/UJ948102938YP" \
  -H "Authorization: Bearer lsk_live_YOUR_API_KEY"

# 2. Query the extracted PostNL barcode:
curl "https://api.lastscanned.com/v1/track/3STNLA123456789" \
  -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 ("Last-mile number: 3STNLA123456789 (PostNL)")
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"

Yanwen to PostNL (Netherlands & EU) Handoff Tracking FAQ

What does The item is pre-advised mean on PostNL tracking?
It means Yanwen has transmitted the electronic manifest to PostNL, and the physical parcel is currently in transit from China to the PostNL International Mail Center in Amsterdam.
Can I track PostNL 3S barcodes without extra postal code parameters?
Yes. Pass the Yanwen or PostNL tracking number to GET /v1/track/{number} on lastscanned.

Other carrier handoff guides

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

All 200 supported carriers

International posts and couriers

Cross-border