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
| Property | Value |
|---|---|
Carrier slug (?carrier=) | tanzaniaposts |
| Brand aliases | Tanzania Posts Corporation, Tanzania Posts, TPC, Posta Tanzania, Tanzania Post |
| Category | National post, Tanzania (UPU S10 items) |
| Single-package REST endpoint | GET https://api.lastscanned.com/v1/track/{trackingNumber} |
| Batch REST endpoint | GET https://api.lastscanned.com/v1/track?numbers=EE123456785TZ,... |
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) | s10From("TZ"): /^[A-Z]{2}\d{9}TZ$/ | UPU S10 | EE123456785TZ |
Pass 2 (mayMatch) | none | none | none |
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;
timestampis 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 isstatus: Error. - Slow site: lookups can take several seconds.
Related Resources
- Regex & check digits: Tracking number formats & auto-detection
Sundarban Courier Tracking API & MCP
Track Sundarban Courier Service (Bangladesh) CN numbers via synchronous REST GET or MCP. Normalized JSON status and hub scan history, no carrier credentials required.
Taxydema Tracking API & MCP
Track Taxydema (Greece) waybills via synchronous REST GET or MCP. Normalized JSON status and scan history, no carrier credentials required.