360 Secure SkillHub
360 安全技能中心

Email check and vaildation

核心功能:对邮箱地址进行语法校验、MX记录验证,检测是否为临时/一次性邮箱,输出综合有效性及各维度状态。典型场景:验证邮箱格式合规性、确认域名能否接收邮件、识别临时邮箱以过滤无效数据。输入为单个邮箱地址,输出含是否有效、语法/MX合法性、是否临时邮箱等详情,需apipick API密钥,1次请求消耗1积分。

javainthinking
javainthinking
热度 62.39
最近更新 2026-05-11 17:26:48
分类:安全依赖:第三方 API应用场景:API 集成 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add apipick-email-checker
Metadata
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.