# Andreani Tracking API & MCP

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

Query live **Andreani** (`andreani`) package status and scan history in a single synchronous `GET` request or MCP tool call. Andreani numbers are not auto-detected: Andreani's 15-digit numbers share a shape with FedEx, so they are never auto-detected.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `andreani` |
| **Brand & service aliases** | Andreani, Andreani envíos (`andreani.com`) |
| **Category** | Argentine parcel and logistics carrier |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}?carrier=andreani` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=360000012345670,...&carrier=andreani` |
| **MCP server (`https://mcp.lastscanned.com`)** | `track_package`, `track_packages`, `list_carriers` (`claude mcp add --transport http lastscanned https://mcp.lastscanned.com`) |
| **Authentication & pricing** | `Authorization: Bearer lsk_live_...` · **1 free keyless lookup/day per IP** · **Free tier** (5 unique numbers/day, $0) · **Pro** ($4.99/mo for 1,000 unique numbers, unlimited re-polls, $0.015/extra) · **HTTP 402 Stripe MPP** ($0.50 for 25-number `lsk_pack_` key or $0.02/number in USDC on Tempo) |

## Why developers use `lastscanned` for Andreani

- **Same data as the Andreani tracking page**: stage-by-stage events ("Pendiente de ingreso", "En camino", "En distribución", "Entregado") without an Andreani account.
- **Argentine local times with a UTC timestamp**: Argentina has a single zone, so every scan gets both `localTime` and `timestamp`.

## Tracking Number Formats & Auto-Detection

| Pass | Rule / Regex | Check Digit | Examples |
|---|---|---|---|
| **Pass 1 (`matches`)** | *None* | — | — |
| **Pass 2 (`mayMatch`)** | *None* | — | — |
| **Explicit (`?carrier=andreani`)** | Andreani shipment numbers (15 digits starting with `36`) | — | `360000012345670` |

## Synchronous `GET` Request & Normalized JSON Response

### `curl`

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

### JavaScript / TypeScript (`fetch`)

```ts
const res = await fetch("https://api.lastscanned.com/v1/track/360000012345670?carrier=andreani", {
  headers: { Authorization: `Bearer ${process.env.LASTSCANNED_API_KEY}` },
});
const pkg = await res.json();
console.log(pkg.status, pkg.events[0]);
```

### MCP `track_package` tool call

```json
{
  "tool": "track_package",
  "arguments": {
    "tracking_number": "360000012345670",
    "carrier": "andreani"
  }
}
```

### Normalized `TrackingResult` JSON response

```json
{
  "carrier": "andreani",
  "trackingNumber": "360000012345670",
  "status": "out_for_delivery",
  "statusDescription": "Tu envío salió a distribución",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": null,
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-10-25T12:10:00Z",
      "localTime": "2026-10-25T09:10:00",
      "status": "out_for_delivery",
      "description": "Tu envío salió a distribución",
      "location": null,
      "code": "1"
    },
    {
      "timestamp": "2026-10-24T20:30:00Z",
      "localTime": "2026-10-24T17:30:00",
      "status": "in_transit",
      "description": "Tu envío llegó a la sucursal de destino",
      "location": null,
      "code": "1"
    },
    {
      "timestamp": "2026-10-22T14:00:00Z",
      "localTime": "2026-10-22T11:00:00",
      "status": "label_created",
      "description": "Andreani recibió la información de tu envío",
      "location": null,
      "code": "0"
    }
  ]
}
```

## Notes

- **Status** comes from the current stage Andreani reports (`procesoActual`); it falls back to the newest event's wording.
- **No match** is a `404 not_found`: Andreani answers an unknown number with an empty body.

## Related Resources

- **Live browser lookup tool**: [Track a Andreani package live on lastscanned.com/lookup/andreani](https://lastscanned.com/lookup/andreani)
- **Carrier hub**: [All supported carriers](/carriers)
- **Regex & check digits**: [Tracking number formats & auto-detection](/formats)
- **AI support workflows**: [WISMO AI agents & synchronous tracking](/wismo)
