Email Verification Requests & Response Codes
Here is an example of our email verification service API URL:
You would simply replace the highlighted data with the information you want to verify, by plugging in your own personal account’s API key and trusted domain. It is also important to identify if you want your response results to come back in XML or JSON format.
Each Parameter in the Email Validation API Request
- Email (required): This parameter contains the email address that you want to verify.
- Type (required): You can set the type to either JSON or XML.
- APIkey (required): This is where you insert your API key. You must have an account with us to get access to your APIkey.
- Domain (required): This is where you insert your trusted domain. If you make an api call with an unauthorized domain you will get a 503 error unless tests are available.
- Secret Key (optional): You can use the secret key to add new trusted domains via the API, this is mostly used by our reseller clients.
Each Tag in the Email Validation Response
This tag contains the same email address which was entered in the request.
This helps you identify if the email address is in the correct format. If the response is 1 then the email format is good, if the response is 0 then it means the format of the email address is incorrect.
This field contains the username part of the email ID. This is the characters before the @ symbol.
This is the domain name of the email ID, the characters after the @ symbol.
This helps you identify if there was an error with your request. When this tag displays “0” then there is no error. Anything else in this tag will indicate there is a problem with the request.
This tag lets you know if the email address you supplied was either valid of invalid. Valid email addresses are deliverable, and invalid email addresses are not.
We are able to auto correct misspellings of major domain names. If the auto correct feature is enabled in your account then the corrected tag will display true and immediately below that you will see an address tag which will display the corrected email address. IF you have auto-correction enabled, but no corrected occurred then you will see that the corrected tag will display false.
The message tag helps provide more details that help explain the response code.
This tag indicates the total execution time for the request.
This helps you indicate if the email server domain is configured as a catch-all mail server. The results here will display (yes, no, or unknown). Learn more about catch-all domains.
- Response Code 1 – Valid Email Address
- Response Code 2 – Email Address Does Not Exist
- Response Code 3 – Unknown
- Response Code 4 – Fraud List
- Response Code 5 – High-Risk Email Address
- Response Code 6 – Affiliate Is Blocked By Client
- Response Code 7 – Complainer Email Address
- Response Code 8 – Top Level Domain Blocked By Client
- Response Code 9 – Temporary/Disposable Email
- Response Code 10 – Keyword is Blocked By Client
- Response Code 11 – IP address – Country Not Allowed
- Response Code 12 – Block list from Client Settings
- Response Code 400 – Missing required fields
- Response Code 503 – Invalid API Key/Service Not Active
- Response Code 504 – User reach the API Limit