# SMSA Express Tracking API & MCP

URL: https://docs.lastscanned.com/carriers/smsa

Query live **SMSA Express (Saudi Arabia)** (`smsa`) package status and scan history in a single synchronous `GET` request or MCP tool call.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `smsa` |
| **Brand aliases** | SMSA, SMSA Express, SMSA Saudi |
| **Category** | Regional express (Saudi Arabia) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=...,...` |
| **MCP server (`https://mcp.lastscanned.com`)** | `track_package`, `track_packages`, `list_carriers` |
| **Authentication & pricing** | `Authorization: Bearer lsk_live_...` · 1 free keyless lookup/day per IP |

## Tracking Number Formats & Auto-Detection

| Pass | Rule / Regex | Check Digit | Examples |
|---|---|---|---|
| **Pass 1 (`matches`)** | none | none | `290000000001` |
| **Pass 2 (`mayMatch`)** | none | none | none |

| Format | Pattern |
|---|---|
| AWB (12 digits) | `^\d{12}$` |

Shapes this carrier does not own alone are not auto-detected; pass `?carrier=smsa`.

## Synchronous `GET` Request & Normalized JSON Response

```bash
curl -s "https://api.lastscanned.com/v1/track/290000000001?carrier=smsa" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
```

```json
{
  "carrier": "smsa",
  "trackingNumber": "290000000001",
  "status": "delivered",
  "statusDescription": "Delivered, Signed by: Amani",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": "2026-10-12T16:29:00",
  "signedBy": "Amani",
  "destination": {
    "city": "Dammam",
    "state": null,
    "country": "SA"
  },
  "estimatedDelivery": "2026-10-23",
  "events": [
    {
      "timestamp": null,
      "localTime": "2026-10-12T16:29:00",
      "status": "delivered",
      "description": "Delivered, Signed by: Amani",
      "location": "Dammam",
      "code": null
    },
    {
      "timestamp": null,
      "localTime": "2026-10-12T09:40:00",
      "status": "out_for_delivery",
      "description": "Out for Delivery",
      "location": "Dammam",
      "code": null
    },
    {
      "timestamp": null,
      "localTime": "2026-10-11T07:03:00",
      "status": "in_transit",
      "description": "Shipment Received at SMSA Sorting Facility",
      "location": "Riyadh",
      "code": null
    }
  ]
}
```

## Notes

- **Route**: the public tracking page `www.smsaexpress.com/sa/trackingdetails`. Its TLS certificate is served without the intermediate, so strict clients cannot verify it, which `lastscanned` handles automatically. The Android app's SOAP API (which needs the app's own login) is not used.
- **Local time only**: SMSA serves several countries and the page prints no zone, so `timestamp` is `null`.
- 12-digit numbers are shared with other carriers, so pass `?carrier=smsa`.

## Related Resources

- **Regex & check digits**: [Tracking number formats & auto-detection](/formats)
