# TCS Pakistan Tracking API & MCP

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

Query live **TCS Pakistan** (`tcspakistan`) package status and scan history in a single synchronous `GET` request or MCP tool call. Pass `?carrier=tcspakistan` (or the MCP `carrier` argument) so the lookup goes to TCS Pakistan.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `tcspakistan` |
| **Brand aliases** | TCS, TCS Pakistan, TCS Express, tcsexpress.com |
| **Category** | Regional (courier, Pakistan) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=50603681705,...` |
| **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 |

Eleven-digit consignment numbers are a shape other carriers also use, so pass `?carrier=tcspakistan`. Accepted shape: `^\d{11}$`.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "tcspakistan",
  "trackingNumber": "50603681705",
  "status": "delivered",
  "statusDescription": "Shipment Delivered",
  "service": null,
  "deliveredAt": "2026-03-12T05:10:00Z",
  "deliveredAtLocal": "2026-03-12T10:10:00",
  "signedBy": "ALI",
  "destination": {
    "city": "LAHORE",
    "state": null,
    "country": "PK"
  },
  "events": [
    {
      "timestamp": "2026-03-12T05:10:00Z",
      "localTime": "2026-03-12T10:10:00",
      "status": "delivered",
      "description": "Shipment Delivered",
      "location": "LAHORE",
      "code": null
    },
    {
      "timestamp": "2026-03-12T03:30:00Z",
      "localTime": "2026-03-12T08:30:00",
      "status": "out_for_delivery",
      "description": "Out For Delivery",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-03-11T22:15:00Z",
      "localTime": "2026-03-12T03:15:00",
      "status": "in_transit",
      "description": "Arrived at TCS Facility",
      "location": "LAHORE",
      "code": null
    },
    {
      "timestamp": "2026-03-11T14:40:00Z",
      "localTime": "2026-03-11T19:40:00",
      "status": "in_transit",
      "description": "Departed From TCS Facility",
      "location": "KARACHI",
      "code": null
    }
  ]
}
```

## Notes

- **Signer**: the delivery checkpoint carries the receiver's name, returned as `signedBy`.
- **Time zone**: Pakistan has one offset (+05:00). Times are converted only when both the origin and destination are in Pakistan, since an international parcel's scans may be elsewhere.

## Related Resources

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