# Shipa Delivery Tracking API & MCP

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

Query live **Shipa** (`shipa`) package status and scan history in a single synchronous `GET` request or MCP tool call. `lastscanned` auto-detects `SD` + 9 digits.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `shipa` |
| **Brand aliases** | Shipa, Shipa Delivery, Shipa UAE |
| **Category** | Last-mile courier (UAE, Saudi Arabia, Kuwait) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=SD999999991,...` |
| **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`)** | `/^SD\d{9}$/` | none | `SD999999991` |
| **Pass 2 (`mayMatch`)** | none | none | none |

## Synchronous `GET` Request & Normalized JSON Response

```bash
curl -s "https://api.lastscanned.com/v1/track/SD999999991" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
```

```json
{
  "carrier": "shipa",
  "trackingNumber": "SD999999991",
  "status": "delivered",
  "statusDescription": "Delivered",
  "service": null,
  "deliveredAt": "2026-02-10T04:13:06Z",
  "deliveredAtLocal": "2026-02-10T08:13:06",
  "signedBy": null,
  "destination": {
    "city": null,
    "state": null,
    "country": "AE"
  },
  "events": [
    {
      "timestamp": "2026-02-10T04:13:06Z",
      "localTime": "2026-02-10T08:13:06",
      "status": "delivered",
      "description": "Delivered",
      "location": "Dubai",
      "code": "19"
    },
    {
      "timestamp": "2026-02-09T14:43:35Z",
      "localTime": "2026-02-09T18:43:35",
      "status": "exception",
      "description": "Delivery Failed: Address - Customer changed location",
      "location": "Dubai",
      "code": "20"
    },
    {
      "timestamp": "2026-02-09T04:07:49Z",
      "localTime": "2026-02-09T08:07:49",
      "status": "out_for_delivery",
      "description": "Out For Delivery",
      "location": "Dubai",
      "code": "16"
    },
    {
      "timestamp": "2026-01-31T06:32:38Z",
      "localTime": null,
      "status": "label_created",
      "description": "Order Created",
      "location": null,
      "code": "1"
    }
  ]
}
```

## Notes

- **Time zone**: Shipa sends UTC instants. `localTime` uses the destination country's offset (UAE +04:00, Saudi Arabia and Kuwait +03:00); the `Order Created` scan is stamped at the origin, so it has `timestamp` only.
- **Unknown numbers**: a number with an empty order story is reported as not found.

## Related Resources

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