Carriers

Serpost Tracking API & MCP

Query live Serpost (serpost) package status and scan history in a single synchronous GET request or MCP tool call.

Overview & Quick Facts

PropertyValue
Carrier slug (?carrier=)serpost
Brand aliasesSerpost Peru, Servicios Postales del Perú, Correos del Perú
CategoryNational post (Peru)
RegionPeru
Single-package REST endpointGET https://api.lastscanned.com/v1/track/{trackingNumber}
Batch REST endpointGET https://api.lastscanned.com/v1/track?numbers=RE123456785PE,...
MCP server (https://mcp.lastscanned.com)track_package, track_packages, list_carriers
Authentication & pricingAuthorization: Bearer lsk_live_... · 1 free keyless lookup/day per IP

Tracking Number Formats & Auto-Detection

PassRule / RegexCheck DigitExamples
Pass 1 (matches)UPU S10 ..PE, valid check digitUPU S10 mod 11RE123456785PE
Pass 2 (mayMatch)nonenonenone

S10 numbers ending in PE with a valid check digit auto-detect to Serpost. Serpost also tracks mail that arrives from other posts, but those numbers belong to their origin posts, so pass ?carrier=serpost for them.

Synchronous GET Request & Normalized JSON Response

curl -s "https://api.lastscanned.com/v1/track/RE123456785PE?carrier=serpost" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
{
  "carrier": "serpost",
  "trackingNumber": "RE123456785PE",
  "status": "delivered",
  "statusDescription": "ENVÍO ENTREGADO",
  "service": null,
  "deliveredAt": "2026-03-09T17:12:30Z",
  "deliveredAtLocal": "2026-03-09T12:12:30",
  "signedBy": null,
  "destination": {
    "city": null,
    "state": null,
    "country": "PE"
  },
  "events": [
    {
      "timestamp": "2026-03-09T17:12:30Z",
      "localTime": "2026-03-09T12:12:30",
      "status": "delivered",
      "description": "ENVÍO ENTREGADO",
      "location": null,
      "code": "5"
    },
    {
      "timestamp": "2026-03-09T12:13:46Z",
      "localTime": "2026-03-09T07:13:46",
      "status": "out_for_delivery",
      "description": "ENVÍO EN PROCESO DE DISTRIBUCIÓN",
      "location": null,
      "code": "9"
    },
    {
      "timestamp": "2026-03-02T14:30:00Z",
      "localTime": "2026-03-02T09:30:00",
      "status": "in_transit",
      "description": "ENVÍO ADMITIDO EN ADMINISTRACION POSTAL CUSCO",
      "location": "CUSCO",
      "code": "012"
    }
  ]
}

Notes

  • Language: Serpost's wording is Spanish and is kept as sent.
  • Check digit: Serpost matches the start of what it is sent, so a number with a bad check digit can return a stranger's parcel. Numbers that fail the S10 check are answered not_found without a request.
  • Time zone: scan times are Peru time (-05:00, no daylight saving), printed month first (03/09/2026 is 9 March).

On this page