81trust / 100

Email Validate

by x402.forgemesh.io in Email & messaging

x402 APIPassing, checked 3 h ago

Check whether an email address is well-formed and its domain can actually receive mail — RFC-style syntax check plus a live MX (falling back to A) lookup — returning the parsed domain, sorted mail hosts, and a deliverable flag. Answers "is this email address real" and "will mail sent here bounce" without probing the mailbox itself. Use for lead cleaning, signup validation, and contact verification. Nothing stored.

POST https://x402.forgemesh.io/email-validate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
133 ms typical, 133 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402.forgemesh.io/email-validate" \
  -H "content-type: application/json" \
  -d '{"email":"[email protected]"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.forgemesh.io%2Femail-validate
const res = await pay("https://x402.forgemesh.io/email-validate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"email":"[email protected]"}),
});
console.log(await res.json());

Example input

{
  "email": "[email protected]"
}

Example output

{
  "deliverable": false,
  "domain": "example.com",
  "email": "[email protected]",
  "interpretation": "domain has no mail service — undeliverable",
  "mx_hosts": [],
  "syntax_valid": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402133 ms$0.003