# Northline (Australia) Tracking API & MCP

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

Query live **Northline** (`northline`) package status and scan history in a single synchronous `GET` request or MCP tool call. Consignment notes (`4ABC1234567`) are tried only when no other carrier claims the number. Pass `?carrier=northline` to be sure.

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `northline` |
| **Brand aliases** | Northline, Northline Australia, Northline Freight |
| **Category** | Freight carrier (Australia) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=4ABC1234567,...` |
| **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`)** | `/^\d[A-Z]{3}\d{5,8}$/` (customer-prefixed consignment notes) | none | `4ABC1234567` |

## Synchronous `GET` Request & Normalized JSON Response

```bash
curl -s "https://api.lastscanned.com/v1/track/4ABC1234567" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
```

```json
{
  "carrier": "northline",
  "trackingNumber": "4ABC1234567",
  "status": "delivered",
  "statusDescription": "Delivered",
  "service": null,
  "deliveredAt": "2026-03-22T01:16:41Z",
  "deliveredAtLocal": "2026-03-22T12:16:41",
  "signedBy": null,
  "destination": {
    "city": "BOSSLEY PARK",
    "state": "NSW",
    "country": "AU"
  },
  "events": [
    {
      "timestamp": "2026-03-22T01:16:41Z",
      "localTime": "2026-03-22T12:16:41",
      "status": "delivered",
      "description": "Delivered",
      "location": null,
      "code": "8"
    },
    {
      "timestamp": "2026-03-22T01:16:19Z",
      "localTime": "2026-03-22T12:16:19",
      "status": "out_for_delivery",
      "description": "On Delivery",
      "location": null,
      "code": "6"
    },
    {
      "timestamp": "2026-03-04T03:57:20Z",
      "localTime": "2026-03-04T14:57:20",
      "status": "in_transit",
      "description": "Dest Depot",
      "location": null,
      "code": "7"
    },
    {
      "timestamp": "2026-02-26T05:39:50Z",
      "localTime": "2026-02-26T15:39:50",
      "status": "in_transit",
      "description": "Send Depot",
      "location": null,
      "code": "2"
    },
    {
      "timestamp": "2026-02-20T00:25:59Z",
      "localTime": "2026-02-20T10:25:59",
      "status": "label_created",
      "description": "Booking Received",
      "location": null,
      "code": "1"
    }
  ]
}
```

## Notes

- **Time zone**: Northline's timestamps end in `Z` but are the branch's local clock. The `branch` zone (`AEST` = Brisbane +10:00, `AEDT` = Sydney and Melbourne +11:00 in summer) gives the offset, so `timestamp` is exact.
- **Unknown numbers**: Northline returns an empty shell (id 0, no milestones) for an unknown note, reported as not found. Repeated identical milestones are collapsed.

## Related Resources

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