Carriers

Canpar Express Tracking API & MCP

Query live Canpar Express (canpar, a TFI company) package status, signature and scan history in a single synchronous GET request or MCP tool call. lastscanned reads the same public service the tracker on canpar.com uses, so no account or API key is needed.

Overview & Quick Facts

PropertyValue
Carrier slug (?carrier=)canpar
Brand aliasesCanpar, Canpar Express, Canpar Courier
CategoryCanadian domestic and Canada-US courier
Single-package REST endpointGET https://api.lastscanned.com/v1/track/{trackingNumber}?carrier=canpar
Batch REST endpointGET https://api.lastscanned.com/v1/track?numbers=...&carrier=canpar
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)/^D\d{15}$/ (D plus 15 digits)noneD426932100090013
Pass 2 (mayMatch)Nonenonenone
Explicit (?carrier=canpar)16-digit barcodes, P pickup tags, W delivery noticesnone1234567890123456

Synchronous GET Request & Normalized JSON Response

curl

curl -s "https://api.lastscanned.com/v1/track/D426932100090013?carrier=canpar" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"

JavaScript / TypeScript (fetch)

const res = await fetch("https://api.lastscanned.com/v1/track/D426932100090013?carrier=canpar", {
  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": "D426932100090013",
    "carrier": "canpar"
  }
}

Normalized TrackingResult JSON response

{
  "carrier": "canpar",
  "trackingNumber": "D426932100090013",
  "status": "out_for_delivery",
  "statusDescription": "Out for delivery",
  "service": "Ground",
  "deliveredAt": null,
  "deliveredAtLocal": null,
  "signedBy": null,
  "destination": { "city": "Calgary", "state": "AB", "country": "CA" },
  "estimatedDelivery": "2026-10-27",
  "events": [
    {
      "timestamp": "2026-10-27T13:05:12Z",
      "localTime": "2026-10-27T07:05:12",
      "status": "out_for_delivery",
      "description": "Out for delivery",
      "location": "Calgary, AB",
      "code": "OFD"
    },
    {
      "timestamp": "2026-10-26T22:41:03Z",
      "localTime": "2026-10-26T18:41:03",
      "status": "in_transit",
      "description": "Arrived at terminal",
      "location": "Toronto, ON",
      "code": "ARR"
    }
  ]
}

Notes

  • Time zones: scan times are local to the terminal with no zone, so timestamp is derived from the province of the scan's address (Canadian provinces and territories). A scan with no address keeps only localTime.
  • Unknown numbers: Canpar answers a number it has no record of with an empty result, which comes back as 404 not_found.
  • Other shapes: pickup tags (P...), delivery notices (W...) and 16-digit barcodes are not auto-detected; pass ?carrier=canpar.
  • Sister brands: Loomis Express is also part of TFI but runs its own tracker.

On this page