# OCS ANA Tracking API & MCP

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

Query live **OCS ANA** (`ocsana`) package status and scan history in a single synchronous `GET` request or MCP tool call. OCS ANA Group (Japan) express shipments into and out of Japan, with every handling scan.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `ocsana` |
| **Brand aliases** | OCS, OCS Worldwide, ANA Group OCS |
| **Category** | International express, Japan |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=366256104712,366256104712` |
| **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 |

This carrier's numbers are not unique to it, so pass `?carrier=ocsana`.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "ocsana",
  "trackingNumber": "366256104712",
  "status": "delivered",
  "statusDescription": "Delivered: Delivery Completed, Delivered",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": "2026-04-15T11:43:00",
  "signedBy": null,
  "destination": null,
  "message": null,
  "events": [
    {
      "timestamp": null,
      "localTime": "2026-04-15T11:43:00",
      "status": "delivered",
      "description": "Delivered: Delivery Completed, Delivered",
      "location": null,
      "code": null
    },
    {
      "timestamp": null,
      "localTime": "2026-04-14T11:26:00",
      "status": "in_transit",
      "description": "Ready to Hand Over to Contracted Company",
      "location": "TOKYO SKYGATE / JAPAN",
      "code": null
    }
  ]
}
```

## Notes

- **Source**: The OCS tracking result page `webcsw.ocs.co.jp/csw/ECSWG0201R00003P.do?cwbno={number}`, server-rendered HTML parsed into normalized events. No account.
- **Descriptions** are the activity and the memo (`Status Updated by Delivery Contracted Company: Out for Delivery`); a waybill number glued to the memo is dropped.
- **Time zone**: scans happen in several countries and the page gives no zone, so only `localTime` is set.
- 11–12 digit numbers are shared with FedEx and others, so pass `?carrier=ocsana`.

## Related Resources

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