# Foxpost Tracking API & MCP

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

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

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `foxpost` |
| **Brand aliases** | Foxpost, FOXPOST, Foxpost Hungary, A-BOX, Z-BOX |
| **Category** | Hungarian parcel lockers and pickup points |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=CLFOX173757691390113,...` |
| **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`)** | `/^CLFOX\d{15}$/` | none | `CLFOX173757691390113` |
| **Pass 2 (`mayMatch`)** | none | none | none |

`CLFOX` numbers belong to Foxpost alone, so `?carrier=foxpost` is optional. The shorter Foxpost codes (`Z` + 10 digits, or 10 digits starting `66`) are shared shapes: pass `?carrier=foxpost`.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "foxpost",
  "trackingNumber": "CLFOX173757691390113",
  "status": "delivered",
  "statusDescription": "Átvéve: Csomagod (vissza)kézbesítve lett, a címzett/feladó átvette.",
  "service": null,
  "deliveredAt": "2026-03-12T15:01:00Z",
  "deliveredAtLocal": "2026-03-12T16:01:00",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-03-12T15:01:00Z",
      "localTime": "2026-03-12T16:01:00",
      "status": "delivered",
      "description": "Átvéve: Csomagod (vissza)kézbesítve lett, a címzett/feladó átvette.",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-03-12T09:22:00Z",
      "localTime": "2026-03-12T10:22:00",
      "status": "exception",
      "description": "Automatában: Csomagod megérkezett az általad választott (vissza)kézbesítési automatába, most már átveheted!",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-03-10T18:15:00Z",
      "localTime": "2026-03-10T19:15:00",
      "status": "label_created",
      "description": "Csomagod elkészült: Csomagod létrejött a rendszerünkben, a feladó még nem adta át azt a FOXPOST részére.",
      "location": null,
      "code": null
    }
  ]
}
```

## Notes

- **Language**: Foxpost's page is Hungarian, so `description` is the step title plus its sentence in Hungarian (`Raktárban`, `Automatában`, `Úton`, `Átvéve`, `Visszaküldve`).
- **Status**: a parcel waiting in the locker for the recipient reads `exception` (ready for collection); `returned` is set when the page says it is being sent back to the sender.
- **Time zone**: scan times are Hungarian wall clock (`Europe/Budapest`); `timestamp` is that converted to UTC.

## Related Resources

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