# Sending (Spain) Tracking API & MCP

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

Query live **Sending** (`sending`) package status and scan history in a single synchronous `GET` request or MCP tool call. Sending numbers are 12 digits, a shape other carriers share, so pass `?carrier=sending`.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `sending` |
| **Brand aliases** | Sending, Sending Spain, Sending Transporte Urgente |
| **Category** | Parcel courier (Spain) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=781234567890,...` |
| **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`)** | none | none | none |
| **Pass 2 (`mayMatch`)** | none | none | none |

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "sending",
  "trackingNumber": "781234567890",
  "status": "delivered",
  "statusDescription": "El envio ha sido entregado",
  "service": null,
  "deliveredAt": "2026-09-14T12:00:00Z",
  "deliveredAtLocal": "2026-09-14T14:00:00",
  "signedBy": null,
  "destination": {
    "city": "Granada",
    "state": null,
    "country": "ES"
  },
  "events": [
    {
      "timestamp": "2026-09-14T12:00:00Z",
      "localTime": "2026-09-14T14:00:00",
      "status": "delivered",
      "description": "El envio ha sido entregado",
      "location": "Granada",
      "code": null
    },
    {
      "timestamp": "2026-09-14T11:59:00Z",
      "localTime": "2026-09-14T13:59:00",
      "status": "out_for_delivery",
      "description": "Tu envio esta en reparto",
      "location": "Granada",
      "code": null
    },
    {
      "timestamp": "2026-09-10T17:36:00Z",
      "localTime": "2026-09-10T19:36:00",
      "status": "exception",
      "description": "Has sido ausente",
      "location": "Granada",
      "code": null
    },
    {
      "timestamp": "2026-09-09T13:17:00Z",
      "localTime": "2026-09-09T15:17:00",
      "status": "in_transit",
      "description": "Mercancia recogida",
      "location": "Barcelona",
      "code": null
    }
  ]
}
```

## Notes

- **Language**: descriptions are Spanish. **Time zone**: Spanish local time (`Europe/Madrid`).
- **Session**: Sending's JSF app files the number in the visitor's session (a POST that redirects, then a GET), so a lookup is two requests sharing one cookie.

## Related Resources

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