Navigation
AtData logo

Migrating to AtData’s SafeToSend® API from XVerify

Help Center  ❯  AtData Services  ❯  Email Validation


Why migrate?

AtData’s SafeToSend® service is where the company is adding new functionality and focusing future Product & Engineering efforts. We highly recommend migrating to SafeToSend to take advantage of existing enhancements and future upgrades.

By upgrading to AtData’s SafeToSend Email Verification and Hygiene, you’ll benefit from:

*Please note that Quality Score is included for free in SafeToSend for all AtData subscription customers.

API Response Comparison

Xverify API Output AtData SafeToSend API Output
Accept_all email Valid email with Quality Score
GET https://api.xverify.com/v2/ev?email=jacita%40atdata.com&api_key={API-Key}&type=json&domain={customer_defined_domain} GET https://api.atdata.com/v5/ev?email=jacita%40atdata.com&api_key={API-Key}
{
      “email”: “[email protected]”,
      “status”: “accept_all”,
      “reason”: “unverifiable”,
      “domain_type”: “biz”,
      “correction”: “”,
      “duration”: 0.1151,
      “role_account”: false,
      “error”: “”
}
{
      “safe_to_send”: {
            “domain_type”: “biz”,
            “status_code”: 45,
            “address”: “[email protected]”,
            “quality_score”: 4,
            “status”: “valid”
      }
}

Xverify to SafeToSend: status and code comparison

Xverify returns a status and a text reason. SafeToSend returns a status and a numeric code. Use the tables below to map your existing Xverify handling to SafeToSend.

Important: “valid” is no longer the highest confidence designation in relation to email deliverability. In SafeToSend, “valid” covers catch-all domains (45), syntax-only checks (10, 20) and client exceptions (55). AtData’s highest confidence designation is now “safetosend” (50). You may consider updating any logic that sends to “valid” email addresses.

Status at a glance

Xverify status Xverify reason SafeToSend status SafeToSend code(s)
valid verified safetosend 50
accept_all unverifiable valid 45
risky high_risk, complainer trap 525 and 535, 530 and 540
risky block_by_user invalid 255
invalid invalid_syntax, invalid_domain, invalid_mailbox, mailbox_full invalid 100–215, 310, 325, 400–520
unknown no_result unknown 5, 999
No equivalent — valid, trap valid: 10, 20, 55

Full code reference

NEW marks a code with no direct Xverify equivalent.
Behavior change marks a status that is named or categorized differently than in Xverify.

SafeToSend status Code Description What changes for you
Xverify: valid / verified → SafeToSend: safetosend
safetosend 50 Valid email address. Behavior change. Renamed. Xverify “valid” is now “safetosend.” Update any check for “valid” to “safetosend.”
Xverify: accept_all / unverifiable → SafeToSend: valid (code 45)
valid 45 Domain is a catch-all and does not support validation. Behavior change. Previously accept_all, now reported as “valid.” Use code 45 to identify accept-all email addresses.
No Xverify equivalent → SafeToSend: valid (codes 10, 20, 55)
valid 10 Syntax OK. NEW. Syntax check only. The syntax is correct, the domain and mailbox could not be confirmed.
valid 20 Syntax OK and the domain is valid. NEW. Syntax and domain check. The syntax is correct, the domain can receive mail, but the mailbox could not be confirmed.
valid 55 Address is allowed by client-configured exceptions. NEW. Returned when the address matches an exception you configured
Xverify: invalid / invalid_syntax → SafeToSend: invalid (codes 100–215)
invalid 100 General syntax error. Maps directly to Xverify invalid_syntax. In most cases, AtData will return a code that provides more infomation on the exact issue.
invalid 110 Invalid character in address. NEW. More detail than invalid_syntax.
invalid 115 Invalid domain syntax. NEW. More detail than invalid_syntax.
invalid 120 Invalid username syntax. NEW. More detail than invalid_syntax.
invalid 125 Invalid username syntax for that domain. NEW.
invalid 130 Address is too long. NEW.
invalid 140 Address doesn’t have a username. NEW. More detail than invalid_syntax.
invalid 145 Address doesn’t have a domain. NEW. More detail than invalid_syntax.
invalid 150 Address doesn’t have an @ sign. NEW. More detail than invalid_syntax.
invalid 200 Invalid top-level domain (TLD) in address. NEW.
invalid 210 Address contains an extra space or character. NEW. More detail than invalid_syntax.
invalid 215 Unquoted spaces not allowed in email addresses. NEW. More detail than invalid_syntax.
Xverify: invalid / invalid_domain → SafeToSend: invalid (codes 310, 325)
invalid 310 Domain doesn’t exist. Maps directly to Xverify invalid_domain.
invalid 325 Domain can’t receive email. Maps directly to Xverify invalid_domain.
Xverify: invalid / invalid_mailbox → SafeToSend: invalid (codes 400–520)
invalid 400 Mailbox doesn’t exist. Maps directly to Xverify invalid_mailbox.
invalid 410 The mailbox is full and can’t receive email. Maps directly to Xverify mailbox_full
invalid 420 Mail isn’t accepted for this domain. NEW.
invalid 500 Emails with that username aren’t accepted. NEW.
invalid 505 Emails with that domain aren’t accepted. NEW.
invalid 510 That address isn’t accepted. NEW.
Xverify: risky / block_by_user → SafeToSend: invalid (code 255)
invalid 255 Address is not allowed by client-configured suppressions. Behavior change. Maps to Xverify invalid_mailbox
Xverify: risky / high_risk, complainer → SafeToSend: trap (codes 525–535)
trap 525 Address is a spamtrap, a known complainer or is suppressed. Behavior change. Xverify risky / high_risk is now “trap.”
trap 530 Address has opted out from commercial email. Behavior change. Xverify risky / complainer is now “trap.”
trap 535 Address is on ANA’s “Do Not Email List.” Behavior change. Xverify risky / high_risk is now “trap.”
trap 540 Address belongs to a known or frequent complainer. Behavior change. Xverify risky / complainer is now “trap.”
Xverify: unknown / no_result → SafeToSend: unknown (codes 5, 999)
unknown 5 Timeout. Did not get a response in time. Maps to Xverify no_result.
unknown 999 System error. NEW.
Removed in SafeToSend
— — block_country (Xverify reason) No SafeToSend equivalent.
— — block_affiliate (Xverify reason) No SafeToSend equivalent.
— — fraud (Xverify reason) No SafeToSend equivalent.

Additional Resources

Data Transfer Guides

Contact Information
AtData’s Client Support team is available to assist with your migration.
Email [email protected] for assistance.

Talk with the Email Experts
Let's Talk