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.- When creating a new address object using the
validateoption. - Validating existing Address objects.
Address V2 validation
legacy Address validation
/v2.
Address V2
legacy Address
- A
recommended_address. - A
confidence_resultwith ascoreanddescriptiondescribing the quality of the recommended address. analysisthat includes details about the validation.changed_attributesthat lists which values changed between theoriginal_addressand therecommended_address.
Address V2 response
legacy Address response