Carriers

SPX Express Thailand Tracking API & MCP

Query live SPX Express Thailand (spxth, Shopee Xpress) parcel status and scan history in a single synchronous request. Both the SPX number and the Shopee order number are accepted.

Overview & Quick Facts

PropertyValue
Carrier slug (?carrier=)spxth
Brand aliasesSPX Thailand, Shopee Xpress Thailand, SPX TH
CategoryRegional
Single-package REST endpointGET https://api.lastscanned.com/v1/track/{trackingNumber}
Batch REST endpointGET https://api.lastscanned.com/v1/track?numbers=...
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)/^SPXTH\d{11}[0-9A-Z]$/noneSPXTH01234567890A
Pass 2 (mayMatch)/^TH\d{12}[0-9A-Z]?$/nonenone

These numbers belong to this carrier, so ?carrier=spxth is optional.

Synchronous GET Request & Normalized JSON Response

curl -s "https://api.lastscanned.com/v1/track/SPXTH01234567890A?carrier=spxth" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
{
  "carrier": "spxth",
  "trackingNumber": "SPXTH01234567890A",
  "status": "delivered",
  "statusDescription": "พัสดุถูกจัดส่งสำเร็จแล้ว",
  "service": null,
  "deliveredAt": "2026-03-02T07:10:44Z",
  "deliveredAtLocal": "2026-03-02T14:10:44",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-03-02T07:10:44Z",
      "localTime": "2026-03-02T14:10:44",
      "status": "delivered",
      "description": "พัสดุถูกจัดส่งสำเร็จแล้ว",
      "location": null,
      "code": "F980"
    },
    {
      "timestamp": "2026-03-02T05:02:10Z",
      "localTime": "2026-03-02T12:02:10",
      "status": "out_for_delivery",
      "description": "พัสดุกำลังจัดส่ง",
      "location": null,
      "code": "F600"
    },
    {
      "timestamp": "2026-03-01T01:30:00Z",
      "localTime": "2026-03-01T08:30:00",
      "status": "label_created",
      "description": "ผู้ส่งกำลังเตรียมพัสดุ",
      "location": null,
      "code": "F000"
    }
  ]
}

Notes

  • Source: SPX's public tracking JSON on spx.co.th, shared by all five SPX countries (one factory, platforms/spx.ts). Hub names appear as the location when SPX gives one.
  • Statuses: mapped from SPX's milestone and event codes (F980 delivered, F600 out for delivery, F650 failed attempt, F999 returned to sender).
  • Language and time zone: descriptions are in Thai; localTime is Thai time (Asia/Bangkok). The bare Shopee form (TH + 12 digits + letter) is also claimed by Flash Express in auto-detection, so pass ?carrier=spxth for those.
  • Unknown numbers: SPX answers an error body for numbers it has no record of, returned as not_found.

On this page