Validate an address
We currently can only validate UK & US addresses.
Request
import requests
data = {
"company": "Stannp",\n "address1": "1000 N west street",\n "address2": "Suite 1200 #1939",\n "city": "Wilmington",\n "zipcode": "19801",\n "country": "US",\n
}
response = requests.post("https://api-us1.stannp.com/v1/addresses/validate?api_key={API_KEY}", data=data)
print(response.text)
Response
{ "success": true, "data": { "is_valid": true } }