USPS
How to get USPS API credentials and connect to RateTell
USPS Credentials
Get API credentials from USPS to display live USPS shipping rates in your checkout.
What You Need
- U.S.-based business
- Business address (PO Box acceptable)
- Email address
Note: USPS Web Tools is free for qualifying businesses.
Step-by-Step Setup
1. Register for Web Tools
- Go to USPS Web Tools
- Click "Register" under Web Tools APIs
- Select "Get Started" or "Register Now"
2. Complete Application
Fill out the registration form:
- Business Name: Your legal business name
- Contact Information: Your details
- Business Address: Physical or mailing address
- Website URL: Your store URL
- Use Case: "Shipping rate calculation for e-commerce"
Click "Submit"
3. Receive Test Credentials
Within 1-2 business days, USPS will email:
- User ID (your API key)
- Test Server URL
- Documentation links
These are test credentials for development.
4. Add Test Credentials to RateTell
- Log into RateTell dashboard
- Go to Settings → Carriers
- Click "Add Carrier"
- Select "USPS"
- Enter:
- User ID: From USPS email
- Environment: Select "Test"
- Origin ZIP Code: Your shipping location ZIP
- Click "Test Connection"
- Click "Save"
5. Request Production Access
Important: Test credentials don't work in live checkout!
To get production credentials:
- Test Thoroughly: Use test credentials to verify integration
- Email USPS: Send request to Web Tools support
- Email: uspstechnicalsupport@usps.gov
- Subject: "Production API Access Request"
- Include:
- Your User ID
- Business name
- Website URL
- Go-live date (estimate)
- Confirmation you've tested successfully
- Wait for Approval: 3-5 business days
- Receive Production URL: USPS emails production server URL
6. Switch to Production
- Go to Settings → Carriers → USPS → "Edit"
- Change Environment to "Production"
- Update Server URL (from USPS email)
- Click "Test Connection"
- Save
Testing Your Setup
Test Mode
With test credentials:
- Returns simulated rates
- No actual USPS API consumption
- Safe for development
- Must switch to production before launching
Verify Connection
"Test Connection" will:
- Validate User ID format
- Check server connectivity
- Confirm origin ZIP is valid
- Return sample rates
Troubleshooting
No Email Received: Check spam folder or contact USPS at 800-344-7779 after 48 hours.
Invalid User ID: Verify no typos and confirm correct environment (test vs. production).
Production Request Denied: Submit test results, verify website is live, and provide valid business address.
Commercial Rates
If you have Commercial Plus pricing, enable "Use Commercial Rates" in RateTell carrier settings.
Next Steps
Need help? Email support@ratetell.com or call USPS at 800-344-7779