Track UBI Smart Parcel (AU…) shipments and extract the destination last-mile barcode cleanly.

UBI Smart Parcel (AU + 13 digits, plus 23-digit 33… Australia Post eParcel barcodes with ?carrier=ubi) is a premier cross-border consolidator into Australia, New Zealand, Canada, and the US. Raw UBI feeds often mix duplicate origin and destination partner scans; lastscanned deduplicates the timeline, resolves local timezones, and extracts the final-mile carrier and tracking number into message.

Barcode transition: UBI Smart Parcel to Australia Post / Local Last-Mile

When UBI Smart Parcel clears customs and hands off to Australia Post / Local Last-Mile, lastscanned surfaces the secondary tracking number in the top-level message field.

Origin / middle-mile carrier
UBI Smart Parcel (ubi)
UBI Smart Parcel Waybill
AU + 13 digits (/^AU\d{13}$/) or 33… eParcel barcode with ?carrier=ubi
Origin example
AU2250261284001
Final-mile carrier
Australia Post / Local Last-Mile (sendle)
Australia Post / Canada Post / USPS Last-Mile
33… (23-char AusPost eParcel), 16-digit Canada Post PIN, or 92… USPS IMpb
Final-mile example
33XHG528640101000935104
Extracted in .message
Handed to Australia Post as 33XHG528640101000935104

How the UBI Smart Parcel → Local Last-Mile handoff works

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

1. Query the 15-character AU… UBI waybill
Call GET /v1/track/AU2250261284001. lastscanned auto-detects ubi in Pass 1 and returns deduplicated origin export and customs clearance scans.
2. Extract the destination barcode from message
lastscanned surfaces the destination carrier and final-mile barcode in message (e.g. 'Handed to Australia Post as 33X...' or 'Handed to Canada Post as ...').
3. Track the full journey on one endpoint
For 23-character 33… eParcel barcodes managed by UBI, you can also pass ?carrier=ubi directly to retrieve the end-to-end scan history.
Pass 1 auto-detection
/^AU\d{13}$/ routes automatically to ubi.
eParcel override
Pass ?carrier=ubi on 33… Australia Post eParcel barcodes or UBI reference numbers.
Australian domestic courier coverage
Pair with Sendle (QSS… / QS…) and Dragonfly (INTLCM…) for complete Australian e-commerce tracking.

Chain UBI Smart Parcel → Local Last-Mile 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 UBI Smart Parcel origin waybill (extracts final-mile barcode in .message):
curl "https://api.lastscanned.com/v1/track/AU2250261284001" \
  -H "Authorization: Bearer lsk_live_YOUR_API_KEY"

# 2. Query the extracted Australia Post / Local Last-Mile barcode:
curl "https://api.lastscanned.com/v1/track/33XHG528640101000935104" \
  -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 ("Handed to Australia Post as 33XHG528640101000935104")
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"

UBI Smart Parcel to Australia Post / Local Last-Mile Handoff Tracking FAQ

What carrier uses a 15-character tracking number starting with AU followed by 13 digits?
Tracking numbers matching /^AU\d{13}$/ (such as AU2250261284001) belong to UBI Smart Parcel (carrier code: ubi).
How do I find the local Australia Post, Canada Post, or USPS tracking number for a UBI parcel?
Query GET /v1/track/AU... on lastscanned. When UBI assigns a separate local tracking number, it is returned in the top-level message field.

All 31 supported carriers