Validate US Address
logistics.shipengine.validateValidates and standardizes US addresses, returning USPS-verified results with corrected spelling, ZIP+4, and validation status to catch errors before shipping.
Instructions
Validate and standardize a US address — returns USPS-verified address with corrected spelling, ZIP+4, and validation status. Catches typos, missing info, and invalid addresses before shipping (ShipEngine)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address_line1 | Yes | Street address (e.g. "1 E 161 St") | |
| address_line2 | No | Apartment, suite, unit (e.g. "Apt 4B") | |
| city | No | City name (e.g. "Bronx") | |
| state | No | State code (e.g. "NY") | |
| postal_code | No | ZIP code (e.g. "10451") | |
| country | No | Country code (default US) | US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |