XPO Logistics tracking URL from a tracking number
XPO Logistics (US) tracking numbers follow this format: 9-18 digits. ShipShim detects the carrier from the number and returns the direct tracking link.
Example: number in, tracking URL out
| Example tracking number | 888888888 |
|---|---|
| Tracking URL | https://track.xpo.com/track/888888888 |
This number format is shared by 11 other carriers. ShipShim still returns
XPO Logistics in the ranked matches list from the bare number, and locks onto it (confidence 100) when you
pass carrier=XPO Logistics or a country hint.
Get the XPO Logistics 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": "888888888", "carrier": "XPO Logistics"}'
Response:
{
"tracking_number": "888888888",
"carrier": "XPO Logistics",
"country": "US",
"tracking_url": "https://track.xpo.com/track/888888888",
"confidence": 100,
"matches": [
{
"carrier": "XPO Logistics",
"country": "US",
"confidence": 100,
"tracking_url": "https://track.xpo.com/track/888888888"
}
]
}
Get a free API key Read the API reference — the free tier includes 100 calls/month.
Related carriers
- FedEx tracking URL (US)
- UPS tracking URL (US)
- USPS tracking URL (US)
- Amazon Logistics tracking URL (US)
- OnTrac tracking URL (US)
- LaserShip tracking URL (US)