# SPX Express Brazil Tracking API & MCP

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

Query live **SPX Express Brazil** (`spxbr`) package status and scan history in a single synchronous `GET` request or MCP tool call. The shape is only tried when no other carrier claims the number, so pass `?carrier=spxbr` to be certain.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `spxbr` |
| **Brand aliases** | SPX Express Brazil, SPX Brazil, Shopee Xpress Brazil, SPX BR, Shopee Entrega |
| **Category** | Domestic and cross-border e-commerce parcels (Shopee), Brazil |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=BR257449972818X,...` |
| **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`)** | `/^BR\d{12}[0-9A-Z]$/` | none | `BR257449972818X` |

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "spxbr",
  "trackingNumber": "BR257449972818X",
  "status": "delivered",
  "statusDescription": "Pedido entregue",
  "service": null,
  "deliveredAt": "2026-03-24T14:59:58Z",
  "deliveredAtLocal": "2026-03-24T14:59:58",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-03-24T14:59:58Z",
      "localTime": "2026-03-24T14:59:58",
      "status": "delivered",
      "description": "Pedido entregue",
      "location": null,
      "code": "F980"
    },
    {
      "timestamp": "2026-03-24T09:05:49Z",
      "localTime": "2026-03-24T09:05:49",
      "status": "out_for_delivery",
      "description": "Pedido em rota de entrega para seu endereço, aguarde pelas próximas horas.",
      "location": null,
      "code": "F600"
    },
    {
      "timestamp": "2026-03-20T10:18:29Z",
      "localTime": "2026-03-20T10:18:29",
      "status": "in_transit",
      "description": "Pedido chegou ao centro de distribuição",
      "location": "São Paulo - SP",
      "code": "F510"
    }
  ]
}
```

## Notes

- **Time zone**: SPX Brazil gives epoch seconds and no zone, and Brazil spans several, so events carry the UTC `timestamp` and `localTime` is `null`.
- **Same backend as the other SPX countries**: `spx.com.br` serves the open JSON that `spx.ph`, `spx.com.my` and the others do. A number not found answers `not_found`.
- **Auto-detection**: the `BR…` shape is only tried when no other carrier claims the number (`mayMatch`), so pass `?carrier=spxbr` to be certain.

## Related Resources

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