# Pakistan Post Tracking API & MCP

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

Query live **Pakistan Post** (`pakistanpost`) package status and scan history in a single synchronous `GET` request or MCP tool call. `lastscanned` auto-detects S10 numbers ending `PK` and the domestic `RGL` / `PAR` / `UMS` + 8 digit article numbers.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `pakistanpost` |
| **Brand aliases** | Pakistan Post, Pakistan Post Office, PK Post, EMTTS |
| **Category** | National post (Pakistan) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=EB456781238PK,...` |
| **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`)** | Valid UPU S10 number ending `PK` (check digit verified), or `/^(RGL\|PAR\|UMS)\d{8}$/` | mod-11 (S10) for the S10 form | `EB456781238PK` |
| **Pass 2 (`mayMatch`)** | none | none | none |

## Synchronous `GET` Request & Normalized JSON Response

```bash
curl -s "https://api.lastscanned.com/v1/track/EB456781238PK" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
```

```json
{
  "carrier": "pakistanpost",
  "trackingNumber": "EB456781238PK",
  "status": "delivered",
  "statusDescription": "Deliver item in destination country",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": "2026-02-06T13:56:00",
  "signedBy": null,
  "destination": {
    "city": null,
    "state": null,
    "country": "Saudi Arabia"
  },
  "events": [
    {
      "timestamp": null,
      "localTime": "2026-02-06T13:56:00",
      "status": "delivered",
      "description": "Deliver item in destination country",
      "location": null,
      "code": null
    },
    {
      "timestamp": null,
      "localTime": "2026-02-05T11:50:00",
      "status": "in_transit",
      "description": "Send item out of sorting centre in destination country",
      "location": null,
      "code": null
    },
    {
      "timestamp": null,
      "localTime": "2026-02-04T09:03:00",
      "status": "in_transit",
      "description": "Receive item at office of exchange in destination country",
      "location": "JEDDAH SORTING CENTRE",
      "code": null
    },
    {
      "timestamp": null,
      "localTime": "2026-01-15T05:12:00",
      "status": "in_transit",
      "description": "Receive item at office of exchange in origin country",
      "location": "KARACHI EMS CENTRE (IMO EP)",
      "code": null
    }
  ]
}
```

## Notes

- **Time zone**: each row is the clock at the scanning office, which is in Pakistan or in the destination country, so no zone is given and `timestamp` is `null`.
- **Pickup**: `Receive item at collection point for pick-up` reports `exception`, like other carriers' waiting-at-pickup scans.

## Related Resources

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