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

PropertyValue
Carrier slug (?carrier=)nationex
Brand aliasesNationex, Nationex Courier
CategoryCanadian domestic courier (Quebec, Ontario, Atlantic and Western Canada)
Single-package REST endpointGET https://api.lastscanned.com/v1/track/{trackingNumber}?carrier=nationex
Batch REST endpointGET 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 & pricingAuthorization: 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

PassRule / RegexCheck DigitExamples
Pass 1 (matches)Nonenonenone
Pass 2 (mayMatch)Nonenonenone
Explicit (?carrier=nationex)Nationex numbers and shipper referencesnone1234567890

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 localTime is set and timestamp is null.
  • Unknown numbers: Nationex answers "Sorry, no results.", which comes back as 404 not_found.

On this page