USPS Web Tools API
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://zipfyi.com/iframe/glossary/usps-web-tools-api/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://zipfyi.com/glossary/usps-web-tools-api/
Add a dynamic SVG badge to your README or docs.
[](https://zipfyi.com/glossary/usps-web-tools-api/)
Use the native HTML custom element.
A set of free APIs provided by the United States Postal Service for address validation, ZIP code lookup, rate calculation, and package tracking.
USPS Web Tools is a suite of RESTful APIs available to registered users at no cost. The most commonly used APIs include: Address Validation (standardize and verify mailing addresses), ZIPCode Lookup (find the ZIP code for an address), CityStateLookup (find the city and state for a ZIP code), and Package Tracking.
To use the APIs, developers register for a USPS Web Tools account and receive a User ID. Requests are sent as XML over HTTPS, and responses are returned in XML format. Daily request limits apply and vary by API.
The address validation API is particularly valuable because it queries the official USPS address database (AMS) and returns standardized addresses with ZIP+4 codes appended. This is the same database used internally by USPS sorting equipment.