# A Tu Hora Express Tracking API & MCP

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

Query live **A Tu Hora Express** (`atuhoraexpress`) package status and scan history in a single synchronous `GET` request or MCP tool call.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `atuhoraexpress` |
| **Brand aliases** | A Tu Hora Express, ATH Express, atuhoraexpress.com |
| **Category** | Spanish same-day and e-commerce courier |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=000000001285693400141020,000000001285693400141020` |
| **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`)** | `/^0{6}\d{10}001\d{5}$/` | none | `000000001285693400141020` |
| **Pass 2 (`mayMatch`)** | none | none | none |

`24 digits: 000000 + 10-digit waybill + 001 + postcode` numbers belong to A Tu Hora Express alone, so `?carrier=atuhoraexpress` is optional.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "atuhoraexpress",
  "trackingNumber": "000000001285693400141020",
  "status": "delivered",
  "statusDescription": "Realizado con éxito",
  "service": null,
  "deliveredAt": "2026-07-13T19:40:20Z",
  "deliveredAtLocal": "2026-07-13T21:40:20",
  "signedBy": null,
  "destination": {
    "city": "Sevilla",
    "state": null,
    "country": "ES"
  },
  "events": [
    {
      "timestamp": "2026-07-13T19:40:20Z",
      "localTime": "2026-07-13T21:40:20",
      "status": "delivered",
      "description": "Realizado con éxito",
      "location": null,
      "code": "4"
    },
    {
      "timestamp": "2026-07-13T08:40:49Z",
      "localTime": "2026-07-13T10:40:49",
      "status": "out_for_delivery",
      "description": "En reparto",
      "location": null,
      "code": "2"
    },
    {
      "timestamp": "2026-06-05T00:37:54Z",
      "localTime": "2026-06-05T02:37:54",
      "status": "label_created",
      "description": "Documentado",
      "location": null,
      "code": "0"
    }
  ]
}
```

## Notes

- **Number**: the last five digits are the delivery postcode, which the carrier needs with the number.
- **Time zone**: scan times are Spanish time (`Europe/Madrid`); `timestamp` is converted from it. Repeated identical scans are shown once.

## Related Resources

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