# La Poste du Sénégal Tracking API & MCP

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

Query live **La Poste du Sénégal** (`lapostesenegal`) package status and scan history in a single synchronous `GET` request or MCP tool call.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `lapostesenegal` |
| **Brand aliases** | La Poste du Sénégal, Senegal Post, La Poste Sénégal, laposte.sn |
| **Category** | Senegal national post (UPU S10 items) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=RR987654326SN,...` |
| **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`)** | `s10From("SN")`: `/^[A-Z]{2}\d{9}SN$/` with a valid UPU S10 check digit | UPU S10 | `RR987654326SN` |
| **Pass 2 (`mayMatch`)** | none | none | none |

Items ending `SN` belong to La Poste du Sénégal alone. Items other posts send to Senegal end in their own code, so pass `?carrier=lapostesenegal` for those. Jotnaci numbers go to another system and are not read.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "lapostesenegal",
  "trackingNumber": "RR987654326SN",
  "status": "in_transit",
  "statusDescription": "Expédier envoi à adresse nationale (Ent)",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": null,
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-02-08T02:53:09Z",
      "localTime": "2026-02-08T02:53:09",
      "status": "in_transit",
      "description": "Expédier envoi à adresse nationale (Ent)",
      "location": "DAKAR CENTRE DE TRI, Senegal",
      "code": "35"
    },
    {
      "timestamp": "2026-02-07T22:59:41Z",
      "localTime": "2026-02-07T22:59:41",
      "status": "in_transit",
      "description": "Recevoir envoi au bureau d'échange (Ent)",
      "location": "DAKAR CENTRE DE TRI, Senegal",
      "code": "30"
    },
    {
      "timestamp": "2026-02-06T09:15:00Z",
      "localTime": "2026-02-06T09:15:00",
      "status": "in_transit",
      "description": "Recevoir envoi au bureau de livraison (Ent)",
      "location": "Thiaroye, Senegal",
      "code": "32"
    }
  ]
}
```

## Notes

- **Wording**: the French (`LocalName`) text is shown; status is worked out from the IPS English name.
- **Time zone**: events in Senegal (UTC+0, no DST) get a `timestamp`; events abroad only `localTime`.

## Related Resources

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