mailboxlayer
邮箱地址验证
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 邮件
简介
Mailboxlayer(APILayer 产品)验证邮箱地址——语法、MX/SMTP 检查、一次性检测和风险评分。认证是免费 API 密钥——与其他 APILayer API 一样,无效密钥返回 HTTP 200 且 "success": false(已实测)。
快速开始
验证邮箱(替换 YOUR_KEY):
curl "http://apilayer.net/api/check?access_key=YOUR_KEY&email=test@gmail.com"
{
"success": true,
"email": "test@gmail.com",
"format_valid": true,
"mx_found": true,
"smtp_check": true,
"disposable": false,
"score": 0.9
}
认证方式
- 在 mailboxlayer.com 注册 → 免费 API 密钥(邮件发送)。
- 通过
access_key查询参数携带。 - 无效密钥返回 200 +
"success": false(已实测)——请检查 JSON。
速率限制与注意事项
- 免费层:250 次请求/月;付费档可扩展。
- API 走 http(部分档位 https 付费)——可用时用 https。
- 字段:
format_valid、mx_found、smtp_check、disposable、score(0-1 风险)。 - SMTP 检查是最贵的操作——可能慢或受限流。
常见问题
Mailboxlayer 免费吗? 免费层:250 次/月;更多需要付费。
为什么 200 但 success:false?
APILayer 惯例——请检查响应体的 success 字段。
score 是什么意思? 地址的 0-1 可投递性/风险评分。
邮件 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| AGPC Domain Check Check a domain's SPF, DKIM, DMARC and MX with a graded shareable report | No auth | Yes | Yes | ↗ |
| Atomic Mail Email for AI agents: programmatic inbox creation and send/receive over JMAP | API Key | Yes | Unknown | ↗ |
| Cloudmersive Validate Validate email addresses, phone numbers, VAT numbers and domain names | API Key | Yes | Yes | ↗ |
| Disify Validate and detect disposable and temporary email addresses | No auth | Yes | Yes | ↗ |
| DropMail GraphQL API for creating and managing ephemeral e-mail inboxes | No auth | Yes | Unknown | ↗ |