微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📧

三层校验 · 实时 MX 探测 · 防虚假注册

Email check and vaildation · v1.0.0
专业技能 安全 A 级 作者 javainthinking 公开目录收录
958 下载 0 安装 4.1k 收藏 19 浏览

简介

APIPick 邮箱验证器,支持语法检查、MX 记录校验及一次性邮箱识别,适用于用户注册清洗与反欺诈场景。

原始描述

Validate email addresses using the apipick Email Validator API. Performs syntax checking, MX record verification, and disposable/throwaway email detection. U...

通过你的 Agent 添加

安装目录:apipick-email-validation/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/email-check-and-vaildation/
Codex CLI~/.codex/skills/email-check-and-vaildation/
DeepSeek Harness~/.agents/skills/email-check-and-vaildation/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

APIPick Email Validator 是一款轻量级邮箱验证服务,通过单一端点完成三层校验:

  1. 语法验证(syntax_valid):检查邮箱格式是否符合 RFC 5322 规范;
  2. MX 验证(mx_valid):查询域名 DNS 的 MX 记录,确认该域名能否接收邮件;
  3. 一次性邮箱检测(disposable):比对已知临时/匿名邮箱服务商数据库。

使用时需在请求头中携带 x-api-key,请求体仅传入 {"email": "..."}。响应中 valid 字段仅在语法与 MX 均通过时为 true,disposable 为 true 时需警惕虚假注册。每次调用消耗 1 积分,免费额度用完后需在官网充值。

显著优点

  • 三合一验证:单接口覆盖格式、可达性、风险识别,减少开发者的集成成本;
  • 实时性:MX 查询为实时 DNS 探测,非离线静态库,结果更贴近当前网络状态;
  • 规范化输出:返回 normalized 小写邮箱,方便入库前统一格式;
  • 免费额度友好:注册即可获取初始积分,适合 MVP 阶段快速验证。

潜在缺点与局限性

  • 无 SMTP 握手验证:仅查 MX 记录,不实际连接邮件服务器尝试投递,无法检测邮箱是否存在(如 nonexistent@example.com 语法和 MX 都通过,但仍为无效地址);
  • 一次性邮箱库封闭:未公开收录的临时域名可能漏检,更新频率未知;
  • 速率与积分限制:高频场景下需持续购买积分,成本随规模上升;
  • 地域 DNS 差异:MX 查询受本地 DNS 解析影响,极端情况下可能出现误判。

适合人群

  • 需要前置过滤明显无效邮箱的 SaaS 注册流程;
  • 希望拦截一次性邮箱、减少垃圾账号的运营团队;
  • 对验证深度要求不高、追求快速集成的中小开发者。

常规风险

  • API 密钥泄露:x-api-key 一旦外泄,攻击者可盗刷积分,建议配置环境变量并定期轮换;
  • 误判风险:部分企业使用自建邮件网关或小众域名,MX 检测可能因 DNS 配置特殊而被标记为无效;
  • 隐私合规:提交用户邮箱至第三方服务需符合 GDPR/CCPA 等数据出境或处理条款。

技能正文


name: apipick-email-validation description: Validate email addresses using the apipick Email Validator API. Performs syntax checking, MX record verification, and disposable/throwaway email detection. Use when the user wants to verify an email address, check if an email domain exists and can receive mail, detect disposable or temporary emails, or validate email format. Requires an apipick API key (x-api-key). Get a free key at https://www.apipick.com. metadata: openclaw: requires: env: - APIPICK_API_KEY primaryEnv: APIPICK_API_KEY

apipick Email Validator

Validate email addresses with syntax check, MX record lookup, and disposable email detection.

Endpoint

POST https://www.apipick.com/api/check-email

Authentication: x-api-key: YOUR_API_KEY header required. Get a free API key at https://www.apipick.com/dashboard/api-keys

Request

{"email": "user@example.com"}

Response

{
  "success": true,
  "code": 200,
  "message": "Email validation complete",
  "data": {
    "email": "user@example.com",
    "valid": true,
    "syntax_valid": true,
    "mx_valid": true,
    "disposable": false,
    "domain": "example.com",
    "normalized": "user@example.com",
    "reason": null
  },
  "credits_used": 1,
  "remaining_credits": 99
}

Key fields:

  • valid: true only when both syntax_valid AND mx_valid are true
  • disposable: true if the domain is a known throwaway email service
  • reason: explanation when validation fails (null on success)
  • normalized: canonical lowercase form of the email

Error Codes

Code Meaning
400 Invalid request
401 Missing or invalid API key
402 Insufficient credits

Cost: 1 credit per request

Usage Pattern

  1. Use $APIPICK_API_KEY env var as the x-api-key header value; if not set, ask the user for their apipick API key
  2. Make the POST request with the email address
  3. Report the valid status and flag if disposable is true
  4. Show reason when validation fails

See references/api_reference.md for full response field descriptions.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

email-validationmx-checkdisposable-emailapidata-quality

同类 Skill