# Sagawa Express Tracking API & MCP

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

Query live **Sagawa Express** (`sagawa`) package status in a single synchronous `GET` request or MCP tool call. Sagawa's numbers are 10 or 12 digits, a shape other carriers share, so pass `?carrier=sagawa`.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `sagawa` |
| **Brand aliases** | Sagawa Express, Sagawa, 佐川急便 |
| **Category** | International (Japan) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}?carrier=sagawa` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=...,...&carrier=sagawa` |
| **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 |

Sagawa waybill numbers (お問い合せ送り状No.) are 10 or 12 digits, like FedEx and DHL numbers, so always pass `?carrier=sagawa`.

## Synchronous `GET` Request & Normalized JSON Response

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

```json
{
  "carrier": "sagawa",
  "trackingNumber": "123456789012",
  "status": "delivered",
  "statusDescription": "【配達完了】 お荷物のお届けが完了致しました。ご利用頂きありがとうございました。",
  "service": null,
  "deliveredAt": null,
  "deliveredAtLocal": null,
  "signedBy": null,
  "destination": null,
  "message": null,
  "events": [
    {
      "timestamp": null,
      "localTime": null,
      "status": "delivered",
      "description": "【配達完了】 お荷物のお届けが完了致しました。ご利用頂きありがとうございました。",
      "location": null,
      "code": "0051"
    }
  ]
}
```

## Notes

- **Current state only**: Sagawa's open endpoint (the one its app widget uses) returns the latest state and its message, not the scan history or times. `events` holds that one state, with `timestamp` and `localTime` `null`. Sagawa's web page has the history, but it refuses automated requests.
- **Status codes**: `code` is Sagawa's state code (`0051` is delivered); the other states are read from the 【label】 in the message.

## Related Resources

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