Verify
intl_address_verification.verify(IntlAddressVerificationVerifyParams**kwargs) -> IntlAddressVerificationVerifyResponse
POST/v1/intl_addver/verifications
Verify and standardize an international address.
- Supports both structured and freeform address inputs.
- Specify
includeDetails=trueto get additional details as per theIntlDetailsschema. - Uses 1 lookup.
Verify
import os
from postgrid import PostGrid
client = PostGrid(
address_verification_api_key=os.environ.get("POSTGRID_ADDRESS_VERIFICATION_API_KEY"), # This is the default and can be omitted
)
response = client.intl_address_verification.verify(
address={},
)
print(response.data){
"status": "success",
"message": "International address verified successfully.",
"data": {
"city": "Scarborough",
"country": "CA",
"details": {
"premise": "31"
},
"formattedAddress": "31 Fl,scarborough On",
"geoData": {
"latitude": "43.761961",
"longitude": "-79.245693",
"geoAccuracy": "A2"
},
"line1": "31 Fl",
"line2": "Scarborough On",
"provinceOrState": "ON",
"postalOrZip": "",
"summary": {
"verificationStatus": "partially_verified",
"postProcessedVerificationMatchLevel": "city",
"preProcessedVerificationMatchLevel": "city",
"parsingStatus": "unable_to_parse",
"lexiconIdentificationMatchLevel": "city",
"contextIdentificationMatchLevel": "premise_or_building",
"postCodeStatus": "postal_code_primary_empty",
"matchScore": 100
}
}
}{
"status": "success",
"message": "International address verified successfully.",
"data": {
"city": "Reilingen",
"country": "DE",
"details": {
"building": "Reilingen Baden Wurtemberg",
"premise": "43"
},
"formattedAddress": "Reilingen Baden Wurtemberg,hockenheimer Str. 43,68799 Reilingen",
"geoData": {
"latitude": "49.297010",
"longitude": "8.571100",
"geoAccuracy": "P4"
},
"line1": "Reilingen Baden Wurtemberg",
"line2": "Hockenheimer Str. 43",
"line3": "68799 Reilingen",
"postalOrZip": "68799",
"provinceOrState": "Baden-Württemberg",
"summary": {
"verificationStatus": "verified",
"postProcessedVerificationMatchLevel": "premise_or_building",
"preProcessedVerificationMatchLevel": "premise_or_building",
"parsingStatus": "unable_to_parse",
"lexiconIdentificationMatchLevel": "premise_or_building",
"contextIdentificationMatchLevel": "premise_or_building",
"postCodeStatus": "postal_code_primary_empty",
"matchScore": 100
}
}
}Returns Examples
{
"status": "success",
"message": "International address verified successfully.",
"data": {
"city": "Scarborough",
"country": "CA",
"details": {
"premise": "31"
},
"formattedAddress": "31 Fl,scarborough On",
"geoData": {
"latitude": "43.761961",
"longitude": "-79.245693",
"geoAccuracy": "A2"
},
"line1": "31 Fl",
"line2": "Scarborough On",
"provinceOrState": "ON",
"postalOrZip": "",
"summary": {
"verificationStatus": "partially_verified",
"postProcessedVerificationMatchLevel": "city",
"preProcessedVerificationMatchLevel": "city",
"parsingStatus": "unable_to_parse",
"lexiconIdentificationMatchLevel": "city",
"contextIdentificationMatchLevel": "premise_or_building",
"postCodeStatus": "postal_code_primary_empty",
"matchScore": 100
}
}
}{
"status": "success",
"message": "International address verified successfully.",
"data": {
"city": "Reilingen",
"country": "DE",
"details": {
"building": "Reilingen Baden Wurtemberg",
"premise": "43"
},
"formattedAddress": "Reilingen Baden Wurtemberg,hockenheimer Str. 43,68799 Reilingen",
"geoData": {
"latitude": "49.297010",
"longitude": "8.571100",
"geoAccuracy": "P4"
},
"line1": "Reilingen Baden Wurtemberg",
"line2": "Hockenheimer Str. 43",
"line3": "68799 Reilingen",
"postalOrZip": "68799",
"provinceOrState": "Baden-Württemberg",
"summary": {
"verificationStatus": "verified",
"postProcessedVerificationMatchLevel": "premise_or_building",
"preProcessedVerificationMatchLevel": "premise_or_building",
"parsingStatus": "unable_to_parse",
"lexiconIdentificationMatchLevel": "premise_or_building",
"contextIdentificationMatchLevel": "premise_or_building",
"postCodeStatus": "postal_code_primary_empty",
"matchScore": 100
}
}
}