Carriers
Domex Tracking API & MCP
Query live Domex (domex) package status and scan history in a single synchronous GET request or MCP tool call.
Overview & Quick Facts
| Property | Value |
|---|---|
Carrier slug (?carrier=) | domex |
| Brand aliases | Domex, Domex Sri Lanka, domex.lk |
| Category | Sri Lankan domestic courier |
| Single-package REST endpoint | GET https://api.lastscanned.com/v1/track/{trackingNumber} |
| Batch REST endpoint | GET https://api.lastscanned.com/v1/track?numbers=800123456,800123456 |
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 |
Domex numbers have no shape that other carriers do not also use, so they are not auto-detected: pass ?carrier=domex.
Synchronous GET Request & Normalized JSON Response
curl -s "https://api.lastscanned.com/v1/track/300111725?carrier=domex" \
-H "Authorization: Bearer $LASTSCANNED_API_KEY"{
"carrier": "domex",
"trackingNumber": "300111725",
"status": "delivered",
"statusDescription": "Complete",
"service": null,
"deliveredAt": "2026-06-25T04:38:00Z",
"deliveredAtLocal": "2026-06-25T10:08:00",
"signedBy": null,
"destination": {
"city": "Galle",
"state": null,
"country": "LK"
},
"events": [
{
"timestamp": "2026-06-25T04:38:00Z",
"localTime": "2026-06-25T10:08:00",
"status": "delivered",
"description": "Complete",
"location": null,
"code": "CIG"
},
{
"timestamp": "2026-06-20T06:24:53Z",
"localTime": "2026-06-20T11:54:53",
"status": "delivered",
"description": "Delivered",
"location": "Galle",
"code": "D"
},
{
"timestamp": "2026-06-20T04:24:14Z",
"localTime": "2026-06-20T09:54:14",
"status": "out_for_delivery",
"description": "Out For Delivery",
"location": "Galle",
"code": "ATD"
},
{
"timestamp": "2026-06-19T13:05:39Z",
"localTime": "2026-06-19T18:35:39",
"status": "label_created",
"description": "Waiting To Pickup",
"location": "Colombo",
"code": "CI"
}
]
}Notes
- Locations: each scan reads "
<step>By<branch>"; the branch becomeslocation. Head-office finance steps carry no location. - Time zone: Domex prints Sri Lanka time.
localTimeis that clock time andtimestampis it converted from UTC+5:30. - Status: the carrier's own step codes decide
status(Ddelivered,ATDout for delivery,CIlabel created). AfterD, the later POD and cash-collection steps staydelivered.
Related Resources
- Regex & check digits: Tracking number formats & auto-detection
Domain Logistics Tracking API & MCP
Track Domain Logistics (domainlogistics) parcels via synchronous REST GET or MCP. Normalized JSON status and scan history, no carrier credentials required.
DPD South Africa Tracking API & MCP
Track DPD South Africa (DPD Laser) waybills with scan history and delivery signatory via synchronous REST GET or MCP. Normalized JSON, no carrier credentials required.