# HCT Logistics Tracking API & MCP

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

Query live **HCT Logistics** (`hct`, Taiwan) package status and station-by-station scan history in a single synchronous `GET` request or MCP tool call. HCT's 10-digit numbers share a shape with DHL waybills, so pass `?carrier=hct`.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `hct` |
| **Brand aliases** | HCT, HCT Logistics, Hsinchu Transport, 新竹物流, 新竹貨運 |
| **Category** | Regional parcels (Taiwan) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}?carrier=hct` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=...&carrier=hct` |
| **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 |

HCT 查貨碼 numbers are 10 digits and any 10-digit number can name some parcel, so `?carrier=hct` is required.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "hct",
  "trackingNumber": "1000000001",
  "status": "delivered",
  "statusDescription": "貨件已由西屯集配站送達。貨物件數共1件。",
  "service": null,
  "deliveredAt": "2026-08-19T06:14:00Z",
  "deliveredAtLocal": "2026-08-19T14:14:00",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-08-19T06:14:00Z",
      "localTime": "2026-08-19T14:14:00",
      "status": "delivered",
      "description": "貨件已由西屯集配站送達。貨物件數共1件。",
      "location": "西屯集配站",
      "code": null
    },
    {
      "timestamp": "2026-08-18T23:56:00Z",
      "localTime": "2026-08-19T07:56:00",
      "status": "out_for_delivery",
      "description": "貨件由西屯集配站人員配送中。",
      "location": "西屯集配站",
      "code": null
    },
    {
      "timestamp": "2026-08-18T19:38:00Z",
      "localTime": "2026-08-19T03:38:00",
      "status": "in_transit",
      "description": "貨件由西屯集配站保管中。",
      "location": "西屯集配站",
      "code": null
    }
  ]
}
```

## Notes

- **Wording**: HCT sends no status codes, so its Traditional Chinese wording is mapped (送達 delivered, 配送中 out for delivery, 取件中 pickup scheduled, 無人接聽 or 異常 exception, 退回 returned). `location` is the station named in the scan.
- **Time zone**: Taiwan time (UTC+8).
- **Not found**: a number HCT has no record of (the page says 查無此配送資料) is `not_found`.
- **How it is queried**: HCT's mobile web app pages (`/app/searchGoods_index.aspx`), which have no captcha step; the lookup is a short form post followed by a read of the result page.

## Related Resources

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