UPSDeveloper APIsglobalRESTActive

UPS Developer APIs (REST + OAuth 2.0)

UPS's modern REST and OAuth 2.0 surface, replacing the legacy XML/SOAP web services that were sunset on 2024-06-03. Covers Shipping, Rating, Tracking, Address Validation, and Time in Transit.

UPS Developer APIs are the modern UPS surface for shipping, rating, tracking, time-in-transit, and address validation. They use REST with JSON bodies and OAuth 2.0 for authentication. UPS sunset its legacy XML and SOAP web services on 2024-06-03; integrators that still see references to UPS XML must migrate to this REST surface to avoid scheduled-failure outages. Authentication uses the OAuth 2.0 client_credentials grant. Cache the access token centrally, refresh with a buffer before expiry, and ensure only one refresh runs concurrently across workers — uncoordinated refreshes will rate-limit the UPS token endpoint and widen any auth incident. Authorization Code grant is also supported for partner integrations that act on behalf of an end-user account. The sandbox endpoint (`wwwcie.ups.com`) returns deterministic test data for many tracking and rate flows, but negotiated rates and account-specific surcharges are typically only correct in production. Treat the sandbox as a contract test, not a rate-accuracy test. Webhooks for tracking events are delivered through UPS Quantum View Notify; signature validation must run against the raw request body before parsing. When migrating from the legacy XML/SOAP surface, expect rate response shapes, tracking-event vocabularies, and error codes to change. The migration is not a one-line endpoint swap; treat it as a contract migration with parallel running and explicit cutover.

Surface details

API name
UPS Developer APIs (REST + OAuth 2.0)
Authentication
OAuth 2.0 client_credentials grant with bearer tokens; Authorization Code grant for delegated access
Production base URL
https://onlinetools.ups.com/api
Sandbox base URL
https://wwwcie.ups.com/api
Sandbox notes
Sandbox base URL is the UPS Customer Integration Environment (CIE). Tokens issued in CIE are not valid in production and vice versa. Negotiated rates and account-specific products are usually only available in production.

Frequently asked questions

Are the legacy UPS XML/SOAP services still available?

No. UPS sunset its legacy XML/SOAP web services on 2024-06-03. The modern REST and OAuth 2.0 Developer APIs are the replacement; legacy integrators must migrate to avoid scheduled-failure outages.

Are negotiated rates available in the UPS sandbox?

Generally no. The UPS Customer Integration Environment returns deterministic test data and a stable rate card. Negotiated rates and account-specific products are typically only correct in production.

Which OAuth grant should I use for server-to-server UPS calls?

client_credentials. The Authorization Code grant exists for partner integrations that act on behalf of an end-user account and is not the right shape for a single-tenant shipping integration.

Related concepts

Sibling carrier surfaces

Tooling and references

  • UPS Developer Portal (REST + OAuth 2.0)

    Modern UPS REST surface for Shipping, Rating, Tracking, Address Validation, and Time in Transit. Replaces the legacy UPS XML/SOAP web services that were sunset on 2024-06-03.

Sources

Last reviewed: 2026-04-25