Returns JSON with email verification of one address: syntax, domain MX records, disposable, free and role-account flags, SPF and DMARC, and a verdict on whether the domain can receive mail.
Use when you need email validation, to verify email addresses or validate email syntax and MX records before sending or signup.
Do not use for confirming that the mailbox itself exists (no SMTP probe is done) or sending email.
Price: 0.005 USDC per call (x402, eip155:8453). Typical response time: 800 ms (p95).
POST https://x402-gateway.blackwoodstate8.workers.dev/v1/email-check. A request without payment gets 402 Payment Required with the
PAYMENT-REQUIRED header; any x402 client signs an EIP-3009 authorization and retries with
PAYMENT-SIGNATURE (or X-PAYMENT). Invalid input is answered with 400 and not charged.
curl -i -X POST https://x402-gateway.blackwoodstate8.workers.dev/v1/email-check -H 'content-type: application/json' -d '{"email":"postmaster@ietf.org"}'
| Pay to | 0x7f299708D49cbAf60815aC52d0B7d645e158A758 |
|---|---|
| Asset | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 (USDC) |
| Amount | 5000 atomic units (0.005 USDC) |
| Authorization window | 60 s |
Streamable HTTP at https://x402-gateway.blackwoodstate8.workers.dev/mcp, tool blackwood_email_check. Payment goes in
_meta["x402/payment"]; without it the tool returns the payment requirements.
| Field | Type | Meaning |
|---|---|---|
email | string | Email address to check, e.g. jane@example.com |
Example:
{
"email": "postmaster@ietf.org"
}
Real example:
{
"email": "postmaster@ietf.org",
"normalized": "postmaster@ietf.org",
"syntaxValid": true,
"domain": "ietf.org",
"disposable": false,
"freeProvider": false,
"roleAccount": true,
"domainExists": true,
"mx": [
{
"priority": 0,
"host": "mx.ietf.org"
}
],
"acceptsMail": true,
"spf": "v=spf1 ip4:166.84.6.31 ip4:166.84.7.238 ip6:2602:f977:800:f7f6::/64 ip4:166.84.7.34 ip6:2602:f977:800::e276:63ff:fe66:3400 include:_spf.google.com include:spf.hostedrt.com ~all",
"dmarc": "v=DMARC1; p=none; rua=mailto:dmarc_agg@vali.email,mailto:dmarc-report@ietf.org",
"dmarcPolicy": "none",
"verdict": "deliverable_domain",
"reasons": [
"role_account"
],
"smtpChecked": false
}
{
"type": "object",
"properties": {
"email": {
"type": "string"
},
"normalized": {
"type": [
"string",
"null"
]
},
"syntaxValid": {
"type": "boolean"
},
"domain": {
"type": [
"string",
"null"
]
},
"disposable": {
"type": "boolean"
},
"freeProvider": {
"type": "boolean"
},
"roleAccount": {
"type": "boolean"
},
"domainExists": {
"type": [
"boolean",
"null"
]
},
"mx": {
"type": "array",
"items": {
"type": "object",
"properties": {
"priority": {
"type": "number"
},
"host": {
"type": "string"
}
},
"required": [
"priority",
"host"
],
"additionalProperties": false
}
},
"acceptsMail": {
"type": "boolean"
},
"spf": {
"type": [
"string",
"null"
]
},
"dmarc": {
"type": [
"string",
"null"
]
},
"dmarcPolicy": {
"type": [
"string",
"null"
]
},
"verdict": {
"type": "string",
"enum": [
"deliverable_domain",
"risky",
"undeliverable",
"invalid"
]
},
"reasons": {
"type": "array",
"items": {
"type": "string"
}
},
"smtpChecked": {
"type": "boolean"
},
"next": {
"type": "object",
"properties": {
"service": {
"type": "string",
"description": "Service id of the suggested next paid call"
},
"tool": {
"type": "string",
"description": "MCP tool name of the same call"
},
"method": {
"type": "string",
"enum": [
"GET",
"POST"
]
},
"url": {
"type": "string",
"description": "Paid route of the next call"
},
"useWhen": {
"type": "string",
"description": "When the next call is the right one"
},
"sample": {
"type": "string",
"description": "Free fixed sample of the whole family"
}
},
"required": [
"service",
"tool",
"method",
"url",
"useWhen",
"sample"
],
"additionalProperties": false,
"description": "Suggested next paid call in the same family (call it in a loop when the task continues)"
}
},
"required": [
"email",
"normalized",
"syntaxValid",
"domain",
"disposable",
"freeProvider",
"roleAccount",
"domainExists",
"mx",
"acceptsMail",
"spf",
"dmarc",
"dmarcPolicy",
"verdict",
"reasons",
"smtpChecked"
],
"additionalProperties": false
}Free schema and example: GET https://x402-gateway.blackwoodstate8.workers.dev/v1/email-check.
OpenAPI 3.1 · llms.txt · All services