Carriers
Nationex Tracking API & MCP
Query live Nationex (nationex) parcel status, delivery contact and scan history in a single synchronous GET request or MCP tool call. lastscanned reads the same service the tracker on nationex.com uses, so no account or API key is needed.
Overview & Quick Facts
| Property | Value |
|---|---|
Carrier slug (?carrier=) | nationex |
| Brand aliases | Nationex, Nationex Courier |
| Category | Canadian domestic courier (Quebec, Ontario, Atlantic and Western Canada) |
| Single-package REST endpoint | GET https://api.lastscanned.com/v1/track/{trackingNumber}?carrier=nationex |
| Batch REST endpoint | GET https://api.lastscanned.com/v1/track?numbers=...&carrier=nationex |
MCP server (https://mcp.lastscanned.com) | track_package, track_packages, list_carriers (claude mcp add --transport http lastscanned https://mcp.lastscanned.com) |
| Authentication & pricing | Authorization: Bearer lsk_live_... · 1 free keyless lookup/day per IP · Free tier (5 unique numbers/day, $0) · Pro ($4.99/mo for 1,000 unique numbers, unlimited re-polls, $0.015/extra) · HTTP 402 Stripe MPP ($0.50 for 25-number lsk_pack_ key or $0.02/number in USDC on Tempo) |
Tracking Number Formats & Auto-Detection
| Pass | Rule / Regex | Check Digit | Examples |
|---|---|---|---|
Pass 1 (matches) | None | none | none |
Pass 2 (mayMatch) | None | none | none |
Explicit (?carrier=nationex) | Nationex numbers and shipper references | none | 1234567890 |
Nationex numbers are plain digits or shipper references, so a number is never auto-detected as Nationex. Always pass ?carrier=nationex.
Synchronous GET Request & Normalized JSON Response
curl
curl -s "https://api.lastscanned.com/v1/track/1234567890?carrier=nationex" \
-H "Authorization: Bearer $LASTSCANNED_API_KEY"JavaScript / TypeScript (fetch)
const res = await fetch("https://api.lastscanned.com/v1/track/1234567890?carrier=nationex", {
headers: { Authorization: `Bearer ${process.env.LASTSCANNED_API_KEY}` },
});
const pkg = await res.json();
console.log(pkg.status, pkg.events[0]);MCP track_package tool call
{
"tool": "track_package",
"arguments": {
"tracking_number": "1234567890",
"carrier": "nationex"
}
}Normalized TrackingResult JSON response
{
"carrier": "nationex",
"trackingNumber": "1234567890",
"status": "delivered",
"statusDescription": "Delivery completed",
"service": null,
"deliveredAt": null,
"deliveredAtLocal": "2026-02-06T09:33:06",
"signedBy": "Phanie",
"destination": { "city": "Montreal", "state": null, "country": "CA" },
"estimatedDelivery": null,
"events": [
{
"timestamp": null,
"localTime": "2026-02-06T09:33:06",
"status": "delivered",
"description": "Delivery completed",
"location": "Montreal Gilmore",
"code": "119"
},
{
"timestamp": null,
"localTime": "2026-02-06T06:45:31",
"status": "out_for_delivery",
"description": "Parcel out for delivery",
"location": "Montreal Gilmore",
"code": "900"
},
{
"timestamp": null,
"localTime": "2026-02-05T19:27:16",
"status": "in_transit",
"description": "Pickup of the parcel confirmed",
"location": "St-Hubert",
"code": "252"
}
]
}Notes
- Lookup keys: the number can be a Nationex shipment or parcel number or the shipper's own reference. For a multi-parcel shipment, the parcel matching the number is shown, else the first.
- Times: scans name a depot but no province, so only
localTimeis set andtimestampisnull. - Unknown numbers: Nationex answers "Sorry, no results.", which comes back as
404 not_found.
Related Resources
- Carrier hub: All supported carriers
- Regex & check digits: Tracking number formats & auto-detection
- AI support workflows: WISMO AI agents & synchronous tracking
GLS Canada (Dicom) Tracking API & MCP
Track GLS Canada (formerly Dicom) parcels via a synchronous REST GET or MCP. Normalized JSON status and scan history, with no carrier credentials required.
bpost Tracking API & MCP
Track bpost shipments (RR123456785BE UPU S10 numbers) via synchronous REST GET or MCP. Normalized JSON status and scan history, no carrier credentials required.