# Anjun Logistics Tracking API & MCP

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

Query live **Anjun Logistics** (`anjun`) package status and scan history in a single synchronous `GET` request or MCP tool call. Anjun is a Shenzhen cross-border logistics company; the lookup takes the number printed on its label.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `anjun` |
| **Brand aliases** | Anjun, Anjun Logistics, Shenzhen Anjun, 安骏物流 |
| **Category** | Cross-border e-commerce parcels |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}?carrier=anjun` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=...,...&carrier=anjun` |
| **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 |

Anjun numbers have no shape that other carriers do not also use, so always pass `?carrier=anjun`.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "anjun",
  "trackingNumber": "AJ123456789",
  "status": "in_transit",
  "statusDescription": "Departed from transit hub",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": null,
  "signedBy": null,
  "destination": {
    "city": null,
    "state": null,
    "country": "DE"
  },
  "message": null,
  "events": [
    {
      "timestamp": null,
      "localTime": "2026-10-22T08:15:00",
      "status": "in_transit",
      "description": "Departed from transit hub",
      "location": "Frankfurt",
      "code": "transport"
    },
    {
      "timestamp": null,
      "localTime": "2026-10-18T19:02:00",
      "status": "label_created",
      "description": "Order information received",
      "location": "Shenzhen",
      "code": "forecast"
    }
  ]
}
```

## Notes

- **Time zone**: scan times come with no zone, so `localTime` is the carrier's clock time and `timestamp` is `null`.
- **Codes**: `code` is Anjun's stage code (`forecast`, `transport`, `customs_buckle`, `arrive_to_collect`, `delivered`, and so on). Customs holds, failed deliveries, pickup-point arrivals and returns map to `exception` or `returned`.
- **Access**: the carrier's tracking service asks for a time-based token that its own page computes; `lastscanned` builds the same token, so no account is needed.

## Related Resources

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