# Tgroup Tracking API & MCP

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

Query live **Tgroup** (`tgroup`) package status and scan history in a single synchronous `GET` request or MCP tool call. The shape belongs to Tgroup alone, so `?carrier=tgroup` is optional for it.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `tgroup` |
| **Brand aliases** | Tgroup, T Group, T-Group, Tgroup SpA, T Group Italy |
| **Category** | Domestic logistics and parcels, Italy |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=3010TGR82656617290945,...` |
| **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`)** | `/^3010TGR\d{14}$/` | none | `3010TGR82656617290945` |
| **Pass 2 (`mayMatch`)** | none | none | none |

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "tgroup",
  "trackingNumber": "3010TGR82656617290945",
  "status": "delivered",
  "statusDescription": "Spedizione Consegnata",
  "service": null,
  "deliveredAt": "2026-08-03T08:37:00Z",
  "deliveredAtLocal": "2026-08-03T10:37:00",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-08-03T08:37:00Z",
      "localTime": "2026-08-03T10:37:00",
      "status": "delivered",
      "description": "Spedizione Consegnata",
      "location": "FIANO ROMANO",
      "code": null
    },
    {
      "timestamp": "2026-07-31T08:14:00Z",
      "localTime": "2026-07-31T10:14:00",
      "status": "out_for_delivery",
      "description": "Affidata Al Giro Consegna",
      "location": null,
      "code": null
    },
    {
      "timestamp": "2026-07-28T20:35:00Z",
      "localTime": "2026-07-28T22:35:00",
      "status": "in_transit",
      "description": "In Partenza Da Centro Smistamento",
      "location": "MELEGNANO",
      "code": null
    },
    {
      "timestamp": "2026-07-28T10:17:00Z",
      "localTime": "2026-07-28T12:17:00",
      "status": "label_created",
      "description": "Nuova Spedizione Creata",
      "location": "SANDIGLIANO",
      "code": null
    }
  ]
}
```

## Notes

- **Time zone**: `dd/mm/yyyy hh:mm` in Italian local time (`Europe/Rome`); `timestamp` is converted from it.
- **Locations**: the depot comes as `158 - SANDIGLIANO`; the numeric depot code is dropped.
- **Auto-detection**: the `3010TGR` prefix belongs to Tgroup alone, so `?carrier=tgroup` is optional. An unknown number answers `NUMERO SPEDIZIONE NON TROVATO`.

## Related Resources

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