# Pošta Slovenije (Post of Slovenia) Tracking API & MCP

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

Query live **Pošta Slovenije** (`postaslovenije`) package status and scan history in a single synchronous `GET` request or MCP tool call. `lastscanned` auto-detects S10 numbers ending `SI`. Pošta Slovenije's tracker also follows S10 numbers from other posts it delivers; pass `?carrier=postaslovenije` for those.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `postaslovenije` |
| **Brand aliases** | Pošta Slovenije, Posta Slovenije, Post of Slovenia, Slovenian Post, moja.posta.si |
| **Category** | National post (Slovenia) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=CF271828189SI,...` |
| **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`)** | Valid UPU S10 number ending `SI` (check digit verified) | mod-11 (S10) | `CF271828189SI` |
| **Pass 2 (`mayMatch`)** | none | none | none |

## Synchronous `GET` Request & Normalized JSON Response

```bash
curl -s "https://api.lastscanned.com/v1/track/CF271828189SI" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
```

```json
{
  "carrier": "postaslovenije",
  "trackingNumber": "CF271828189SI",
  "status": "delivered",
  "statusDescription": "The item was delivered to the mailbox / P.O. box. The item was delivered to the doorstep",
  "service": null,
  "deliveredAt": "2026-09-11T06:29:34Z",
  "deliveredAtLocal": "2026-09-11T08:29:34",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-09-11T06:29:34Z",
      "localTime": "2026-09-11T08:29:34",
      "status": "delivered",
      "description": "The item was delivered to the mailbox / P.O. box. The item was delivered to the doorstep",
      "location": "Jesenice",
      "code": "VL"
    },
    {
      "timestamp": "2026-09-10T08:10:00Z",
      "localTime": "2026-09-10T10:10:00",
      "status": "out_for_delivery",
      "description": "The item is expected to be delivered today. The item is out for doorstep delivery",
      "location": "Jesenice",
      "code": "N"
    },
    {
      "timestamp": "2026-09-03T13:16:54Z",
      "localTime": "2026-09-03T15:16:54",
      "status": "label_created",
      "description": "The item information has been received in the Pošta Slovenije system. The sender has not yet handed over the item to Pošta Slovenije",
      "location": null,
      "code": "NAJ"
    }
  ]
}
```

## Notes

- **Response time**: Pošta Slovenije's tracking endpoint requires session token verification; a lookup takes several seconds.
- **Returns**: a return to the sender (code `VRP`) reports `returned`.

## Related Resources

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