v1
latestOpenAPI 3.0.12026-07-2481208369.3 KBaddress-validation
Determine if an address is a valid mailing address
post/api/v1/address/validate
Request body
Example request
{
"address": {
"street1": "123 MAIN ST",
"street2": "STE 42",
"city": "ALBUQUERQUE",
"region": "NM",
"state": "NM",
"countryCode": "US",
"postalCode": "87111",
"addressType": "commercial"
},
"includeCandidate": true
}Response
Address validation response
Example response
{
"address": {
"street1": "123 MAIN ST",
"street2": "STE 42",
"city": "ALBUQUERQUE",
"region": "NM",
"state": "NM",
"countryCode": "US",
"postalCode": "87111",
"addressType": "commercial"
},
"addressProperties": {
"poBox": true,
"poBoxType": "PO_BOX",
"militaryAddressType": "APO"
},
"candidate": {
"street1": "123 MAIN ST",
"street2": "STE 42",
"city": "ALBUQUERQUE",
"region": "NM",
"state": "NM",
"countryCode": "US",
"postalCode": "87111",
"addressType": "commercial"
},
"details": [
{
"errorCode": "MISMATCH_REGION_AND_POSTAL",
"errorDescription": "MISMATCH_REGION_AND_POSTAL"
}
]
}