# Anteraja Tracking API & MCP

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

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

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `anteraja` |
| **Brand aliases** | AnterAja, Anter Aja, Anteraja Indonesia |
| **Category** | Domestic parcels (Indonesia) |
| **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 |

`matches` and `mayMatch` are both empty: Anteraja numbers are 14 digits, a shape that is not exclusive, so pass `?carrier=anteraja`.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "anteraja",
  "trackingNumber": "11001234567890",
  "status": "delivered",
  "statusDescription": "Delivery sukses oleh KURIR dan paket telah diterima oleh penerima.",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": "2026-10-02T14:55:11",
  "signedBy": null,
  "destination": null,
  "events": [
    {
      "timestamp": null,
      "localTime": "2026-10-02T14:55:11",
      "status": "delivered",
      "description": "Delivery sukses oleh KURIR dan paket telah diterima oleh penerima.",
      "location": null,
      "code": "250"
    },
    {
      "timestamp": null,
      "localTime": "2026-10-02T14:30:54",
      "status": "out_for_delivery",
      "description": "KURIR sudah ditugaskan dan paket akan segera diantar ke penerima.",
      "location": null,
      "code": "240"
    },
    {
      "timestamp": null,
      "localTime": "2026-10-02T14:17:04",
      "status": "in_transit",
      "description": "Paket sedang diproses di Hub Jakarta Barat",
      "location": null,
      "code": "300"
    },
    {
      "timestamp": null,
      "localTime": "2026-09-21T17:44:49",
      "status": "in_transit",
      "description": "Paket sudah di-pickup oleh KURIR.",
      "location": null,
      "code": "200"
    },
    {
      "timestamp": null,
      "localTime": "2026-09-20T16:55:55",
      "status": "label_created",
      "description": "Pickup sudah di-request oleh shipper.",
      "location": null,
      "code": "100"
    }
  ]
}
```

## Notes

- **Source**: the call Anteraja's mobile app makes (`POST api.anteraja.id/order/tracking`). No account is needed.
- **Status codes**: `tracking_code` 100 and 150 are `label_created`, 200 and the hub codes 300, 332 and 334 are `in_transit`, 240 is `out_for_delivery`, 250 is `delivered`, and 500 (held at a hub) is `exception`.
- **Wording**: the scan text is Indonesian; the English field Anteraja offers is empty in practice.
- **Time zone**: Indonesia spans three zones and the scan does not say which applies, so only `localTime` is given and `timestamp` is `null`.

## Related Resources

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