从 ZeroBounce 迁移到 Emailable

本指南将向您展示如何将 ZeroBounce API 集成迁移至 Emailable。只需更新端点、重命名几个响应字段,其余工作流保持不变即可。

免费试用

包括 250免费学分

如何切换

先从这三项更改开始。具体细节和请求示例如下。

  1. 1 获取 API 密钥

    创建 Emailable 账户并从控制面板生成 API 密钥。在进行连接配置时使用测试密钥;测试请求不会消耗积分。

  2. 2 更新端点

    在一个 GET 请求中发送 email 地址和 API 密钥。无需 IP 地址参数,也不需要为不同的检查设置单独的端点。

  3. 3 映射响应字段

    ZeroBounce 的 status 对应 state,而 sub_status 对应 reason。大多数其他字段一一对应。

更新您的 API 集成

比较请求和响应的格式,然后更新应用程序所使用的字段。

ZeroBounce 请求

curl "https://api.zerobounce.net/v2/validate?email=john.doe@zerobounce.net&api_key=your_api_key&ip_address="

ZeroBounce 响应

{
  "address": "john.doe@zerobounce.net",
  "status": "valid",
  "sub_status": "",
  "free_email": false,
  "catchall_domain": true,
  "did_you_mean": null,
  "account": "johndoe",
  "domain": "zerobounce.net",
  "domain_age_days": "3431",
  "active_in_days": "30",
  "active_first_seen": "2026-02-25",
  "smtp_provider": "g-suite",
  "mx_found": "true",
  "mx_record": "aspmx.l.google.com",
  "firstname": "dan",
  "lastname": "cotet",
  "gender": "male",
  "country": null,
  "region": null,
  "city": null,
  "zipcode": null,
  "processed_at": "2026-06-18 07:05:00.033"
}

Emailable 请求

curl "https://api.emailable.com/v1/verify?email=support@example.com&api_key=your_api_key"

Emailable 响应

{
  "accept_all": false,
  "did_you_mean": null,
  "disposable": false,
  "domain": "example.com",
  "duration": 0.493,
  "email": "support@example.com",
  "first_name": null,
  "free": false,
  "full_name": null,
  "gender": null,
  "last_name": null,
  "mailbox_full": false,
  "mx_record": "mx.example.com",
  "no_reply": false,
  "reason": "accepted_email",
  "role": true,
  "score": 100,
  "smtp_provider": null,
  "state": "deliverable",
  "tag": null,
  "user": "support"
}
查看完整回复

匹配响应

ZeroBounce 返回的结果中,大部分都包含一个对应的 Emailable 字段。请参考这些表格,了解哪些内容发生了变化,哪些内容保持不变。

将状态映射到 Emailable 状态

ZeroBounce 状态 Emailable 状态
valid deliverable
invalid undeliverable
catch-all risky
do_not_mail risky
abuse
spamtrap
unknown unknown

破折号表示没有匹配的“Emailable”状态。请使用“评分”和“风险”标志来决定您的应用程序应如何处理这些地址。

查看所有状态和原因

映射响应字段

ZeroBounce 字段 Emailable 字段
address email
status state
sub_status reason
account user
domain domain
did_you_mean did_you_mean
free_email free
catchall_domain accept_all
smtp_provider smtp_provider
mx_record mx_record
firstname first_name
lastname last_name
gender gender

Emailable 还会返回以下字段,这些字段在ZeroBounce 中没有对应的字段:

score role disposable mailbox_full no_reply tag
查看所有回复字段

切换前请先测试

请先使用测试密钥连接您的集成。Emailable 的测试地址会返回固定结果,因此您可以在正式上线前测试所有状态和属性,而无需消耗积分。

查看所有测试地址
方向相反的箭头

比较 Emailable 和ZeroBounce

看看这两者在准确性、定价、集成和支持方面的对比情况。

查看完整对比
点阵

再比较几个选项

还在犹豫吗?我们针对每款主流email验证工具都发布了同样详细的对比分析。

查看更多对比

加入依靠 Emailable 保护发件人声誉的全球最大公司的行列

免费试用

包括 250免费学分