{ "opencollection": "1.0.0", "info": { "name": "Address Validation 5103 Waiver AddressValidation-v3 API", "version": "3" }, "request": { "auth": { "type": "apikey", "key": "apikey", "value": "{{apikey}}", "placement": "header" } }, "items": [ { "info": { "name": "AddressValidation-v3", "type": "folder" }, "items": [ { "info": { "name": "Validates and standardizes an address.", "type": "http" }, "http": { "method": "POST", "url": "https://sandbox-api.va.gov/services/address-validation/{version}/validate", "body": { "type": "json", "data": "{}" } }, "docs": "This service will accept an address, standardize it based on country, validate that the address is deliverable, and return the address with any inferred or corrected data. If an address is not found, or if the confidence score is low, it may be useful to try the POST /candidate endpoint that can return multiple possible matches.
Message KeyMessage CodeDescription
zipCode4.Sizesize must be between 0 and 4
Message KeyMessage CodeDescription
zipCode4.Sizesize must be between 0 and 4
addressLine2.Sizesize must be between 0 and 100
addressLine3.Sizesiz" }, { "info": { "name": "Returns the city and state or province associated with a zip code or international postal code. For International addresses, locality lookup is only available for Canadian postal codes", "type": "http" }, "http": { "method": "GET", "url": "https://sandbox-api.va.gov/services/address-validation/{version}/locality", "params": [ { "name": "zipCode5", "value": "22911", "type": "query", "description": "Five-digit postal code assigned by United States Post Office to postal address." }, { "name": "intPostalCode", "value": "M5J 2L2", "type": "query", "description": "Alphanumeric code used by country other than United States for postal addresses." } ] }, "docs": "Returns the city and state or province associated with a zip code or international postal code. For International addresses, locality lookup is only available for Canadian postal codes" } ] } ], "bundled": true }