# Speedaf Tracking API & MCP

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

Query live **Speedaf** (`speedaf`, Africa, Middle East and Central Asia parcels from China) status and scan history in a single synchronous request.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `speedaf` |
| **Brand aliases** | Speedaf Express, SPEEDAF |
| **Category** | International |
| **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`)** | `/^(AE|EG|GH|KE|KZ|MA|MU|MV|NG|PK|RE|RW|SA|TR|UG|ZA|ZM)(\d{12}T?|\d{9}[ER])$/` | none | `ZA123456789012` |
| **Pass 2 (`mayMatch`)** | none | none | none |

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

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "speedaf",
  "trackingNumber": "ZA123456789012",
  "status": "delivered",
  "statusDescription": "Parcel delivered Collected; Collection site is Example-Site.",
  "service": null,
  "deliveredAt": "2026-03-02T12:51:35Z",
  "deliveredAtLocal": "2026-03-02T14:51:35",
  "signedBy": null,
  "destination": {
    "city": null,
    "state": null,
    "country": "ZA"
  },
  "events": [
    {
      "timestamp": "2026-03-02T12:51:35Z",
      "localTime": "2026-03-02T14:51:35",
      "status": "delivered",
      "description": "Parcel delivered Collected; Collection site is Example-Site.",
      "location": null,
      "code": "5"
    },
    {
      "timestamp": "2026-03-02T06:47:15Z",
      "localTime": "2026-03-02T08:47:15",
      "status": "out_for_delivery",
      "description": "Example Courier in Example-Site scanned for delivery.",
      "location": null,
      "code": "4"
    },
    {
      "timestamp": "2026-02-26T11:36:41Z",
      "localTime": "2026-02-26T19:36:41",
      "status": "in_transit",
      "description": "[Guangzhou warehouse] processing, order has been inbounded",
      "location": null,
      "code": "150"
    }
  ]
}
```

## Notes

- **Source**: Speedaf's public tracking JSON (`listExpressTrack`). A batch of numbers goes in one request.
- **Time zone**: each scan carries its own UTC offset (China-side scans +08:00, destination scans local), so `timestamp` is exact.
- **Description**: the English message with Speedaf's 【】 brackets removed.

## Related Resources

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