United States Postal Service
The United States Postal Service (USPS) provides a modern REST API platform at developers.usps.com that gives ecommerce websites, shipping software, and logistics systems access to postal data and services. APIs cover address validation, package tracking, domestic and international shipping labels, pricing, carrier pickup scheduling, location finding, and Informed Delivery campaign management. The legacy Web Tools platform was retired January 25, 2026, with all functionality migrated to the new OAuth 2.0-secured API platform.
APIs
USPS Addresses API
Validates and corrects address information to USPS specifications, eliminating errors and improving package delivery. Supports full address standardization, city and state looku...
USPS Tracking API
Returns tracking status and related details for a given USPS package, including scan events with date, time, and location. Supports single and batch package tracking. Version 3....
USPS Domestic Prices API
Provides postage pricing for domestic USPS shipments based on origin and destination ZIP Codes, weight, dimensions, and mail class. Supports base rate lookups, extra service rat...
USPS Carrier Pickup API
Enables free carrier pickup scheduling for next-day service, Monday through Saturday, excluding federal holidays. Supports creating, retrieving, updating, and canceling pickup r...
USPS International Prices API
Provides pricing for international USPS products based on shipment characteristics including destination country, weight, dimensions, and service class.
USPS Domestic Labels API
Creates domestic shipping labels with barcodes in multiple formats and generates Shipping Services Files. Requires USPS Ship enrollment and Enterprise Payment Account.
USPS International Labels API
Creates international shipping labels and generates required Shipping Services Files for customs compliance.
USPS Locations API
Identifies drop-off facilities and destination entry points for various USPS services. Supports post office locator and drop-off location finder.
USPS Service Standards API
Provides delivery benchmarks showing expected transit times between origin and destination ZIP Codes for USPS mail classes.
USPS Shipping Options API
Returns a comprehensive list of pricing, service standards, and shipping options for USPS products in a single API call, eliminating the need to query multiple APIs separately.
USPS SCAN Forms API
Links multiple domestic and international labels through a single electronic file number, creating Shipment Confirmation Acceptance Notice forms for batch shipping operations.
USPS OAuth API
Industry-standard OAuth 2.0 Client Credentials authentication protecting access to all USPS APIs. Returns Bearer Tokens used in the Authorization header for all USPS API calls.
Collections
USPS Addresses API
OPENUSPS Tracking API
OPENPricing Plans
Rate Limits
FinOps
Features
Secure API access using industry-standard OAuth 2.0 Client Credentials flow with Bearer Token authentication.
All APIs follow RESTful conventions with JSON request and response bodies.
Testing Environment for Mailers (TEM) at apis-tem.usps.com for safe API testing before going to production.
USPS Coding Accuracy Support System (CASS) compliant address validation and standardization.
DPV confirmation codes ensure packages can be delivered to the validated address.
Live package tracking with scan events, timestamps, and location details from USPS systems.
Event-driven subscription APIs for tracking events, adjustments, and disputes delivered via webhooks.
Support for bulk operations including multiple tracking lookups and SCAN Form generation.
Use Cases
Calculate shipping rates, generate labels, and provide package tracking directly within e-commerce checkout flows.
Validate and standardize customer addresses during checkout to reduce failed deliveries and return rates.
Programmatically create domestic and international USPS shipping labels with barcodes for fulfillment operations.
Schedule and manage USPS carrier pickups automatically based on order fulfillment triggers.
Compare USPS service options and pricing to select the most cost-effective shipping method.
Display accurate expected delivery dates to customers using USPS service standards data.
Help customers locate the nearest USPS facility for drop-offs or in-person services.
Enhance customer engagement by adding digital content to mail pieces viewed through Informed Delivery.
Integrations
USPS shipping integration available through Shopify Shipping for label generation and rate calculation.
WooCommerce shipping plugins integrate USPS APIs for rate calculation and label printing.
Adobe Commerce and Magento integrate USPS for shipping rate display and fulfillment.
ShipStation multi-carrier shipping platform integrates USPS APIs for ecommerce fulfillment.
EasyPost shipping API aggregator provides access to USPS services alongside other carriers.
Stamps.com and Pitney Bowes shipping platforms integrate USPS APIs for postage and label printing.