# TMM Express Tracking API & MCP

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

Query live **TMM Express** (`tmmexpress`, Ukraine, Poland, Belarus and Luxembourg freight) status and scan history in a single synchronous request.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `tmmexpress` |
| **Brand aliases** | TMM, ТММ Экспресс |
| **Category** | Regional |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=...` |
| **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 |

Pass `?carrier=tmmexpress` so the number is routed here.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "tmmexpress",
  "trackingNumber": "6912345678",
  "status": "delivered",
  "statusDescription": "Consignment delivered in good condition",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": "2026-03-07T16:25:00",
  "signedBy": null,
  "destination": {
    "city": null,
    "state": null,
    "country": "Ukraine"
  },
  "events": [
    {
      "timestamp": null,
      "localTime": "2026-03-07T16:25:00",
      "status": "delivered",
      "description": "Consignment delivered in good condition",
      "location": "KYIV",
      "code": "OK"
    },
    {
      "timestamp": null,
      "localTime": "2026-03-02T08:00:00",
      "status": "exception",
      "description": "Linehaul Delayed",
      "location": "KHARKIV",
      "code": "LAW"
    },
    {
      "timestamp": null,
      "localTime": "2026-02-28T11:45:00",
      "status": "in_transit",
      "description": "Entered to warehouse",
      "location": "WARSAW CENTRAL HUB",
      "code": "DH"
    }
  ]
}
```

## Notes

- **Source**: ukr.tmm-express.com's tracking page, server-rendered; the consignment is read from the XML the page embeds. Ten digits is shared with other carriers, so use `?carrier=tmmexpress`.
- **Time zone**: depots span Poland and Ukraine, so only `localTime` is set.
- **Fields**: `signedBy` is the signatory; `destination.country` the destination country.

## Related Resources

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