Email deliverability check

$0.002 per call · USDC via x402 · POST /api/email-deliverability

End-to-end email-auth report for a domain: SPF + DMARC + DKIM (probes common selectors automatically) + MX records + score 0–100. Send POST /api/email-deliverability with the required field domain and pay $0.002 per call over x402 or MPP (there is no free tier). It returns a JSON object with domain, score, summary, spf, dmarc and 4 more.

The one call to make when 'why is our mail going to spam?' lands in your inbox.

Category: Network & domains · Tags: email email-auth deliverability spf dmarc dkim mx audit

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
domainstringyesDomain name (also accepts email/url/host) Also accepted as host, hostname, site.
dkimSelectorsarraynoOptional DKIM selectors to probe (overrides default list of 14 common selectors)

Example request

curl -i -X POST https://agent402.tools/api/email-deliverability \
  -H "Content-Type: application/json" \
  -d '{"domain":"google.com"}'

Without payment this returns HTTP 402 Payment Required with the exact price for email-deliverability; any x402 v2 or MPP client pays it and retries.

Example response

{
  "domain": "google.com",
  "score": 90,
  "summary": "good",
  "spf": {
    "hasRecord": true,
    "all": "softfail",
    "valid": true,
    "lookupCount": 1
  },
  "dmarc": {
    "hasRecord": true,
    "policy": "reject",
    "percent": 100,
    "valid": true
  },
  "dkim": {
    "found": [
      {
        "selector": "20221208",
        "bits": 2048,
        "valid": true
      }
    ],
    "probed": [
      "google",
      "selector1",
      "default",
      "20221208"
    ]
  },
  "mx": {
    "count": 5,
    "records": [
      "smtp.google.com"
    ]
  },
  "checks": [
    {
      "check": "spf",
      "status": "pass",
      "detail": "SPF record present, 1 DNS lookup, ~all qualifier"
    },
    {
      "check": "dmarc",
      "status": "pass",
      "detail": "p=reject at 100% - strict enforcement"
    },
    {
      "check": "dkim",
      "status": "pass",
      "detail": "Found DKIM at selector 20221208 (2048-bit RSA)"
    },
    {
      "check": "mx",
      "status": "pass",
      "detail": "5 MX records configured"
    }
  ],
  "queriedAt": "2026-06-19T20:00:00.000Z"
}
FieldTypeAlways presentIn the example
domainstringyesgoogle.com
scorenumberyes90
summarystringyesgood
spfobjectyes4 fields: hasRecord, all, valid, lookupCount
dmarcobjectyes4 fields: hasRecord, policy, percent, valid
dkimobjectyes2 fields: found, probed
mxobjectyes2 fields: count, records
checksarray of objectsyes4 items in the example
queriedAtstringyes2026-06-19T20:00:00.000Z

From an MCP client

catalog.call {
  "slug": "email-deliverability",
  "params": {
    "domain": "google.com"
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for email-deliverability; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/email-deliverability", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "domain": "google.com"
  }),
});

Part of these workflows

Email deliverability check is one step in these 2 skill packs, each sold as a single call:

Related tools

Domain security & deliverability audit (graded)

$0.60 · POST /v1/domain-audit

Hand over a domain and get one graded security & email-deliverability audit: SPF, DMARC, DKIM and MX (why your mail land…

DKIM key lookup

$0.002 · POST /api/dkim-lookup

Fetch and parse a DKIM public-key record at <selector>._domainkey.<domain> (RFC 6376). Returns the parsed key params (al…

DMARC check

$0.001 · POST /api/dmarc-check

Fetch and validate a domain's DMARC policy at _dmarc.<domain> (RFC 7489). Surfaces the enforcement policy (none/quaranti…

SPF check

$0.001 · POST /api/spf-check

Fetch and validate a domain's SPF record (RFC 7208). Parses mechanisms (ip4/ip6/include/a/mx/all), counts DNS lookups ag…

Domain security audit - PRO (attack surface + stack)

$0.85 · POST /v1/domain-audit/pro

The deeper tier: everything in the standard audit plus the attack surface from Certificate Transparency logs (subdomains…

Email validate

$0.001 · POST /api/email-validate

Validate an email address: syntax check plus live MX record lookup on the domain (deliverability signal, not a guarantee…