Carriers

Lightning Express Tracking API & MCP

Query live Lightning Express (lightningexpress) package status and scan history in a single synchronous GET request or MCP tool call.

Overview & Quick Facts

PropertyValue
Carrier slug (?carrier=)lightningexpress
Brand aliasesLightning Express, Lightning Express CA, lightningexpressca.com
CategoryCanadian parcel delivery (Lightning Express CA)
Single-package REST endpointGET https://api.lastscanned.com/v1/track/{trackingNumber}
Batch REST endpointGET https://api.lastscanned.com/v1/track?numbers=YYZ123202601011234,...
MCP server (https://mcp.lastscanned.com)track_package, track_packages, list_carriers
Authentication & pricingAuthorization: Bearer lsk_live_... · 1 free keyless lookup/day per IP

Tracking Number Formats & Auto-Detection

PassRule / RegexCheck DigitExamples
Pass 1 (matches)/^[A-Z]{3}\d{3}20\d{2}[01]\d[0-3]\d\d{4}$/ (spaces optional)noneYYZ123 20260101 1234
Pass 2 (mayMatch)nonenonenone

The region + creation date + sequence shape belongs to Lightning Express alone, with or without the spaces.

Synchronous GET Request & Normalized JSON Response

curl -s "https://api.lastscanned.com/v1/track/YYZ123 20260101 1234?carrier=lightningexpress" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
{
  "carrier": "lightningexpress",
  "trackingNumber": "YYZ123 20260101 1234",
  "status": "delivered",
  "statusDescription": "Delivered",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": "2026-01-01T18:05:43",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": null,
      "localTime": "2026-01-01T18:05:43",
      "status": "delivered",
      "description": "Delivered",
      "location": null,
      "code": "2"
    },
    {
      "timestamp": null,
      "localTime": "2026-01-01T18:03:43",
      "status": "in_transit",
      "description": "Received",
      "location": null,
      "code": "1"
    },
    {
      "timestamp": null,
      "localTime": "2026-01-01T15:10:38",
      "status": "label_created",
      "description": "Label created",
      "location": null,
      "code": "0"
    }
  ]
}

Notes

  • Spaces: waybills are printed YYZ123 20260101 1234; the API accepts them with or without the spaces and the result echoes the number without spaces.
  • Steps: the API gives one time per step (created, received, collected, completed, returned), not a scan list, so each step with a time becomes an event.
  • Time zone: the API does not state one, so only localTime is given.

On this page