latestSwagger 2.02026-08-101561322.2 MB
3e4029d19684
Lookup
Email Lookup
<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Lookup/doEmailLookup" target="_blank">Try in sandbox</a><br>To get more details about an email address or to check whether it is a valid email or not, you can use the Email Lookup command. To upload and check emails in bulk, please use our Web app.
This API call allows you to retrieve additional information about an email address, such as mailbox detection, syntax checks, DNS validation, deliverability status, and many more helpful values (see the table below).
Emails must be checked one by one. You cannot check multiple emails in one request. To upload and check emails in bulk, please use our Web app.
get/api/v2/email-lookups/{email}
Path parameters
emailstring email required
Email address.
Response
Returned when successful.
Example response
{
"address": "john@sample.com",
"deliverability": "undeliverable",
"reason": "No MX host found",
"risk": "high",
"addressType": "corporate",
"suggestion": "john@sample.com",
"emailRole": "admin",
"localPart": "john",
"domainPart": "sample.com",
"exchange": "mx1.textmagic.com",
"preference": 10,
"hasMx": true,
"hasAa": true,
"hasAaaa": true
}