Track YunExpress UK linehaul shipments into Evri or Royal Mail final mile.

YunExpress UK direct-line parcels (YT…) clear HMRC customs at Heathrow or East Midlands and induct into Evri (H00…) or Royal Mail (..GB) for final UK delivery.

Try a live tracking number:

Barcode transition: YunExpress to Evri

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

Origin / middle-mile carrier
YunExpress (yunexpress)
YunExpress 18-char (YT + 16 digits)
^YT\d{16}$
Origin example
YT2411321272099999
Final-mile carrier
Evri (evri)
Evri 16-char (H00…)
^H00[A-Z0-9]{13}$
Final-mile example
H0067A0012345678
Extracted in .message
Last-mile number: H0067A0012345678 (Evri)

How the YunExpress → Evri handoff works

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

1. UK barcode pre-allocation
YunExpress generates the Evri (H00…) or Royal Mail barcode at origin, triggering We are expecting your parcel on Evri.
2. Air uplift & HMRC customs clearance
The YT… parcel flies from Shenzhen/Hong Kong to London Heathrow (LHR) or East Midlands (EMA) and clears UK customs.
3. Evri national hub induction
Evri scans the parcel at Rugby/Barnsley and routes it to the local UK courier.
Origin query
GET /v1/track/YT2411321272099999
Final-mile query
GET /v1/track/H0067A0012345678?carrier=evri
Typical handoff window
4–7 calendar days from China departure to UK hub scan

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

# 2. Query the extracted Evri barcode:
curl "https://api.lastscanned.com/v1/track/H0067A0012345678" \
  -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: H0067A0012345678 (Evri)")
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"

YunExpress to Evri & Royal Mail (UK) Handoff Tracking FAQ

Why does Evri say We are expecting your parcel on a YunExpress order?
Evri receives the electronic pre-advice when the label is created in China, but only scans the parcel after YunExpress clears UK customs and delivers the cage to Evri.
Does lastscanned support both YunExpress and Evri without requiring a UK postcode?
Yes. Unlike 17TRACK (which requires extra postcode parameters for many UK couriers), lastscanned tracks YT… and Evri/Royal Mail barcodes synchronously.

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