# Servientrega Tracking API & MCP

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

Query live **Servientrega** (`servientrega`, Colombia) status and scan history in a single synchronous request.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `servientrega` |
| **Brand aliases** | Servientrega Colombia |
| **Category** | Regional |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=...` |
| **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`)** | none | none | none |

Pass `?carrier=servientrega` so the number is routed here.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "servientrega",
  "trackingNumber": "1234567890",
  "status": "delivered",
  "statusDescription": "Entrega verificada",
  "service": "Mercancia premier",
  "deliveredAt": "2026-03-14T15:54:00Z",
  "deliveredAtLocal": "2026-03-14T10:54:00",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": "2026-03-14T15:54:00Z",
      "localTime": "2026-03-14T10:54:00",
      "status": "delivered",
      "description": "Entrega verificada",
      "location": "Ejemplo (Valle)",
      "code": "11"
    },
    {
      "timestamp": "2026-03-13T20:29:00Z",
      "localTime": "2026-03-13T15:29:00",
      "status": "out_for_delivery",
      "description": "Envio para entrega a domicilio",
      "location": "Ejemplo (Valle)",
      "code": "32"
    },
    {
      "timestamp": "2026-03-10T19:30:00Z",
      "localTime": "2026-03-10T14:30:00",
      "status": "in_transit",
      "description": "Admision del envio en cds",
      "location": "Origen (Caldas)",
      "code": "2"
    }
  ]
}
```

## Notes

- **Source**: the Servientrega tracking gateway (`apim-servientrega-prd.azure-api.net`), not the portal's iframe host. Nine or ten digits is shared with other carriers, so use `?carrier=servientrega`.
- **Time zone**: Colombia keeps one zone, so times are converted from `America/Bogota`.
- **Fields**: `service` is the product type; `signedBy` is the signer when given.

## Related Resources

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