80trust / 100

Dev Email Validator

by AgentTools in Email & messaging

x402 APIPassing, checked 3 h ago

Validate an email address in two layers: strict RFC-style syntax, then a live DNS MX lookup on the domain to confirm the recipient actually runs mail servers. Catches the typos and fake domains that pure regex misses. Use this when an agent needs to syntax + live MX check — can this address receive mail?.

GET https://agentstoolshub.com/api/v1/dev/email-validator

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
146 ms typical, 146 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 GET "https://agentstoolshub.com/api/v1/dev/email-validator?email=someone%40gmail.com"
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentstoolshub.com%2Fapi%2Fv1%2Fdev%2Femail-validator
const res = await pay("https://agentstoolshub.com/api/v1/dev/email-validator?email=someone%40gmail.com");
console.log(await res.json());

Example input

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

Example output

{
  "result": {
    "answer": "live data — call the API",
    "value": null
  },
  "tool": "email-validator"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402302 ms$0.002
6 h agoPassed402142 ms$0.002
11 h agoPassed402146 ms$0.002