# DPD Poland Tracking API & MCP

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

Query live **DPD Poland** (`dpdpl`) package status and scan history in a single synchronous `GET` request or MCP tool call, with no postcode. `lastscanned` tries DPD Poland for 13-digit-plus-letter numbers when nothing else claims them.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `dpdpl` |
| **Brand aliases** | DPD Poland, DPD Polska, DPD PL |
| **Category** | Regional courier (Poland) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=1000000000000A,...` |
| **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`)** | `/^\d{13}[A-Z]$/` | none | `1000000000000A` |

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "dpdpl",
  "trackingNumber": "1000000000000A",
  "status": "delivered",
  "statusDescription": "Parcel delivered Recipient: J......K",
  "service": null,
  "deliveredAt": "2026-09-03T13:23:10Z",
  "deliveredAtLocal": "2026-09-03T15:23:10",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-09-03T13:23:10Z",
      "localTime": "2026-09-03T15:23:10",
      "status": "delivered",
      "description": "Parcel delivered Recipient: J......K",
      "location": "KRK",
      "code": null
    },
    {
      "timestamp": "2026-09-03T06:12:24Z",
      "localTime": "2026-09-03T08:12:24",
      "status": "out_for_delivery",
      "description": "Parcel dispatched to be delivered",
      "location": "KRK",
      "code": null
    },
    {
      "timestamp": "2026-09-02T04:15:46Z",
      "localTime": "2026-09-02T06:15:46",
      "status": "label_created",
      "description": "Registered parcel data, parcel not dispatched yet",
      "location": null,
      "code": null
    }
  ]
}
```

## Notes

- **Source**: the fragment that `tracktrace.dpd.com.pl` loads for a parcel (`POST /EN/findPackage`). No postcode or captcha is involved.
- **Times**: Polish local time (`Europe/Warsaw`) converted to UTC.
- **Notices**: the page's "Mail notification" and "SMS notification" rows are messages to the recipient, not scans, and are left out.
- **Returns**: a returned parcel's `message` gives the return parcel number.
- **Other DPD**: DPD Germany, Benelux and the DPD group's `continental` numbers are not covered here; pass `?carrier=` for those carriers.

## Related Resources

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