Domain and email verification API for AI agents: DNS, SPF/DMARC, domain age and disposable checks (DomainCheck)
Updated 2026-10-21
Disclosure: DomainCheck is built and operated by the youraitools.co team, and payments go to our own wallet. It is listed on our Built by us page and kept out of the directory rankings.
DomainCheck tells your agent whether a domain or an email address looks real and trustworthy before it acts on it. One call returns DNS records, mail setup (MX, SPF, DMARC, DKIM on common selectors, MTA-STS), registration age and registrar from RDAP, plus disposable, parked and role-address flags and a 0-100 score with a verdict. A domain report costs $0.002 USDC and an email check $0.001 USDC, paid on Base, Polygon, Arbitrum One or Solana over x402, with no account or API key. There are free previews and a free remote MCP server.
- Live API:
https://api.youraitools.co/domaincheck(also athttps://domaincheck.agentgate.workers.dev) - Source code (MIT) · API reference (OpenAPI) · x402 manifest
- Also listed on Agentic.Market (agentic.market,
/v1/domain) and the PayAI's x402 discovery list (both paid routes)
When to use it
- Before following a link, or before trusting a sender or counterparty domain: does it exist, how old is it, is it parked?
- Before you store or email an address a user gave you: is it syntactically valid, disposable, a role address (info@, admin@), and does its domain accept mail?
- Phishing and fraud triage: a domain registered days ago with no DMARC deserves a second look.
Routes
| Route | Price | Returns |
|---|---|---|
GET /v1/domain?domain=<name, url or email> (or POST {"domain"}) |
$0.002 USDC | full domain report: DNS, mail auth and grade, RDAP registration, flags, score, verdict |
GET /v1/email?email=<address> (or POST {"email"}) |
$0.001 USDC | syntax, normalized and canonical forms, disposable, role and free-provider flags, deliverability (MX), domain auth, domain age, score, verdict |
/v1/domain/preview |
free, 10/min per IP | DNS, MX, SPF and DMARC (no RDAP age, DKIM, MTA-STS or score) |
/v1/email/preview |
free, 10/min per IP | syntax, disposable, role and free-provider flags (no DNS, no score) |
POST /mcp (Streamable HTTP, tools check_domain, check_email) |
free, 10 tool calls/min per IP | preview-tier results |
/v1/flags, /v1/stats, /openapi.json, /.well-known/x402, /health |
free | scoring rules, counters, specs |
Per the service's published policy, only HTTP 200 results are charged. Invalid input and lookup timeouts are free.
Try it free
curl -s "https://api.youraitools.co/domaincheck/v1/domain/preview?domain=cloudflare.com"
curl -s "https://api.youraitools.co/domaincheck/v1/email/preview?email=test@mailinator.com"
We ran both on 2026-10-21. The domain preview returned the A, AAAA, NS and MX records, with DNSSEC validated. The email preview flagged test@mailinator.com with disposable: true and the high-severity flag disposable_email_domain.
Remote MCP (preview tier):
{ "mcpServers": { "domaincheck": { "type": "http", "url": "https://api.youraitools.co/domaincheck/mcp" } } }
The x402 payment, verified
An unpaid GET /v1/domain?domain=example.com returns HTTP 402 with a PAYMENT-REQUIRED header. Decoded on 2026-10-21:
- x402 version 2, scheme
exact - networks
eip155:8453(Base),eip155:137(Polygon),eip155:42161(Arbitrum One) and Solana mainnet, at the same amount (rechecked 2026-10-23) - amount
2000(0.002 USDC;/v1/emailasks for1000, 0.001 USDC) - asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913(native USDC on Base; native USDC on each of the other networks too) - payTo
0x3c1A1E01e790Cd326495631B3b38Bd7068F08d6Fon the EVM networks andFH73WbbUe2UyNzfy72MJs5nT3NxyDf9GrqE7kzjL2Jteon Solana (our wallets) - The x402 payment settles on-chain, so you pay no gas. The body also carries x402 v1 terms, Base only (
network: base).
Pay from code
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPaymentFromConfig } from '@x402/fetch';
import { ExactEvmScheme } from '@x402/evm';
import { privateKeyToAccount } from 'viem/accounts';
const pay = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: 'eip155:8453', client: new ExactEvmScheme(privateKeyToAccount(process.env.BUYER_KEY)) }],
});
const r = await (await pay('https://api.youraitools.co/domaincheck/v1/domain?domain=example.com')).json();
if (r.verdict !== 'low_risk') console.log('flags:', r.flags.map((f) => f.id));
Response fields
- Domain:
domain,registrable_domain,exists,verdict(low_risk,medium_risk,high_riskornonexistent),score,flags[](id, severity, penalty, description),dns{a, aaaa, ns, mx, null_mx, dnssec_validated, …},email{accepts_mail, mx_provider, spf, dmarc, dkim, mta_sts, grade},registration{registrar, created, expires, age_days, …}. - Email:
verdict(valid,risky,undeliverableorinvalid),score,normalized,canonical,plus_tag,role,free_provider,disposable,deliverability{…},domain_auth{…},registration{…},flags[],mailbox_checked: false.
Limits, stated honestly
- No SMTP mailbox probing. "valid" means the address and its domain look deliverable, not that the mailbox exists (
mailbox_checkedis always false). - DKIM is only checked on 10 common selectors (google, selector1, selector2, default, k1, s1, s2, dkim, protonmail, fm1).
- Some TLDs have no public RDAP service. .de is one example, and we saw it flagged
rdap_unavailable. Age checks are skipped there. - A young domain is a signal, not proof of fraud.
- Data sources: DNS over HTTPS (Cloudflare 1.1.1.1, Google fallback) and RDAP via the IANA bootstrap registry. The service's published policy says inputs are not stored or logged.
FAQ
Who runs it? The youraitools.co team. Payments go to our own wallet. See the disclosure at the top.
Do I need an API key? No. Either use the free previews or MCP, or pay per call with any x402 client on Base, Polygon, Arbitrum One or Solana.
Can I self-host it? Yes. The source code is MIT.
Related tools: AgentGate verifies who an agent is, WebRead reads a page, and InjectScan checks it's safe to follow.
Want the same x402 paywall and MCP server on your own API? We x402-enable your API in 48 hours →
New to x402, the HTTP 402 payment standard these APIs use? Read what x402 is and how agents pay per call.
Liked this guide? Get new crypto-payable AI tools weekly
One short email a week with the x402 and pay-per-call tools we added and re-verified. No spam, unsubscribe any time.