# D Express Tracking API & MCP

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

Query live **D Express** (`dexpress`) package status and scan history in a single synchronous `GET` request or MCP tool call. Serbia.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `dexpress` |
| **Brand aliases** | D Express, DExpress, dexpress.rs, D Express Serbia |
| **Category** | Regional (Serbia) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=KO0000012345,KO0000012345` |
| **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`)** | `/^[A-Z]{2}\d{10}$/` | none | `KO0000012345` |

This shape is loose and also used by other carriers, so it is tried only when nothing else claims the number; pass `?carrier=dexpress` to be sure.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "dexpress",
  "trackingNumber": "KO0000012345",
  "status": "delivered",
  "statusDescription": "Pošiljka je isporučena primaocu",
  "service": null,
  "deliveredAt": "2026-04-09T13:01:00Z",
  "deliveredAtLocal": "2026-04-09T15:01:00",
  "signedBy": null,
  "destination": {
    "city": "Sombor",
    "state": null,
    "country": "RS"
  },
  "events": [
    {
      "timestamp": "2026-04-09T13:01:00Z",
      "localTime": "2026-04-09T15:01:00",
      "status": "delivered",
      "description": "Pošiljka je isporučena primaocu",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-04-08T10:24:38Z",
      "localTime": "2026-04-08T12:24:38",
      "status": "in_transit",
      "description": "Pošiljka je preuzeta od pošiljaoca",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-04-08T09:37:24Z",
      "localTime": "2026-04-08T11:37:24",
      "status": "label_created",
      "description": "Čeka na preuzimanje",
      "location": null,
      "code": null
    }
  ]
}
```

## Notes

- Shipment codes are two capital letters and ten digits (for example `KO…`, `DE…`); the recipient name and address the page returns are masked and not used.
- Times are `Europe/Belgrade`; the "U magacinu centra" / "Kod kurira centra" scans put the centre name in `location`.

## Related Resources

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