curl --request POST \
--url https://apix.spotzee.com/api/ext/generic/email/email-validation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'email=<string>'import requests
url = "https://apix.spotzee.com/api/ext/generic/email/email-validation"
payload = { "email": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: new URLSearchParams({email: '<string>'})
};
fetch('https://apix.spotzee.com/api/ext/generic/email/email-validation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apix.spotzee.com/api/ext/generic/email/email-validation"
payload := strings.NewReader("email=%3Cstring%3E")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"status": "success",
"data": {
"email": "test@example.com",
"result": "invalid",
"resultcode": 6,
"expanded_result": "dns_error",
"free": false,
"role": true,
"executiontime": 16,
"didyoumean": ""
}
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}Validate email address
Performs comprehensive email validation including syntax check, domain verification, MX record lookup, disposable email detection, and deliverability assessment. Returns risk score and suggestions.
curl --request POST \
--url https://apix.spotzee.com/api/ext/generic/email/email-validation \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'email=<string>'import requests
url = "https://apix.spotzee.com/api/ext/generic/email/email-validation"
payload = { "email": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/x-www-form-urlencoded"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
Authorization: 'Bearer <token>',
'Content-Type': 'application/x-www-form-urlencoded'
},
body: new URLSearchParams({email: '<string>'})
};
fetch('https://apix.spotzee.com/api/ext/generic/email/email-validation', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://apix.spotzee.com/api/ext/generic/email/email-validation"
payload := strings.NewReader("email=%3Cstring%3E")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/x-www-form-urlencoded")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"status": "success",
"data": {
"email": "test@example.com",
"result": "invalid",
"resultcode": 6,
"expanded_result": "dns_error",
"free": false,
"role": true,
"executiontime": 16,
"didyoumean": ""
}
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}{
"status": "error",
"error": "Invalid request parameters"
}Authorizations
Bearer token authentication. Use format: Bearer YOUR_API_KEY
Body
Email address
Response
Successfully validated email address
Indicates successful operation
success Hide child attributes
Hide child attributes
"test@example.com"
Validation result
valid, invalid, catch_all, unknown, disposable, spam_trap "invalid"
Numeric result code (1=valid, 2=catch_all, 3=unknown, 4=invalid, 5=disposable, 6=dns_error, 7=spam_trap)
6
Detailed result explanation
ok, dns_error, smtp_error, mailbox_not_found, syntax_error, typo_fixed, unverifiable_domain "dns_error"
Whether email is from a free email provider
false
Whether email is a role-based address (info@, support@, etc.)
true
Validation execution time in milliseconds
16
Suggested correction for typos
""
Was this page helpful?