# YCS Logistics Tracking API & MCP

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

Query live **YCS Logistics** (`ycslogistics`) package status and scan history in a single synchronous `GET` request or MCP tool call.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `ycslogistics` |
| **Brand aliases** | YCS Logistics, YCS Express, 洋基通運 |
| **Category** | Taiwan domestic and cross-border parcels |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=70001448601,...` |
| **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 |

YCS bill numbers are 11 or 13 digits, a shape other carriers use, so the carrier is not auto-detected. Pass `?carrier=ycslogistics`.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "ycslogistics",
  "trackingNumber": "70001448601",
  "status": "delivered",
  "statusDescription": "貨件已由大甲營業所送達。貨物件數共1件。",
  "service": null,
  "deliveredAt": "2026-03-05T03:52:00Z",
  "deliveredAtLocal": "2026-03-05T11:52:00",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-03-05T03:52:00Z",
      "localTime": "2026-03-05T11:52:00",
      "status": "delivered",
      "description": "貨件已由大甲營業所送達。貨物件數共1件。",
      "location": "大甲營業所",
      "code": "999"
    },
    {
      "timestamp": "2026-03-04T22:51:00Z",
      "localTime": "2026-03-05T06:51:00",
      "status": "out_for_delivery",
      "description": "貨件由大甲營業所人員配送中。",
      "location": "大甲營業所",
      "code": "601"
    },
    {
      "timestamp": "2026-03-02T21:10:39Z",
      "localTime": "2026-03-03T05:10:39",
      "status": "label_created",
      "description": "檔案上傳成功",
      "location": null,
      "code": "0"
    }
  ]
}
```

## Notes

- **Language**: scan text is Traditional Chinese, as YCS prints it. Station scans name their office (營業所) in `location`.
- **Time zone**: scan times are Taiwan wall clock (`Asia/Taipei`), converted to `timestamp`.
- **Batches**: a batch of numbers goes to YCS in one request.

## Related Resources

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