# Chronodiali Tracking API & MCP

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

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

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `chronodiali` |
| **Brand aliases** | Chronodiali, Chrono Diali, chronodiali.ma |
| **Category** | Moroccan express courier |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=CD2702223035,CD2702223035` |
| **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`)** | `/^(?:CHPU\d{19}\|CD\d{10})$/` | none | `CD2702223035` |
| **Pass 2 (`mayMatch`)** | none | none | none |

Shapes this carrier uses:

- CD + 10 digits: `^CD\d{10}$`
- CHPU + 19 digits: `^CHPU\d{19}$`

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "chronodiali",
  "trackingNumber": "CD2702223035",
  "status": "delivered",
  "statusDescription": "Delivered",
  "service": null,
  "deliveredAt": "2026-08-01T13:51:24Z",
  "deliveredAtLocal": null,
  "signedBy": null,
  "destination": {
    "city": "Sale",
    "state": null,
    "country": "MA"
  },
  "events": [
    {
      "timestamp": "2026-08-01T13:51:24Z",
      "localTime": null,
      "status": "delivered",
      "description": "Delivered",
      "location": "Rabat",
      "code": "delivered"
    },
    {
      "timestamp": "2026-08-01T10:56:28Z",
      "localTime": null,
      "status": "out_for_delivery",
      "description": "Out For Delivery",
      "location": "Rabat",
      "code": "accept"
    },
    {
      "timestamp": "2026-07-27T09:45:48Z",
      "localTime": null,
      "status": "in_transit",
      "description": "Arrived In Country",
      "location": "Casablanca",
      "code": "arrived_in_country"
    },
    {
      "timestamp": "2026-07-12T00:33:51Z",
      "localTime": null,
      "status": "label_created",
      "description": "Pickup Awaited",
      "location": "Casablanca",
      "code": "pickup_awaited"
    }
  ]
}
```

## Notes

- **Source**: Chronodiali's tracking page calls a Shipsy consignment API with a published key.
- **Time zone**: only the UTC time is given; `localTime` is `null` because Morocco's offset changes around Ramadan.
- **Skipped rows**: internal rows (call logs, data updates, courier assignment) are left out; failed attempts add the reason (for example no answer) in French.

## Related Resources

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