Carriers

Hermes Germany Tracking API & MCP

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

PropertyValue
Carrier slug (?carrier=)hermesde
Brand & service aliasesHermes Germany, Hermes Deutschland, myHermes, Hermes Logistik
CategoryNational parcel carrier (Germany)
Single-package REST endpointGET https://api.lastscanned.com/v1/track/{trackingNumber} (add ?carrier=hermesde)
Batch REST endpointGET 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 & pricingAuthorization: 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)

PassRule / RegexCheck DigitExamples
Pass 1 (matches)Nonen/an/a
Pass 2 (mayMatch)Nonen/an/a
Explicit (?carrier=hermesde)14-digit numbers and 20-character alphanumeric numbersNone12345678901234

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

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

JavaScript / TypeScript (fetch)

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

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

Normalized TrackingResult JSON response

{
  "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.

On this page