API V1
SMTP Validator Command
Validate an email address with the retained SMTP validator command.
GET
/?cmd=smtp-validator&key=YOUR_API_KEY&[email protected]
Parameters
| Name | Required | Description |
|---|---|---|
| cmd | Yes | Use smtp-validator. email-validator is also accepted as an alias. |
| key | Yes | Active API key. |
| e | Yes | Email address to validate. The email query parameter is also accepted. |
| format | No | Optional response format: json plain xml jsonp php csv serialized. |
Example Request
https://api.iplocation.net/?cmd=smtp-validator&key=YOUR_API_KEY&[email protected]
Example Response
{
"valid": 1,
"mx_records": {
"mail.example.com": 10
},
"response_code": "200",
"response_message": "OK"
}