Surface details
- API name
- USPS APIs (developer.usps.com)
- Authentication
- OAuth 2.0 client_credentials grant with bearer tokens
- Production base URL
- https://api.usps.com/
- Sandbox base URL
- https://api-cat.usps.com/
- Sandbox notes
- Sandbox is the USPS Customer Acceptance Test (CAT) environment, accessed through a separate hostname and separate credentials. Live tracking events are simulated; do not treat sandbox event timing as production-realistic.
- OpenAPI / REST reference
- https://developer.usps.com/apis
Frequently asked questions
Is USPS Web Tools still required for any USPS operations?
USPS has been migrating customers from Web Tools to the modern REST APIs. Treat Web Tools as deprecated; integrators should default to developer.usps.com for all new work and check the USPS portal for the current sunset schedule.
Why does my USPS APIs call fail with an account-not-found error after OAuth succeeds?
OAuth authenticates the integrator. Most USPS APIs operations also require a USPS account-tied identifier (CRID, MID, or permit number) in the request. Both must be valid — a successful token does not by itself authorize a shipping account.
Where are USPS APIs webhooks documented?
Webhooks for tracking are not part of the core developer portal contract. They are delivered through USPS Informed Visibility, which has its own enrollment and integration flow.
Related concepts
Sibling carrier surfaces
Tooling and references
- USPS Developer Portal (USPS APIs)
Modern USPS REST surface for label creation, rate calculation, tracking, and address validation. OAuth 2.0 client_credentials. Replaces USPS Web Tools.
Sources
Last reviewed: 2026-04-25