How to track Yunda Express Spain parcels handed off to Correos (`PQ...`) & Correos Express

Yunda Express (`yunda`) consolidates Chinese e-commerce shipments bound for Spain, pre-registers a 23-character Spanish Correos `PQ...` barcode, and injects cleared parcels into Correos at Madrid-Barajas / Coslada.

Try a live tracking number:

Barcode transition: Yunda Express to Correos (Spain)

When Yunda Express clears customs and hands off to Correos (Spain), lastscanned surfaces the secondary tracking number in the top-level message field.

Origin / middle-mile carrier
Yunda Express (yunda)
Yunda International Waybill
^(YD[A-Z0-9]{10,16}|[0-9]{13,15})$
Origin example
YD9482019503ES
Final-mile carrier
Correos (Spain) (correos)
Correos Paq (`PQ...`) Barcode
^PQ[A-Z0-9]{18,22}$
Final-mile example
PQ48290418293847561067E
Extracted in .message
Final carrier: Correos (PQ48290418293847561067E)

How the Yunda → Correos handoff works

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

1. Yunda Origin Consolidation & `PQ...` Label Generation
Yunda Express sorts the parcel in China and electronically pre-registers a 23-character Spanish Correos `PQ...` label (`Pre-registrado`).
2. Air Transit & Madrid Customs Release
Pallets fly into Madrid-Barajas (MAD) or Liège (LGG), clear EU IOSS customs, and transfer to Correos's CTA Madrid hub.
3. Correos `En reparto` Delivery
Correos scans `Admitido` → `En reparto` and delivers the package across Spain within 48–72 hours.
Pre-Advised `PQ...` Barcode
Yunda's tracking feed links the origin waybill to the Spanish `PQ...` Correos barcode prior to export departure.
Unified API Timeline
Querying `GET /v1/track/{number}` merges Yunda China scans with Correos Spain delivery events.

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

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

Yunda Express to Correos Spain Handoff Tracking FAQ

Why does Correos show 'Pre-registrado' on my Yunda Express package?
`Pre-registrado` indicates Yunda transmitted the electronic label data to Correos from China; Correos scans `Admitido` once the parcel arrives in Madrid and clears customs.
How long does Yunda Express take to deliver to Spain?
Standard delivery from China to Peninsular Spain takes 7 to 12 business days.
Can I receive my Yunda → Correos package at a Citypaq locker?
Yes—if your Correos account or checkout address designates a Citypaq locker or Oficina de Correos, Correos deposits the `PQ...` parcel there and sends a pickup PIN.

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