# Sagawa Global (SGX) Tracking API & MCP

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

Query live **Sagawa Global Express / SGX** (`sagawaglobal`) package status and scan history in a single synchronous `GET` request or MCP tool call.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `sagawaglobal` |
| **Brand aliases** | Sagawa Global, SGX, Sagawa Global Express |
| **Category** | Cross-border parcels (Japan) |
| **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`)** | `/^IDA\d{12}$/` | none | `IDA010120260001` |
| **Pass 2 (`mayMatch`)** | none | none | none |

| Format | Pattern |
|---|---|
| SGX air waybill (IDA + MMDDYYYY + 4 digits) | `^IDA\d{12}$` |
| Sagawa domestic number (12 digits) | `^\d{12}$` |

Shapes this carrier does not own alone are not auto-detected; pass `?carrier=sagawaglobal`.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "sagawaglobal",
  "trackingNumber": "IDA010120260001",
  "status": "delivered",
  "statusDescription": "Delivered",
  "service": null,
  "deliveredAt": "2026-01-10T10:20:00Z",
  "deliveredAtLocal": "2026-01-10T19:20:00",
  "signedBy": null,
  "destination": null,
  "message": "Handed to Sagawa Express as 357000000000",
  "events": [
    {
      "timestamp": "2026-01-10T10:20:00Z",
      "localTime": "2026-01-10T19:20:00",
      "status": "delivered",
      "description": "Delivered",
      "location": "NARITA, JAPAN",
      "code": null
    },
    {
      "timestamp": "2026-01-09T09:26:00Z",
      "localTime": "2026-01-09T18:26:00",
      "status": "out_for_delivery",
      "description": "Out For Delivery",
      "location": "NARITA, JAPAN",
      "code": null
    },
    {
      "timestamp": "2026-01-05T20:05:00Z",
      "localTime": "2026-01-05T12:05:00",
      "status": "in_transit",
      "description": "On Board Aircraft",
      "location": "LOS ANGELES,U.S.A",
      "code": null
    }
  ]
}
```

## Notes

- **Handoff**: `message` names the domestic Sagawa number. Pass it to `GET /v1/track/{number}?carrier=sagawa` for Sagawa Express's own scans.
- **Domestic number**: searching with the 12-digit local number follows SGX's one-row summary to its waybill. 12-digit numbers are shared with other carriers, so pass `?carrier=sagawaglobal`.
- **Time zone**: scans in Japan are converted from `Asia/Tokyo` and scans in Los Angeles from `America/Los_Angeles`; other places keep local time only. `ABSENCE` scans are exceptions.

## Related Resources

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