Carriers

Tanzania Posts Corporation Tracking API & MCP

Query live Tanzania Posts Corporation (tanzaniaposts) package status and scan history in a single synchronous GET request or MCP tool call. The shape belongs to Tanzania Posts Corporation alone, so ?carrier=tanzaniaposts is optional for it.

Overview & Quick Facts

PropertyValue
Carrier slug (?carrier=)tanzaniaposts
Brand aliasesTanzania Posts Corporation, Tanzania Posts, TPC, Posta Tanzania, Tanzania Post
CategoryNational post, Tanzania (UPU S10 items)
Single-package REST endpointGET https://api.lastscanned.com/v1/track/{trackingNumber}
Batch REST endpointGET https://api.lastscanned.com/v1/track?numbers=EE123456785TZ,...
MCP server (https://mcp.lastscanned.com)track_package, track_packages, list_carriers
Authentication & pricingAuthorization: Bearer lsk_live_... · 1 free keyless lookup/day per IP

Tracking Number Formats & Auto-Detection

PassRule / RegexCheck DigitExamples
Pass 1 (matches)s10From("TZ"): /^[A-Z]{2}\d{9}TZ$/UPU S10EE123456785TZ
Pass 2 (mayMatch)nonenonenone

Synchronous GET Request & Normalized JSON Response

curl -s "https://api.lastscanned.com/v1/track/EE245907820TZ?carrier=tanzaniaposts" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
{
  "carrier": "tanzaniaposts",
  "trackingNumber": "EE245907820TZ",
  "status": "delivered",
  "statusDescription": "Delivered to J. DOE",
  "service": null,
  "deliveredAt": "2026-06-28T10:44:51Z",
  "deliveredAtLocal": "2026-06-28T13:44:51",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-06-28T10:44:51Z",
      "localTime": "2026-06-28T13:44:51",
      "status": "delivered",
      "description": "Delivered to J. DOE",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-06-28T06:17:25Z",
      "localTime": "2026-06-28T09:17:25",
      "status": "in_transit",
      "description": "Received at Office of Dispatch",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-06-24T09:07:59Z",
      "localTime": "2026-06-24T12:07:59",
      "status": "in_transit",
      "description": "Acceptance",
      "location": "Mbozi Hpo",
      "code": null
    }
  ]
}

Notes

  • Time zone: Tanzania is UTC+3 all year; timestamp is converted from it. The site prints a 24-hour clock with a stray AM/PM, which is dropped.
  • Page, not API: the item data comes as an HTML fragment in a JSON wrapper (status: Success, temp); the tracking table is parsed. Not found is status: Error.
  • Slow site: lookups can take several seconds.

On this page