USPS tracking URL from a tracking number

USPS (US) tracking numbers follow this format: 92, 94, 93, or 95 prefix + 18-20 digits, or S10 format ending in US. ShipShim detects the carrier from the number and returns the direct tracking link.

Example: number in, tracking URL out

Example tracking number9400111206206406260787
Tracking URLhttps://tools.usps.com/go/TrackConfirmAction?tLabels=9400111206206406260787

This format is distinctive, so ShipShim identifies USPS from the bare number — no hints needed.

Get the USPS tracking link via API

curl -X POST https://shipshim.com/api/v1/track \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tracking_number": "9400111206206406260787"}'

Response:

{
    "tracking_number": "9400111206206406260787",
    "carrier": "USPS",
    "country": "US",
    "tracking_url": "https://tools.usps.com/go/TrackConfirmAction?tLabels=9400111206206406260787",
    "confidence": 100,
    "matches": [
        {
            "carrier": "USPS",
            "country": "US",
            "confidence": 100,
            "tracking_url": "https://tools.usps.com/go/TrackConfirmAction?tLabels=9400111206206406260787"
        }
    ]
}

Get a free API key   Read the API reference — the free tier includes 100 calls/month.

Related carriers

Browse all supported carriers →