# Pitney Bowes Tracking API & MCP

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

Query live **Pitney Bowes** (`pitneybowes`) domestic consolidator and **eBay International Shipping** (`UPAA…`) package status and scan history in a single synchronous `GET` request or MCP tool call.

> **Solving the `"USPS Currently Awaiting Package"` consolidator black hole with `?carrier=pitneybowes`:** Pitney Bowes operates one of the largest US e-commerce parcel sortation networks, inducting millions of domestic **`92…` / `420+ZIP+92…` USPS IMpb barcodes** into USPS for final delivery. Because `usps` claims all `92…` barcodes in Pass 1, querying a `92…` label without `?carrier=` queries USPS—which remains stuck on *"Pre-Shipment / Picked Up by Shipping Partner (PITNEY BOWES), USPS Currently Awaiting Package"* while the parcel moves through Pitney Bowes hubs (`Monroe Twp, NJ`, `Greenwood, IN`, `heb/Dallas, TX`, `Bloomington, CA`). Pass **`?carrier=pitneybowes`** (or `"carrier": "pitneybowes"` in MCP) with that `92…` or `420…92…` number to retrieve Pitney Bowes's live middle-mile sort scans and estimated delivery date!

## Overview & Quick Facts

| Property | Value |
|---|---|
| **Carrier slug (`?carrier=`)** | `pitneybowes` |
| **Brand & service aliases** | Pitney Bowes, PB, Pitney Bowes Ecommerce, eBay International Shipping (`UPAA…`), eBay Global Shipping Program (`tracking.pb.com`) |
| **Category** | Cross-border & US domestic e-commerce parcel consolidator (Detection precedence **#26 of 31**) |
| **Single-package REST endpoint** | `GET https://api.lastscanned.com/v1/track/{trackingNumber}` (auto-detected for `UPAA…`; add `?carrier=pitneybowes` for `92…` USPS labels) |
| **Batch REST endpoint** | `GET https://api.lastscanned.com/v1/track?numbers=UPAA...,UPAA...` |
| **MCP server (`https://mcp.lastscanned.com`)** | `track_package`, `track_packages`, `list_carriers` (`claude mcp add --transport http lastscanned https://mcp.lastscanned.com`) |
| **Authentication & pricing** | `Authorization: Bearer lsk_live_...` · **1 free keyless lookup/day per IP** · **Free tier** (5 unique numbers/day, $0) · **Pro** ($4.99/mo for 1,000 unique numbers, unlimited re-polls, $0.015/extra) · **HTTP 402 Stripe MPP** ($0.50 for 25-number `lsk_pack_` key or $0.02/number in USDC on Tempo) |

## Why developers use `lastscanned` for Pitney Bowes

- **Replaces the retired `pitneybowes.narvar.com` tracker**: Pitney Bowes decommissioned its legacy Narvar tracking portal in favor of `tracking.pb.com` (`trackpb.shipment.co`), and official Pitney Bowes Shipping 360 / Cross-Border APIs require enterprise OAuth developer keys. `lastscanned` queries Pitney Bowes synchronously with zero carrier credentials.
- **Full eBay International Shipping (`UPAA…`) visibility**: eBay International Shipping orders travel from the US seller to the Pitney Bowes Global Shipping Center (e.g. `Glendale Heights, IL`) and then onward to international destination carriers. `lastscanned` auto-detects `UPAA…` numbers in Pass 1 and returns both the US hub scans and the overseas partner's relayed delivery scans.
- **Surfaces pre-USPS Pitney Bowes sort scans on `92…` labels**: When a `92…` USPS barcode is still in Pitney Bowes's middle-mile network, passing `?carrier=pitneybowes` returns every Pitney Bowes hub arrival/departure scan plus Pitney Bowes's `estimatedDelivery` date (`eddTime`), and automatically strips any leading `420` + 5-digit ZIP prefix.

## Tracking Number Formats & Auto-Detection (`matches` vs `?carrier=pitneybowes`)

Pitney Bowes is evaluated **twenty-sixth (#26)** in `lastscanned`'s two-pass detector:

| Pass | Rule / Regex | Check Digit | Examples |
|---|---|---|---|
| **Pass 1 (`matches`) — eBay International Shipping** | `/^UPAA[A-Z]\d{15}$/i` (`UPAA` + 1 letter + 15 digits = 20 chars) | — | `UPAAK000000012345678`, `UPAAG000000089627496` |
| **Pass 2 (`mayMatch`)** | *None* | — | — |
| **Explicit (`?carrier=pitneybowes`) — USPS `92…` / `420…92…` IMpb** | `/^(420\d{5})?9[2345]\d{18,24}$/` (Matches [USPS](/carriers/usps) in Pass 1 unless `?carrier=pitneybowes` is passed) | — | `9261290982736451029384`, `420100019261290982736451029384` |

### When is `?carrier=pitneybowes` optional vs required?

- **Optional (auto-detected)**: All 20-character `UPAA` + letter + 15-digit eBay International Shipping numbers auto-detect in Pass 1.
- **Required (`?carrier=pitneybowes`)**: All 22-digit `92…` (or 30-digit `420` + ZIP + `92…`) USPS labels created through Pitney Bowes when you want to inspect Pitney Bowes hub scans while USPS still says *"USPS Currently Awaiting Package"*.

## Synchronous `GET` Request & Normalized JSON Response

### `curl`

```bash
# eBay International Shipping UPAA... number (auto-detected)
curl -s "https://api.lastscanned.com/v1/track/UPAAK000000012345678" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"

# 92... USPS IMpb consolidator label via Pitney Bowes
curl -s "https://api.lastscanned.com/v1/track/9261290982736451029384?carrier=pitneybowes" \
  -H "Authorization: Bearer $LASTSCANNED_API_KEY"
```

### JavaScript / TypeScript (`fetch`)

```ts
const res = await fetch("https://api.lastscanned.com/v1/track/UPAAK000000012345678", {
  headers: { Authorization: `Bearer ${process.env.LASTSCANNED_API_KEY}` },
});
const pkg = await res.json();
console.log(pkg.status, pkg.service, pkg.events[0]);
```

### MCP `track_package` tool call

```json
{
  "tool": "track_package",
  "arguments": {
    "tracking_number": "9261290982736451029384",
    "carrier": "pitneybowes"
  }
}
```

### Normalized `TrackingResult` JSON response

```json
{
  "carrier": "pitneybowes",
  "trackingNumber": "UPAAK000000012345678",
  "status": "in_transit",
  "statusDescription": "Shipped from Global Shipping Center to Destination",
  "service": "eBay International Shipping",
  "deliveredAt": null,
  "deliveredAtLocal": null,
  "signedBy": null,
  "destination": null,
  "estimatedDelivery": "2026-10-30",
  "events": [
    {
      "timestamp": "2026-10-25T20:11:00Z",
      "localTime": "2026-10-25T15:11:00",
      "status": "in_transit",
      "description": "Shipped from Global Shipping Center to Destination",
      "location": "Glendale Heights, IL, US",
      "code": null
    },
    {
      "timestamp": "2026-10-25T01:40:00Z",
      "localTime": "2026-10-24T20:40:00",
      "status": "in_transit",
      "description": "Processing at Shipping Center",
      "location": "Glendale Heights, IL, US",
      "code": null
    },
    {
      "timestamp": "2026-10-22T14:22:00Z",
      "localTime": "2026-10-22T10:22:00",
      "status": "label_created",
      "description": "Tracking details uploaded",
      "location": "Columbus, OH, US",
      "code": null
    }
  ]
}
```

## Related Resources

- **Live browser lookup tool**: [Track a Pitney Bowes package live on lastscanned.com/lookup/pitneybowes](https://lastscanned.com/lookup/pitneybowes)
- **Carrier hub**: [All 31 supported carriers](/carriers)
- **Regex & check digits**: [Tracking number formats & auto-detection](/formats)
- **AI support workflows**: [WISMO AI agents & synchronous tracking](/wismo)
