# GLS France Tracking API & MCP

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

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

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `glsfr` |
| **Brand aliases** | GLS France, GLS Colis, moncolis.gls-france.com |
| **Category** | French parcel courier |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=00XY2Z3W,...` |
| **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`)** | `/^00(?=[A-Z0-9]{6}$)(?=.*[A-Z])(?=.*\d)[A-Z0-9]{6}$/` | none | `00XY2Z3W` |

GLS France track ids are eight letters and digits, a shape other carriers share; only the `00`-prefixed form is tried when no carrier claims the number. Pass `?carrier=glsfr` for the rest.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "glsfr",
  "trackingNumber": "00XY2Z3W",
  "status": "delivered",
  "statusDescription": "Delivered",
  "service": null,
  "deliveredAt": "2026-10-01T07:10:52Z",
  "deliveredAtLocal": "2026-10-01T09:10:52",
  "signedBy": "DUPONT",
  "destination": null,
  "events": [
    {
      "timestamp": "2026-10-01T07:10:52Z",
      "localTime": "2026-10-01T09:10:52",
      "status": "delivered",
      "description": "Delivered",
      "location": "FR0057",
      "code": "LTV"
    },
    {
      "timestamp": "2026-10-01T05:21:52Z",
      "localTime": "2026-10-01T07:21:52",
      "status": "out_for_delivery",
      "description": "Out for delivery",
      "location": "FR0057",
      "code": "TRV"
    },
    {
      "timestamp": "2026-09-29T03:11:41Z",
      "localTime": "2026-09-29T05:11:41",
      "status": "label_created",
      "description": "Shipment information received",
      "location": "FR9900",
      "code": "CON"
    }
  ]
}
```

## Notes

- **Backend**: the consignee API behind moncolis.gls-france.com, not the European GLS endpoint used by the [GLS](/docs/carriers/gls) carrier.
- **Events**: the API sends status codes only (`CON` data received, `EXP` / `TRA` in transit, `REC` at the delivery depot, `TRV` out for delivery, `PBA` delivery not completed, `LTV` / `LIV` delivered); descriptions are written from them. `location` is the GLS depot code.
- **Time zone**: scan times are French wall clock (`Europe/Paris`). `signedBy` is the signer name GLS records.

## Related Resources

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