OnTrac tracking URL from a tracking number

OnTrac (US) tracking numbers follow this format: C prefix + 14 digits, or D prefix + 14 digits. ShipShim detects the carrier from the number and returns the direct tracking link.

Example: number in, tracking URL out

Example tracking numberC88888888888888
Tracking URLhttps://www.ontrac.com/tracking/?number=C88888888888888

This number format is shared by 12 other carriers. ShipShim still returns OnTrac in the ranked matches list from the bare number, and locks onto it (confidence 100) when you pass carrier=OnTrac or a country hint.

Get the OnTrac 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": "C88888888888888", "carrier": "OnTrac"}'

Response:

{
    "tracking_number": "C88888888888888",
    "carrier": "OnTrac",
    "country": "US",
    "tracking_url": "https://www.ontrac.com/tracking/?number=C88888888888888",
    "confidence": 100,
    "matches": [
        {
            "carrier": "OnTrac",
            "country": "US",
            "confidence": 100,
            "tracking_url": "https://www.ontrac.com/tracking/?number=C88888888888888"
        }
    ]
}

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

Related carriers

Browse all supported carriers →