# TIPSA Tracking API & MCP

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

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

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `tipsa` |
| **Brand aliases** | TIP-SA, Tipsa Dinapaq, DinaPaq, Tipsa Spain |
| **Category** | Iberian parcel carrier (Spain, Portugal, Andorra) |
| **Region** | Spain / Portugal / Andorra |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=0280010280011234567890,...` |
| **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`)** | `/^\d{22}$/ (not starting `96`)` | none | `0280010280011234567890` |

A 22-digit number that nothing else claims is tried against TIPSA. FedEx's `96…` 22-digit numbers are excluded.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "tipsa",
  "trackingNumber": "0280010280011234567890",
  "status": "delivered",
  "statusDescription": "ENTREGADO",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": "2026-09-01T18:53:00",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": null,
      "localTime": "2026-09-01T18:53:00",
      "status": "delivered",
      "description": "ENTREGADO",
      "location": null,
      "code": null
    },
    {
      "timestamp": null,
      "localTime": "2026-08-26T17:27:00",
      "status": "out_for_delivery",
      "description": "REPARTO",
      "location": null,
      "code": null
    },
    {
      "timestamp": null,
      "localTime": "2026-08-26T15:01:00",
      "status": "exception",
      "description": "Ausente",
      "location": null,
      "code": null
    },
    {
      "timestamp": null,
      "localTime": "2026-08-12T17:50:00",
      "status": "label_created",
      "description": "PENDIENTE DE ENTREGAR A TIPSA",
      "location": null,
      "code": null
    }
  ]
}
```

## Notes

- **Reference**: 22 digits are the charging agency (6), the origin agency (6) and the waybill (10).
- **Language**: TIPSA's wording is Spanish and is kept as sent. The page is ISO-8859-1 and is decoded as such.
- **Time zone**: agencies in Spain and Portugal print local time without a zone, so only `localTime` is given.

## Related Resources

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