Skip to main content
Address validation is a service that tests your address to check if it is valid. By checking for invalid addresses and instantly correcting them to ensure accurate addresses, this helps prevent failed deliveries and address correction surcharges and allows you to protect your bottom line. You can have customers validate addresses through the Addresses API during checkout or you can validate addresses while you are creating labels. The returned results include a validation_result that indicates if the address is valid. If the validation identifies changes needed in order to make your address valid, the API response recommends a new address in recommended_address.

Using address validation

If you are interested in using Shippo’s Address Validation API or have any questions about pricing, please contact our sales team.

Validate an address

To validate an address, follow this example.
cURL
Validate address response

Try address validation

Try our Address Validation API using any example address from the dropdown below. You can find the breakdown of the address validation result, and the raw API response as a JSON object.

Migrate address validation

If you use the legacy Shippo validation, you may choose to update your integration to use the latest Addresses API. Use this guide to understand what has changed and what you need to do to use the latest version. The legacy address validation supported two methods for address validation.
  1. When creating a new address object using the validate option.
  2. Validating existing Address objects.
The latest Address API validation does not support validating addresses using the object ID of an address. The changes are as follows. step 1 icon Address fields are passed as query parameters instead of fields in the body of the request.
Address V2 validation
legacy Address validation
step 2 icon The path must be prefixed with /v2.
Address V2
legacy Address
step 3 icon The returned response includes a richer details about the validated address including the following.
  • A recommended_address.
  • A confidence_result with a score and description describing the quality of the recommended address.
  • analysis that includes details about the validation.
  • changed_attributes that lists which values changed between the original_address and the recommended_address.
Address V2 response
legacy Address response
step 4 icon The returned address is not stored. step 5 icon The following fields have changed.
Last modified on July 16, 2026