USPS Web Tools API

Provides XML-based access to USPS postal services including rate calculation, package tracking, address standardization, and label generation for domestic mail.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Other usps shipping postal tracking address-validation rates domestic
⚙ Agent Friendliness
44
/ 100
Can an agent use this?
🔒 Security
64
/ 100
Is it safe for agents?
⚡ Reliability
67
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
65
Error Messages
62
Auth Simplicity
60
Rate Limits
45

🔒 Security

TLS Enforcement
100
Auth Strength
55
Scope Granularity
40
Dep. Hygiene
65
Secret Handling
60

User ID in request body is a weak auth pattern — no expiry, no rotation mechanism documented, no scopes. TLS is enforced. This is a legacy design that predates modern API security practices.

⚡ Reliability

Uptime/SLA
65
Version Stability
70
Breaking Changes
72
Error Recovery
60
AF Security Reliability

Best When

You need low-cost domestic US postage rates or address validation and already have the USPS Web Tools account provisioned.

Avoid When

You are starting a new integration today — the newer USPS REST API or a third-party aggregator like EasyPost is a better long-term investment than the legacy XML Web Tools.

Use Cases

  • Calculate domestic postage rates for various USPS mail classes to display shipping costs at e-commerce checkout
  • Track USPS package status using tracking numbers to update customers on delivery progress
  • Standardize and validate US mailing addresses to reduce undeliverable mail and improve data quality
  • Generate shipping labels for Priority Mail, First-Class, and other USPS service types
  • Look up ZIP code information and city/state associations for address form auto-complete

Not For

  • International shipping label generation (limited international support, use a multi-carrier API instead)
  • High-volume automated label printing where the developer registration and XML overhead add unacceptable friction
  • Any use case requiring a modern REST or JSON interface without XML parsing overhead

Interface

REST API
No
GraphQL
No
gRPC
No
MCP Server
No
SDK
No
Webhooks
No

Authentication

Methods: api_key
OAuth: No Scopes: No

Authentication uses a USPS-issued User ID passed as a parameter in every XML request body. No token exchange or OAuth flow. The User ID is obtained after registering on the Web Tools portal; USPS mails a physical confirmation letter during registration, which can take several days.

Pricing

Model: usage_based
Free tier: Yes
Requires CC: No

Web Tools API access is free. Developer registration requires waiting for a physical confirmation mailing from USPS before production access is granted, which is a significant onboarding friction point.

Agent Metadata

Pagination
none
Idempotent
Partial
Retry Guidance
Not documented

Known Gotchas

  • Registration requires physical mail confirmation from USPS — agents or CI pipelines cannot self-provision test credentials programmatically
  • All requests and responses are XML, not JSON — agents using JSON-native tooling must handle XML serialization and parsing at every step
  • User ID is passed in the XML request body, not in HTTP headers — standard bearer token injection middleware will not work
  • The Web Tools API is being deprecated in favor of a new USPS REST API; new integrations built on Web Tools will require migration
  • Production and test environments share the same base URL but use different User IDs; mixing them causes misleading successes in test that fail in production

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for USPS Web Tools API.

$99

Scores are editorial opinions as of 2026-03-06.

5173
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered