# Hermes Germany Tracking API & MCP

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

Query live **Hermes Germany** (`hermesde`) package status and scan history in a single synchronous `GET` request or MCP tool call. `lastscanned` reads the JSON behind myhermes.de's Sendungsverfolgung. Hermes numbers share their shape with other carriers, so pass `?carrier=hermesde`.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `hermesde` |
| **Brand & service aliases** | Hermes Germany, Hermes Deutschland, myHermes, Hermes Logistik |
| **Category** | National parcel carrier (Germany) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` (add `?carrier=hermesde`) |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=12345678901234,...` |
| **MCP server (`https://mcp.lastscanned.com`)** | `track_package`, `track_packages`, `list_carriers` (`claude mcp add --transport http lastscanned https://mcp.lastscanned.com`) |
| **Authentication & pricing** | `Authorization: Bearer lsk_live_...` · **1 free keyless lookup/day per IP** · **Free tier** (5 unique numbers/day, $0) · **Pro** ($4.99/mo for 1,000 unique numbers, unlimited re-polls, $0.015/extra) · **HTTP 402 Stripe MPP** ($0.50 for 25-number `lsk_pack_` key or $0.02/number in USDC on Tempo) |

## Tracking Number Formats & Auto-Detection (`matches` vs `?carrier=hermesde`)

| Pass | Rule / Regex | Check Digit | Examples |
|---|---|---|---|
| **Pass 1 (`matches`)** | *None* | n/a | n/a |
| **Pass 2 (`mayMatch`)** | *None* | n/a | n/a |
| **Explicit (`?carrier=hermesde`)** | 14-digit numbers and 20-character alphanumeric numbers | None | `12345678901234` |

### When is `?carrier=hermesde` optional vs required?

- **Required (`?carrier=hermesde`)**: always. Hermes' number shapes are also used by other carriers.

## Synchronous `GET` Request & Normalized JSON Response

### `curl`

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

### JavaScript / TypeScript (`fetch`)

```ts
const res = await fetch("https://api.lastscanned.com/v1/track/12345678901234?carrier=hermesde", {
  headers: { Authorization: `Bearer ${process.env.LASTSCANNED_API_KEY}` },
});
const pkg = await res.json();
console.log(pkg.status, pkg.events[0]);
```

### MCP `track_package` tool call

```json
{
  "tool": "track_package",
  "arguments": {
    "tracking_number": "12345678901234",
    "carrier": "hermesde"
  }
}
```

### Normalized `TrackingResult` JSON response

```json
{
  "carrier": "hermesde",
  "trackingNumber": "12345678901234",
  "status": "delivered",
  "statusDescription": "Die Sendung wurde zugestellt",
  "service": null,
  "deliveredAt": "2026-10-22T07:15:00Z",
  "deliveredAtLocal": "2026-10-22T09:15:00",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-10-22T07:15:00Z",
      "localTime": "2026-10-22T09:15:00",
      "status": "delivered",
      "description": "Die Sendung wurde zugestellt",
      "location": null,
      "code": "DELIVERED"
    },
    {
      "timestamp": "2026-10-20T08:00:00Z",
      "localTime": "2026-10-20T10:00:00",
      "status": "label_created",
      "description": "Die Sendung wurde vom Versender angekündigt",
      "location": null,
      "code": "ANNOUNCED"
    }
  ]
}
```

## Notes

- Uses `api.my-deliveries.de/tnt/v2/shipments/search/{number}`, the endpoint the Hermes tracking bundle calls. An unknown number answers an empty 404.
- Event descriptions are in German, as Hermes publishes them. A time with no offset is read as Europe/Berlin.
- If Hermes reports a newer related barcode, `message` names it.

## Related Resources

- **Live browser lookup tool**: [Track a Hermes Germany package live on lastscanned.com/lookup/hermesde](https://lastscanned.com/lookup/hermesde)
- **Regex & check digits**: [Tracking number formats & auto-detection](/formats)
- **AI support workflows**: [WISMO AI agents & synchronous tracking](/wismo)
