How to track SunYou (`SY...` / `SYES...`) Spain parcels handed off to Correos (`PQ...`) & EcoScooting

SunYou Post (`sypost`) consolidates Chinese e-commerce orders for Spain (`SY...` / `SYES...`), pre-registers a 23-character Spanish Correos `PQ...` or EcoScooting barcode, and injects cleared shipments at Madrid.

Try a live tracking number:

Barcode transition: SunYou Post (SyTrack) to Correos (Spain)

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

Origin / middle-mile carrier
SunYou Post (SyTrack) (sypost)
SunYou Waybill (`SY...` / `SYES...`)
^SY[A-Z0-9]{10,15}$
Origin example
SYES849201948
Final-mile carrier
Correos (Spain) (correos)
Correos Paq (`PQ...`) Barcode
^PQ[A-Z0-9]{18,22}$
Final-mile example
PQ48290418293847561105J
Extracted in .message
Final mile tracking: PQ48290418293847561105J (Correos)

How the SunYou → Correos handoff works

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

1. SunYou Origin Consolidation & `PQ...` Pre-Registration
SunYou sorts the parcel in Shenzhen/Dongguan (`SY...` / `SYES...`) and generates a 23-character Spanish Correos `PQ...` barcode (`Pre-registrado`).
2. Air Linehaul & Madrid Customs Clearance
Shipments fly into Madrid-Barajas (MAD) or Liège (LGG), clear EU IOSS customs, and transfer to Correos's CTA Madrid hub in Coslada.
3. Correos Final Delivery (`En reparto`)
Correos scans `Admitido` → `En reparto` and delivers the parcel across Spain within 48–72 hours.
`SYES...` Direct Line Extraction
SunYou Spain Special Line (`SYES...`) shipments embed the 23-character `PQ...` Correos or EcoScooting barcode in the origin tracking metadata.
Unified JSON Timeline
`GET /v1/track/{number}` merges SunYou export milestones with Correos Spain delivery scans.

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

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

SunYou (SyTrack) to Correos Spain Handoff Tracking FAQ

How do I find my Correos `PQ...` tracking number from a SunYou `SYES...` code?
Query `GET /v1/track/{number}` with your `SY...` or `SYES...` code to extract the Spanish `PQ...` Correos barcode and live Spanish scan events.
How long does SunYou Special Line (`SYES...`) take to deliver to Spain?
Typical delivery time from China to Peninsular Spain is 8 to 13 calendar days.
Why does Correos.es show 'Pre-registrado' while SunYou says 'Arrived at destination airport'?
After the flight lands in Europe, it takes 1 to 3 business days for customs clearance and pallet handover before Correos scans `Admitido` in Madrid.

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