# Allegro One Tracking API & MCP

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

Query live **Allegro One** (`allegroone`) package status and scan history in a single synchronous `GET` request or MCP tool call.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `allegroone` |
| **Brand aliases** | Allegro One Kurier, Allegro One Box, Allegro Delivery |
| **Category** | Domestic parcels (Poland) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=...,...` |
| **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`)** | `/^ALE\d{12}$/` | none | `ALE123456789012` |
| **Pass 2 (`mayMatch`)** | `/^A[0D][0-9A-Z]{8}$/` and `/^AD[0-9A-Z]{15}$/` | none | `A001AB2CD3` |

`matches` takes `ALE` plus 12 digits. `mayMatch` takes `A0` or `AD` followed by 8 letters or digits, or `AD` followed by 15.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "allegroone",
  "trackingNumber": "A001AB2CD3",
  "status": "delivered",
  "statusDescription": "Parcel has been delivered",
  "service": null,
  "deliveredAt": "2026-06-29T15:21:41Z",
  "deliveredAtLocal": "2026-06-29T17:21:41",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-06-29T15:21:41Z",
      "localTime": "2026-06-29T17:21:41",
      "status": "delivered",
      "description": "Parcel has been delivered",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-06-29T11:52:57Z",
      "localTime": "2026-06-29T13:52:57",
      "status": "exception",
      "description": "Parcel is awaiting pick-up",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-06-29T05:26:15Z",
      "localTime": "2026-06-29T07:26:15",
      "status": "out_for_delivery",
      "description": "Parcel has been released for delivery",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-06-18T22:15:40Z",
      "localTime": "2026-06-19T00:15:40",
      "status": "in_transit",
      "description": "Dispatched from sorting center",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-06-18T09:06:52Z",
      "localTime": "2026-06-18T11:06:52",
      "status": "label_created",
      "description": "Parcel has been prepared by the sender",
      "location": null,
      "code": null
    }
  ]
}
```

## Notes

- **Source**: the JSON behind allegro.pl's own tracking page (`edge.allegro.pl/ad/tracking`). No account is needed.
- **Time zone**: Allegro sends UTC times. `timestamp` is that time and `localTime` is the same instant on the `Europe/Warsaw` clock, because Allegro One delivers within Poland.
- **Not found**: an unknown number returns an empty `status` list, which becomes `not_found`.
- **Scans carry no place**: `location` is `null` on every event.

## Related Resources

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