API V2
SMTP Validator Endpoint
Validate an email address with format, MX, and SMTP checks.
POST
/v2/smtp-validator
API key
Required.
Parameters
| Name | Required | Description |
|---|---|---|
| Authorization | Yes | Header. Use Bearer YOUR_API_KEY. |
| Yes | Body field. Email address to validate. |
Example Request
POST https://api.iplocation.net/v2/smtp-validator
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"email": "[email protected]"
}
Example Response
{
"valid": 1,
"mx_records": {
"mail.example.com": 10
},
"response_code": "200",
"response_message": "OK"
}