ValidateEmailAddress_v2
The ValidateEmailAddress_v2 service determines whether an email address is valid. It can
fix common typos to return a valid email address. It also identifies problematic email
addresses, including email addresses that:
- Belong to a spamtrap or honeypot
- Contain a disposable or invalid domain
- Contain derogatory words
- Has an email server that is configured to accept all emails at its domain.
It can also identify whether it can find the additional information associated with it, which includes list of all known social profiles of the contact or a list of interests that have been attributed to the contact, along with the level of interest.
Resource URL
JSON endpoint:
https://OnDemandServer/rest/ValidateEmailAddress_v2/results.json
XML endpoint:
https://OnDemandServer/rest/ValidateEmailAddress_v2/results.xml
For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.
Example with JSON Response
The following example requests a JSON response:
https://spectrum.precisely.com/rest/ValidateEmailAddress_v2/results.json?Data.EmailAddress=support@precisely.com
The JSON returned by this request would be:
{
"Output": [
{
"EmailAddress.Input": "support@precisely.co",
"Status": "",
"Status.Code": "",
"Status.Description": "",
"EmailAddress": "support@precisely.com",
"Deliverable": "Y",
"Risky": "N",
"CatchAll": "N",
"NameFound": "N",
"SocialInfoFound": "N",
"SyntaxValid": "Y",
"Safe": "Y",
"EmailCleansed": "Y",
"ResultCode": "VALID_CONFIRMED",
"user_fields": []
}
]
}
Example with XML Response
The following example requests an XML response:
https://spectrum.precisely.com/rest/ValidateEmailAddress_v2/results.xml?Data.EmailAddress=support@precisely.com
The XML returned by this request would be:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xml.ValidateEmailAddress_v2Response xmlns="http://www.pb.com/spectrum/services/ValidateEmailAddress_v2">
<Output>
<Output>
<EmailAddress.Input>support@precisely.co</EmailAddress.Input>
<Status></Status>
<Status.Code></Status.Code>
<Status.Description></Status.Description>
<EmailAddress>support@precisely.com</EmailAddress>
<Deliverable>Y</Deliverable>
<Risky>N</Risky>
<CatchAll>N</CatchAll>
<NameFound>N</NameFound>
<SocialInfoFound>N</SocialInfoFound>
<SyntaxValid>Y</SyntaxValid>
<Safe>Y</Safe>
<EmailCleansed>Y</EmailCleansed>
<ResultCode>VALID_CONFIRMED</ResultCode>
<user_fields/>
</Output>
</Output>
</xml.ValidateEmailAddress_v2Response>