# Straightship Tracking API & MCP

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

Query live **Straightship** (`straightship`, Canadian B2C parcels) status and scan history in a single synchronous request.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `straightship` |
| **Brand aliases** | Straight Ship |
| **Category** | Regional |
| **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`)** | `/^STR(TD\d{9}|TD\d{16,17}|CA\d{13})$/` | none | `STRTD123456789` |
| **Pass 2 (`mayMatch`)** | none | none | none |

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

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "straightship",
  "trackingNumber": "STRTD123456789",
  "status": "delivered",
  "statusDescription": "Delivered (Nanaimo, BC)",
  "service": null,
  "deliveredAt": "2026-03-03T23:29:28Z",
  "deliveredAtLocal": "2026-03-03T23:29:28",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-03-03T23:29:28Z",
      "localTime": "2026-03-03T23:29:28",
      "status": "delivered",
      "description": "Delivered (Nanaimo, BC)",
      "location": "Nanaimo, BC",
      "code": null
    },
    {
      "timestamp": "2026-03-03T19:33:50Z",
      "localTime": "2026-03-03T19:33:50",
      "status": "out_for_delivery",
      "description": "Package will be delivered before 9:00pm (Nanaimo, BC)",
      "location": "Nanaimo, BC",
      "code": null
    },
    {
      "timestamp": "2026-02-26T00:39:37Z",
      "localTime": "2026-02-26T00:39:37",
      "status": "label_created",
      "description": "Package information is created in the system",
      "location": null,
      "code": null
    }
  ]
}
```

## Notes

- **Source**: Straightship's public tracking page, server-rendered.
- **Time zone**: the page states its timestamps are UTC; `localTime` repeats the UTC clock time.

## Related Resources

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