# Omniva Tracking API & MCP

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

Query live **Omniva** (`omniva`) package status and scan history in a single synchronous `GET` request or MCP tool call. `lastscanned` auto-detects S10 numbers ending in `EE`.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `omniva` |
| **Brand aliases** | Omniva, Eesti Post parcel, Omniva parcel locker |
| **Category** | Regional parcels (Estonia, Latvia, Lithuania) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=RR123456785EE,...` |
| **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`)** | `S10 *EE` with a valid check digit (`/^[A-Z]{2}\d{9}EE$/`) | S10 | `RR123456785EE` |
| **Pass 2 (`mayMatch`)** | none | none | none |

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "omniva",
  "trackingNumber": "RR123456785EE",
  "status": "delivered",
  "statusDescription": "Shipment delivered",
  "service": null,
  "deliveredAt": "2026-08-10T10:38:04Z",
  "deliveredAtLocal": "2026-08-10T13:38:04",
  "signedBy": null,
  "destination": {
    "city": null,
    "state": null,
    "country": "EE"
  },
  "events": [
    {
      "timestamp": "2026-08-10T10:38:04Z",
      "localTime": "2026-08-10T13:38:04",
      "status": "delivered",
      "description": "Shipment delivered",
      "location": "Example parcel locker, EE",
      "code": "TRT_SHIPMENT_DELIVERED"
    }
  ]
}
```

## Notes

- **Source**: the guest JSON of Omniva's own mobile app (`mobile-be.omniva.ee`). It needs no key, token or cookie. The tracking pages on `minu.omniva.ee` are not used.
- **Times**: Omniva sends UTC. `localTime` is that instant in the zone of the scan's country (Estonia, Latvia or Lithuania).
- **Thin records**: a delivered parcel can have no scans at all. Then `events` is empty and `status` comes from Omniva's state (`delivered` or `returned`).
- **Domestic numbers**: Omniva's own long domestic numbers are not auto-detected; pass `?carrier=omniva`.

## Related Resources

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