Validate an Address
Address validation ensures accurate addresses and can lead to reduced shipping costs by preventing address correction surcharges. ShipEngine cross references multiple databases to validate addresses and identify potential deliverability issues.
Address Validation on ShipEngine's Free Plan
If you are on ShipEngine's Free Plan, you must use the Create Label or Get Rate call to access the address validation functionality.
One of the following properities must be specified in the call:
- "validate_address": "validate_and_clean"
- "validate_address": "validate_only"
Example
POST /v1/addresses/validate
For ShipEngine's Advance and above plans, this is a full request you can make to the address verification service. The JSON body can take up to 250 addresses to validate per request.
Example Request
Example Response
The Address Validation Response is provided for every address sent to the Address Validator, in the order it was received.
Address Status Meanings
status | description |
---|---|
verified | Address was successfully verified. |
unverified | Address validation was not validated against the database because pre-validation failed. |
warning | The address was validated, but the address should be double checked. |
error | The address could not be validated with any degree of certainty against the database. |