# STO Express Tracking API & MCP

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

Query live **STO Express** (`sto`) package status and scan history in a single synchronous `GET` request or MCP tool call. STO numbers share their shape with other carriers, so pass `?carrier=sto`.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `sto` |
| **Brand aliases** | STO Express, 申通快递, 申通 |
| **Category** | Regional (China domestic parcels) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}?carrier=sto` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=...,...&carrier=sto` |
| **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 | none |
| **Pass 2 (`mayMatch`)** | none | none | none |

STO waybills are 12 to 15 digits (for example `77xxxxxxxxxxxxx`), a shape other carriers also use, so they are not auto-detected: pass `?carrier=sto`.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "sto",
  "trackingNumber": "773000000000001",
  "status": "delivered",
  "statusDescription": "【驿站】包裹已签收！",
  "service": null,
  "deliveredAt": "2026-10-01T05:40:37Z",
  "deliveredAtLocal": "2026-10-01T13:40:37",
  "signedBy": "凭取件码签收",
  "destination": null,
  "message": null,
  "events": [
    {
      "timestamp": "2026-10-01T05:40:37Z",
      "localTime": "2026-10-01T13:40:37",
      "status": "delivered",
      "description": "【驿站】包裹已签收！",
      "location": "海南省, 定安县, 海南定安县公司",
      "code": "客户签收"
    },
    {
      "timestamp": "2026-09-30T14:20:16Z",
      "localTime": "2026-09-30T22:20:16",
      "status": "in_transit",
      "description": "【海口市】快件已发往 海南定安县公司",
      "location": "海南省, 海口市, 海南海口转运中心",
      "code": "发件"
    }
  ]
}
```

## Notes

- **Language**: STO's scan text is Chinese. `code` holds the scan type (收件 collected, 发件 departed, 到件 arrived, 派件 out for delivery, 驿站代收 left at a pickup point, 客户签收 signed).
- **Time zone**: scans are in China time (UTC+8); `timestamp` is converted from that.
- **Unknown numbers**: STO answers an empty list, returned as `not_found`.

## Related Resources

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