UPS Tracking API in 2026: OAuth, Webhooks, Limits & Cost
How the official UPS Tracking API works in 2026: OAuth, the Track endpoint, Track Alert webhooks and their fees, and when one multi-carrier API is simpler.
WhereParcel Team
UPS gives developers two ways to track packages: the Track API, which you call to get a package’s current status and history, and Track Alert, which pushes events to your server as they happen. Both sit behind OAuth on the UPS Developer Portal, and they’re billed differently.
This guide walks through how each one works in 2026: what you need before you start, the requests, the webhook rules, what UPS says about rate limits, and what it costs. At the end, we compare that with tracking UPS through one multi-carrier API.
Checked November 23, 2026 against UPS’s developer portal and its published OpenAPI specs. UPS changes its APIs over time, so confirm the details in its docs before you build.
The Short Version
| UPS Track API | UPS Track Alert | One multi-carrier API (WhereParcel) | |
|---|---|---|---|
| How you get updates | You call it (polling) | UPS pushes events to your HTTPS URL | Call it, or register parcels for push |
| What you need | UPS.com ID + UPS account number, an app on the developer portal | Same, plus webhook setup | An API key — no UPS account |
| Price | Free for UPS shippers | First 100 numbers a month free, then $0.015 per number ($0.03 with delivery photo) | Plans from $49/month for 10,000 requests |
| Per request | One tracking number | Up to 100 tracking numbers | One UPS number per lookup; up to 100 per push registration |
| How long it follows a parcel | As long as you keep polling (data kept 120 days after delivery) | 14 days per subscription — resubscribe to continue | Up to 10 days per registration |
| Other carriers | UPS only | UPS only | USPS, FedEx, DHL and the rest of 39+ live carriers, same JSON |
Before You Start
To create an application on the UPS Developer Portal, UPS asks for two things:
- A UPS profile (UPS.com ID) — the username you sign in to ups.com with.
- A UPS account number (also called a shipper number) linked to that profile.
Once the app exists, you get a client ID and client secret for OAuth. UPS also runs a test environment, the Customer Integration Environment (CIE), at wwwcie.ups.com; production is onlinetools.ups.com.
Two business rules are worth reading before you design anything. UPS’s Track API rules say the API is for users who ship packages with UPS, and that access is revoked for abuse or data mining. If you’re building for merchants who ship on their own UPS accounts — a marketplace, a 3PL, a SaaS tool — check how that fits your use case.
Step 1 — Get an OAuth Token
UPS uses the OAuth 2.0 client-credentials flow. Send your client ID and secret as HTTP Basic auth:
curl -X POST "https://wwwcie.ups.com/security/v1/oauth/token" \
-u "$UPS_CLIENT_ID:$UPS_CLIENT_SECRET" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "grant_type=client_credentials"
The response includes access_token and expires_in (seconds). Cache the token and refresh it before it expires — requesting a new token for every tracking call is wasted work, and UPS’s best practices specifically ask you to refresh before expiration to avoid authentication errors.
Step 2 — Track a Package
The Track API takes one tracking number per request in the URL path:
curl "https://wwwcie.ups.com/api/track/v1/details/1Z023E2X0214323462?locale=en_US" \
-H "Authorization: Bearer $UPS_TOKEN" \
-H "transId: $(uuidgen | tr -d -)" \
-H "transactionSrc: my-store"
transId(a unique ID per request) andtransactionSrc(the name of your app) are required headers.- Optional query parameters:
returnMilestones=truegroups scans into simple milestones,returnPOD=truereturns proof of delivery, andreturnSignature=truereturns the signature image (only for users who are party to the package). - There’s also a separate endpoint to track by reference number instead of tracking number.
The response nests the package under trackResponse.shipment[].package[]. Each package has a currentStatus with a code, a description, a simplifiedTextDescription (for example “Delivered”) and a statusCode, plus an activity list of scan events.
Things that catch people out:
- The test environment returns the same sample response for every tracking number. You can’t test real edge cases (exceptions, returns, multi-package shipments) in CIE — plan to test those in production.
- How much you see depends on who you are. The shipper and UPS My Choice users get more detail — delivery time, recipient name, street address, signature — than everyone else.
- Data is kept 120 days after delivery, and UPS notes a tracking number can occasionally be reused within that window, in which case the response returns every matching package.
- Not found is a 404. Handle it separately from real errors such as expired tokens or outages.
Step 3 — Webhooks With Track Alert
If you don’t want to poll, Track Alert pushes events to you. The current version is v2, and new integrations must use it. In v2 your callback URL and its credentials are set up once, during onboarding, rather than sent with every subscription.
Subscribe up to 100 tracking numbers per request:
curl -X POST "https://wwwcie.ups.com/api/track/v2/subscription/standard/package" \
-H "Authorization: Bearer $UPS_TOKEN" \
-H "transId: $(uuidgen | tr -d -)" \
-H "transactionSrc: my-store" \
-H "Content-Type: application/json" \
-d '{
"locale": "en_US",
"countryCode": "US",
"trackingNumberList": ["1ZCIETST0111111114", "1ZCIETST0422222228"]
}'
The response lists which numbers were accepted (validTrackingNumbers) and which weren’t (invalidTrackingNumbers). The two numbers above are UPS’s own CIE test numbers: submit them in the test environment and UPS sends a short series of sample events to your URL.
The rules that shape your design:
- 14 days per subscription. If the package isn’t delivered within 14 days, events stop until you resubscribe. Each submission restarts the 14-day window.
- No history. Track Alert only sends events that happen after you subscribe. For earlier scans, call the Track API.
- Every submission is billed — including resubmitting a number you already subscribed.
- HTTPS on port 443 only for your callback URL.
- 1Z and Roadie (1R) numbers are supported.
- Events carry a type — manifest (
M/MV), in progress (I), exception (X), update (U) and delivery (D) — plus a two-character status code and a short description.
There’s also Track Alert with Photo, which adds a delivery photo event when the driver takes one (residential deliveries left at a release point).
Rate Limits
UPS doesn’t publish fixed rate-limit numbers in its Track API documentation. What its best practices do say:
- Cache responses and query only when needed.
- Don’t poll the same tracking number too often — UPS updates tracking data periodically, so frequent polling rarely returns anything new and can lead to throttling.
In practice, design for back-off: treat throttling responses as “try later”, not as failures, and spread re-checks out instead of looping over every open shipment at once.
What It Costs
| Item | Cost |
|---|---|
| Track API | Free for UPS shippers |
| Track Alert | First 100 numbers a month free, then $0.015 per number submitted |
| Track Alert with Photo | First 100 a month free, then $0.03 per number |
At 5,000 parcels a month followed by webhook, Track Alert is about $73.50 (4,900 × $0.015), more if you resubscribe parcels that run past 14 days. The bigger cost is usually engineering: token handling, two APIs (Track for history, Track Alert for push), CIE testing that can’t show real edge cases — and then the same again for USPS and FedEx, which have their own developer programs, auth and response formats.
When One Multi-Carrier API Is Simpler
If UPS is your only carrier and you already have a UPS account, the official API is a good choice: the Track API is free, and as the shipper you get details — signatures, proof of delivery, recipient information — that WhereParcel doesn’t return.
It gets heavier when you ship with several carriers, or when you track parcels you didn’t ship yourself. That’s what WhereParcel is for:
- No UPS account or developer app — one API key covers UPS, USPS, FedEx, DHL and the rest of our 39+ live carriers.
- One response format — every carrier returns the same JSON with nine standard statuses (
pending,in_transit,out_for_delivery,delivered,failed,returned,cancelled,lost,unknown). - Typo protection — we check the 1Z check digit before a lookup, so a mistyped number is rejected with a 400 instead of being counted.
Look up one UPS package:
curl -X POST https://api.whereparcel.com/v2/track \
-H "Authorization: Bearer YOUR_API_KEY:YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{"trackingItems": [{"carrier": "us.ups", "trackingNumber": "1Z999AA10123456784"}]}'
UPS lookups go one tracking number per call and can take noticeably longer than most carriers, so set a generous timeout. For more than a few parcels, register them for push instead — up to 100 per call, any mix of carriers:
curl -X POST https://api.whereparcel.com/v2/webhooks/register \
-H "Authorization: Bearer YOUR_API_KEY:YOUR_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"webhookEndpointId": "wep_...",
"recurring": true,
"trackingItems": [
{"carrier": "us.ups", "trackingNumber": "1Z999AA10123456784", "clientId": "order-1002"},
{"carrier": "us.usps", "trackingNumber": "9400111899562537866361", "clientId": "order-1001"}
]
}'
Each registered parcel counts once. We re-check it about every 12 hours for up to 10 days and post the result to your endpoint after each check, signed with HMAC-SHA256. The Python tutorial walks through the whole flow, including signature checks.
The trade-offs, honestly:
- Freshness — Track Alert pushes events in near real time; we re-check about every 12 hours.
- Window — Track Alert can be renewed in 14-day blocks; our registration follows a parcel for up to 10 days.
- Shipper-only data — signatures, proof of delivery and recipient details come from UPS to the shipper, not from us.
- Price — if UPS is all you need and you have an account, the Track API costs nothing. Our plans start at $49/month for 10,000 requests.
Which Should You Use?
| Your situation | Best fit |
|---|---|
| UPS shipper, UPS only, polling a modest number of parcels | UPS Track API (free) |
| UPS shipper who needs near-real-time events or delivery photos | UPS Track Alert, plus the Track API for history |
| You ship with UPS, USPS and FedEx and want one integration | A multi-carrier API |
| You track parcels shipped on other people’s UPS accounts | A multi-carrier API — check UPS’s usage rules first if you go direct |
FAQ
Is the UPS Tracking API free? The Track API is free for UPS shippers. Track Alert (webhooks) is free for the first 100 tracking numbers each month, then $0.015 per number.
Does UPS have tracking webhooks? Yes — Track Alert. You subscribe up to 100 tracking numbers per request, and events are pushed to your HTTPS URL for 14 days per subscription.
What’s the UPS tracking API endpoint?
GET https://onlinetools.ups.com/api/track/v1/details/{inquiryNumber} in production and https://wwwcie.ups.com/api/track/v1/details/{inquiryNumber} for testing, with an OAuth bearer token and the transId and transactionSrc headers.
What’s the UPS API rate limit? UPS doesn’t publish a fixed number for the Track API. Its guidance is to cache results and avoid polling the same number too often, which can lead to throttling.
Can I test with real tracking numbers in the sandbox? Not usefully — the Track API test environment returns the same sample response for every number. Track Alert has dedicated test numbers that send sample events.
Want to check a number first? Paste it into the free Tracking Number Validator to see which carrier it matches, or try a UPS lookup in the playground — no signup needed. When it fits, subscribe — cancel anytime.
Related guides:
Can't find your carrier? We add new carriers on request — just let us know.
Request a carrier →Got a question? Just ask. Drop by our Discord — the developer behind WhereParcel reads every message and replies personally. No bots, no tickets, just a real conversation.
Join Discord → Join Slack →